mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-22 09:05:40 +01:00
Updated wiki hyperlink for override.
This commit is contained in:
parent
4f18d0c1e9
commit
12c0adb5aa
@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ $gameId := .File.BaseFileName }}
|
{{ $gameId := .File.BaseFileName }}
|
||||||
|
{{ $wikiId := .Params.wiki_override | default $gameId }}
|
||||||
{{ $rating := index .Site.Data.compatibility .Params.compatibility }}
|
{{ $rating := index .Site.Data.compatibility .Params.compatibility }}
|
||||||
<section class="section content pt-lg">
|
<section class="section content pt-lg">
|
||||||
{{- if eq .Params.incomplete true }}
|
{{- if eq .Params.incomplete true }}
|
||||||
@ -51,11 +52,11 @@
|
|||||||
<div class="message-body">
|
<div class="message-body">
|
||||||
{{ if .Content }}
|
{{ if .Content }}
|
||||||
<p>The below game entry is based on user submitted content.</p>
|
<p>The below game entry is based on user submitted content.</p>
|
||||||
<p>See a mistake? Want to contribute? <a href="{{ .Site.Params.GithubGamesWikiURL }}/wiki/{{ .File.BaseFileName }}/_edit/">Edit
|
<p>See a mistake? Want to contribute? <a href="{{ .Site.Params.GithubGamesWikiURL }}/wiki/{{ $wikiId }}/_edit/">Edit
|
||||||
this article on Github</a></p>
|
this article on Github</a></p>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<p>The below game entry is based on user submitted content.</p>
|
<p>The below game entry is based on user submitted content.</p>
|
||||||
<p>See a mistake? Want to contribute? <a href="{{ .Site.Params.GithubGamesWikiURL }}/wiki/{{ .File.BaseFileName }}/">Edit
|
<p>See a mistake? Want to contribute? <a href="{{ .Site.Params.GithubGamesWikiURL }}/wiki/{{ $wikiId }}/">Edit
|
||||||
this article on Github</a></p>
|
this article on Github</a></p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user