Add icons to external links

This commit is contained in:
P. Ottlinger 2023-03-29 21:48:13 +02:00 committed by GitHub
parent e586b15fed
commit 425293f1b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1 +1 @@
{{ with .Get "href" }}<a href="{{ . }}" target="_blank">{{ end }}{{ with .Get "text" }}{{ . }}</a>{{ end }} {{ with .Get "href" }}<a href="{{ . }}" target="_blank">{{ end }}{{ with .Get "icon" }}<i class="{{ . }}"></i> {{ end }}{{ with .Get "text" }}{{ . }}</a>{{ end }}