forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
2f5a73768b
commit
595245d1c9
|
@ -54,7 +54,6 @@
|
|||
{{ with .Title}} title="{{ . }}"{{ end }}
|
||||
width={{ $image.Width }}
|
||||
height="{{ $image.Height }}" />
|
||||
<div>{{ . }}</div>
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -67,7 +67,6 @@
|
|||
{{ $b := true }}
|
||||
{{ if or (lt (int .Width) $good_w) (gt (int .Width) $good_w) (lt (int .Height) $good_h) (gt (int .Height) $good_h) }}
|
||||
<div class="dev left" style="margin: 1rem;">
|
||||
Banner not shown, because:<br>
|
||||
{{ if lt (int .Width) $good_w }}
|
||||
{{ $b = false }}
|
||||
{{ if eq hugo.Environment "development" }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user