6
0
Fork 0

Ondersteuning voor title om hint te geven waarvoor icoon is of waar link naartoe gaat

This commit is contained in:
Michael Boelen 2023-05-23 13:46:07 +02:00
parent 5bedaaed71
commit 07e474ac07

View file

@ -1 +1 @@
<img{{ if .class }} class="{{ .class }}"{{ end }} src="/afbeeldingen/iconen/{{ .icon }}.svg" height="{{ .iconsize | default 20 }}" width="{{ .iconsize | default 20 }}" alt="{{ .icon | default .Site.Params.textNoTitle }}">
<img{{ if .class }} class="{{ .class }}"{{ end }} src="/afbeeldingen/iconen/{{ .icon }}.svg" height="{{ .iconsize | default 20 }}" width="{{ .iconsize | default 20 }}" alt="{{ .icon | default .Site.Params.textNoTitle }}"{{ with .title }} title="{{ . }}"{{ end }}>