forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
3d60a01691
commit
fd28b22d19
|
@ -120,9 +120,9 @@
|
|||
{{ if not .IsHome }}<h1 class="{{ $title_class }}">{{ $title }}</h1> {{ end }}
|
||||
{{ if eq hugo.Environment "development" }}
|
||||
{{ $str1 := printf "assets/images/banner/%s* missing.." $what }}
|
||||
{{ $str2 := printf "content//banner* missing.." }}
|
||||
{{ $str2 := "" }}
|
||||
{{ with .File }}
|
||||
{{ $str2 = printf "content/%s/banner* missing.." .Dir }}
|
||||
{{ $str2 = printf "content/%sbanner* missing.." .Dir }}
|
||||
{{ end }}
|
||||
<p>
|
||||
{{ if eq .Params.banner false }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user