Albirew/nyaa-pantsu
Albirew
/
nyaa-pantsu
Archivé
1
0
Bifurcation 0

Merge pull request #952 from NyaaPantsu/fix-mascot-404

Fix mascot 404
Cette révision appartient à :
akuma06 2017-06-06 23:24:08 +02:00 révisé par GitHub
révision dfe9bf5308
2 fichiers modifiés avec 3 ajouts et 1 suppressions

Voir le fichier

@ -5,3 +5,4 @@
<img src="/img/404.png" />
</div>
{{end}}
{{define "mascot"}}<br>{{end}}

Voir le fichier

@ -68,7 +68,7 @@
<div class="content container center">
{{block "content" .}}{{call $.T "nothing_here"}}{{end}}
</div>
{{ block "mascot" .}}
{{if ne .Mascot "hide"}}
<div id="mascot" class="hide-xs{{if ne .MascotURL ""}} custom-mascot{{end}}" onclick="playVoice();" {{if ne .MascotURL ""}}style="background-image: url('{{.MascotURL}}');"{{end}}></div>
{{ if ne .MascotURL "" }}
@ -83,6 +83,7 @@
{{end}}
{{end}}
{{end}}
{{end}}
<div class="pagination">
{{ genNav .Navigation .URL 15 }}
</div>