shared-bulma-theme/layouts/game/meta.html

13 lines
638 B
HTML
Raw Normal View History

2018-10-17 00:33:45 +00:00
{{ if .IsPage }}
{{ $rating := index .Site.Data.compatibility .Params.compatibility }}
<meta property="og:description" content="{{ $rating.name }} - {{ $rating.description }}" />
<meta name="description" content="{{ $rating.name }} - {{ $rating.description }}" />
2018-10-17 00:33:45 +00:00
<meta property="og:type" content="article" />
<meta property="og:image" content="{{ .Site.BaseURL }}/images/game/icons/{{ .File.BaseFileName }}.png" />
<meta property="og:article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}" />
{{ range .Params.tags }}
<meta property="og:article:tag" content="{{ . }}" />
{{ end }}
{{ end }}