Links mit Bild eingebaut

This commit is contained in:
edi 2024-01-23 21:53:35 +01:00
parent 67e6b821d9
commit 1f18753b7c

View file

@ -1 +1,3 @@
<a href='{{ .Get "href" }}' target=_blank alt="Öffnet im neuen Fenster">{{ .Get "name" }}</a>&nearr; {{ $height := .Get "height" | default "22px" }}
<a href='{{ .Get "href" }}' target=_blank alt="Öffnet im neuen Fenster">{{ with .Get "img" }}<img class="icon" src="/icons/{{ . }}.svg" height="{{ $height }}">{{ end }}{{ with .Get "name" }}{{ . }}{{ end }}</a>{{ if .Get "name" }}&nearr;{{ end }}