mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-22 08:35:38 +01:00
Updated GameDB theme.
This commit is contained in:
parent
b727987180
commit
e7d4e9eb67
@ -3,7 +3,7 @@
|
|||||||
<div class="section pb-xs">
|
<div class="section pb-xs">
|
||||||
<h1 class="title">Game Compatibility List</h1>
|
<h1 class="title">Game Compatibility List</h1>
|
||||||
<p class="content">
|
<p class="content">
|
||||||
The Citra Emulator compatibility list contains all the games we tested, sorted by how well they work on the emulator.
|
The compatibility list contains all the games we tested, sorted by how well they work on the emulator.
|
||||||
</p>
|
</p>
|
||||||
<table class="table is-fullwidth">
|
<table class="table is-fullwidth">
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -44,7 +44,7 @@
|
|||||||
<span>{{ .Params.title }} {{ $type.name }} {{ $rating.name }} {{ dateFormat "January 2, 2006" .Params.testcase_date }}</span>
|
<span>{{ .Params.title }} {{ $type.name }} {{ $rating.name }} {{ dateFormat "January 2, 2006" .Params.testcase_date }}</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<img src="{{ .Site.BaseURL }}/images/game/icons/{{ .File.BaseFileName }}.png" />
|
<img src="{{ .Site.BaseURL }}/images/game/icons/{{ .File.BaseFileName }}.png" style="width: 48px; height: 48px;" />
|
||||||
</td>
|
</td>
|
||||||
<td data-title="{{ strings.TrimPrefix "The " .Params.title }}">
|
<td data-title="{{ strings.TrimPrefix "The " .Params.title }}">
|
||||||
<a href="{{ .Permalink }}">{{ .Params.title }}</a>
|
<a href="{{ .Permalink }}">{{ .Params.title }}</a>
|
||||||
@ -61,7 +61,6 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ define "scripts" }}
|
{{ define "scripts" }}
|
||||||
@ -76,21 +75,21 @@
|
|||||||
xAxis: { categories: [''] },
|
xAxis: { categories: [''] },
|
||||||
yAxis: { min: 0, max: {{ len .Data.Pages }}, title: { text: '' } },
|
yAxis: { min: 0, max: {{ len .Data.Pages }}, title: { text: '' } },
|
||||||
legend: { enabled: false },
|
legend: { enabled: false },
|
||||||
plotOptions: { series: {
|
plotOptions: {
|
||||||
|
series: {
|
||||||
stacking: 'normal',
|
stacking: 'normal',
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
events: {
|
events: {
|
||||||
click: null
|
click: null
|
||||||
}
|
}
|
||||||
} },
|
}
|
||||||
|
},
|
||||||
series: [
|
series: [
|
||||||
{{- $dataPages := .Data.Pages }}
|
{{- $dataPages := .Data.Pages }}
|
||||||
{{- range.Site.Data.compatibility }}
|
{{- range.Site.Data.compatibility }}
|
||||||
{{- $dataPagesFiltered := where $dataPages ".Params.compatibility".key }}
|
{{- $dataPagesFiltered := where $dataPages ".Params.compatibility".key }}
|
||||||
{ "name": "{{ .name }}", "data": [{{ len $dataPagesFiltered }}] },
|
{ "name": "{{ .name }}", "data": [{{ len $dataPagesFiltered }}] },
|
||||||
{{- end }}
|
{{- end }}]});
|
||||||
]
|
|
||||||
});
|
|
||||||
}, false);
|
}, false);
|
||||||
</script>
|
</script>
|
||||||
{{ end }}
|
{{ end }}
|
@ -1,10 +1,12 @@
|
|||||||
{{- $rating := index .Site.Data.compatibility .Params.compatibility }}
|
{{ if .IsPage }}
|
||||||
|
{{ $rating := index .Site.Data.compatibility .Params.compatibility }}
|
||||||
<meta property="og:description" content="{{ $rating.name }} - {{ $rating.description }}" />
|
<meta property="og:description" content="{{ $rating.name }} - {{ $rating.description }}" />
|
||||||
<meta name="description" content="{{ $rating.name }} - {{ $rating.description }}" />
|
<meta name="description" content="{{ $rating.name }} - {{ $rating.description }}" />
|
||||||
|
|
||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<meta property="og:image" content="{{ .Site.BaseURL }}/images/game/icons/{{ .File.BaseFileName }}.png" />
|
<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 }}" />
|
<meta property="og:article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}" />
|
||||||
{{- range .Params.tags }}
|
{{ range .Params.tags }}
|
||||||
<meta property="og:article:tag" content="{{ . }}" />
|
<meta property="og:article:tag" content="{{ . }}" />
|
||||||
{{- end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user