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