Add method for creating links which open in new tabs.
This commit is contained in:
1 parent
419e8e3383
commit
8b039b54d1
1 file changed
+4
@@ -0,0 +1,4 @@
|
||||
{{ $text := .Get "text" | default (.Get 0)
|
||||
}}{{ $url := .Get "url" | default (.Get 1)
|
||||
}}
|
||||
<a href="{{ $url }}" target="_blank" rel="noopener noreferrer">{{ $text }}</a>
|
||||
Reference in new issue
Block a user