small fixes

This commit is contained in:
teldra 2022-06-15 18:17:51 +02:00
parent aac92ebc8a
commit 586d4d9cd0

View File

@ -108,9 +108,11 @@
<img src="{{ .Permalink }}" alt="Banner Image." />
{{ end }}
{{ else }}
<div class="dev left">
{{ printf "content/%sbanner* missing.." $dir }}
</div>
{{ if eq hugo.Environment "development" }}
<div class="dev left">
{{ printf "content/%sbanner* missing.." $dir }}
</div>
{{ end }}
{{ end }}
{{ partial "snippets/article_metadata" $metas }}
<div class="text">