Merge pull request #101 from zjedi/master
external links - extlink shortcode allow opening links in new browser tab
This commit is contained in:
commit
8c88d93bfa
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