ADD copyright label to image

This commit is contained in:
Hoernschen 2022-07-08 16:59:07 +02:00
parent 4230ea5c16
commit 1c60871e9a
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462

View file

@ -41,7 +41,10 @@
{{ define "main" }}
{{ with .Params.image }}
<img class="coverimage" src="{{ . }}" />
<img class="coverimage {{ if eq .cover false }} noCover {{ end }}" src="{{ .url }}" />
{{ with .copyright }}
<div class="image-copyright">© {{ . }}</div>
{{ end }}
{{ end }}
<div class="content">
{{ with .Params.tags }}