extlink.html shortcode allow opening links in new browser tab
This commit is contained in:
parent
1d92c6b79b
commit
71a24464c0
1 changed files with 1 additions and 0 deletions
1
layouts/shortcodes/extlink.html
Normal file
1
layouts/shortcodes/extlink.html
Normal file
|
|
@ -0,0 +1 @@
|
|||
{{ with .Get "href" }}<a href="{{ . }}" target="_blank">{{ end }}{{ with .Get "text" }}{{ . }}</a>{{ end }}
|
||||
Loading…
Add table
Reference in a new issue