summaryrefslogtreecommitdiff
path: root/layouts/_shortcodes
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_shortcodes')
-rw-r--r--layouts/_shortcodes/newtab.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_shortcodes/newtab.html b/layouts/_shortcodes/newtab.html
new file mode 100644
index 0000000..b06fb2d
--- /dev/null
+++ b/layouts/_shortcodes/newtab.html
@@ -0,0 +1,3 @@
+<a href="{{ .Get "href" }}" target="_blank" rel="noopener noreferrer">
+ {{ .Inner }}
+</a>