extlink.html shortcode allow opening links in new browser tab

This commit is contained in:
Zdenek Kedaj 2022-10-01 23:43:09 +02:00
parent 1d92c6b79b
commit 71a24464c0

View file

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