Made sure not to show the CC pin's alt text

pull/3/head
gianmarco 2022-10-24 20:42:42 +02:00
parent d5302d89e7
commit 93b9efdeec
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{{ if .Text }}
<figure>
<img src="{{ .Destination | safeURL }}">
<figcaption>{{ .Text }}</figcaption>
{{ if ne .Text "Creative Commons License" }}<figcaption>{{ .Text }}</figcaption>{{ end }}
</figure>
{{ else }}
<img src="{{ .Destination | safeURL }}">