citra-web/site/themes/citra-bs-theme/layouts/game/meta.html

11 lines
605 B
HTML
Raw Normal View History

{{- $rating := index .Site.Data.compatibility .Params.compatibility }}
<meta property="og:description" content="{{ $rating.name }} - {{ $rating.description }}" />
<meta name="description" content="{{ $rating.name }} - {{ $rating.description }}" />
<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 }}