forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
5fc91a1191
commit
076b8f82cb
|
@ -38,7 +38,7 @@
|
||||||
{{ with .File }}
|
{{ with .File }}
|
||||||
{{ $slug = anchorize .ContentBaseName }}
|
{{ $slug = anchorize .ContentBaseName }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if or (and $img (ne .Params.banner false)) (.Resources.ByType "image") }}1
|
{{ if or (and $img (ne .Params.banner false)) (.Resources.ByType "image") }}
|
||||||
{{ if .Resources.Match "banner*" }}
|
{{ if .Resources.Match "banner*" }}
|
||||||
{{ $img = .Resources.GetMatch "banner*" }}
|
{{ $img = .Resources.GetMatch "banner*" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -83,7 +83,7 @@
|
||||||
{{ if not .IsHome }}<h1 class="{{ $title_class }}">{{ $title }}</h1> {{ end }}
|
{{ if not .IsHome }}<h1 class="{{ $title_class }}">{{ $title }}</h1> {{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ else }}2
|
{{ else }}
|
||||||
<div class="banner b altbg">
|
<div class="banner b altbg">
|
||||||
{{ if eq hugo.Environment "development" }}
|
{{ if eq hugo.Environment "development" }}
|
||||||
{{ if eq .Params.banner false }}
|
{{ if eq .Params.banner false }}
|
||||||
|
|
Loading…
Reference in New Issue