small fixes
This commit is contained in:
parent
5fc91a1191
commit
076b8f82cb
|
@ -38,7 +38,7 @@
|
|||
{{ with .File }}
|
||||
{{ $slug = anchorize .ContentBaseName }}
|
||||
{{ 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*" }}
|
||||
{{ $img = .Resources.GetMatch "banner*" }}
|
||||
{{ end }}
|
||||
|
@ -83,7 +83,7 @@
|
|||
{{ if not .IsHome }}<h1 class="{{ $title_class }}">{{ $title }}</h1> {{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ else }}2
|
||||
{{ else }}
|
||||
<div class="banner b altbg">
|
||||
{{ if eq hugo.Environment "development" }}
|
||||
{{ if eq .Params.banner false }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user