citra-emu
/
citra-web
Archived
1
0
Fork 0

Corrected build errors, modified metadata icon for games to use icon instead of boxart.

This commit is contained in:
chris062689 2017-06-04 16:06:41 -04:00
parent 3e6d2218db
commit a644cc899e
2 changed files with 3 additions and 2 deletions

View File

@ -23,6 +23,7 @@
<meta property="og:title" content="{{ if ne .URL "/" }} {{ .Title }} &middot; {{ end }} {{ .Site.Title }}" />
{{ if (eq .Section "game") }}
{{ $rating := index .Site.Data.compatibility ( string .Params.compatibility | default "0" ) }}
<meta property="og:description" content="{{ $rating.name }} - {{ $rating.description }}" />
<meta name="description" content="{{ $rating.name }} - {{ $rating.description }}">
{{ else }}
@ -38,7 +39,7 @@
{{ if (eq .Section "entry") }}
<meta property="og:image" content="{{ .Site.BaseURL }}images/banners/{{ .Params.Banner | default (print .File.BaseFileName ".png") }}" />
{{ else if (eq .Section "game") }}
<meta property="og:image" content="{{ .Site.BaseURL }}images/game/boxart/{{ .Params.Banner | default (print .File.BaseFileName ".png") }}" />
<meta property="og:image" content="{{ .Site.BaseURL }}images/game/icons/{{ .File.BaseFileName }}.png" />
{{ end }}
<meta property="og:article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}" />
     {{ range .Params.tags }}

View File

@ -41,7 +41,7 @@
</tr>
<tr>
<td>Game Icon</td>
<td><img class="img-responsive" src="{{ .Site.BaseURL }}images/game/icons/{{ default (print .File.BaseFileName ".png") }}" /></td>
<td><img class="img-responsive" src="{{ .Site.BaseURL }}images/game/icons/{{ .File.BaseFileName }}.png" /></td>
</tr>
<tr>
<td>Title IDs</td>