From 71a24464c03bb66cf74cf890153c5d28a260acec Mon Sep 17 00:00:00 2001 From: Zdenek Kedaj Date: Sat, 1 Oct 2022 23:43:09 +0200 Subject: [PATCH] extlink.html shortcode allow opening links in new browser tab --- layouts/shortcodes/extlink.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 layouts/shortcodes/extlink.html diff --git a/layouts/shortcodes/extlink.html b/layouts/shortcodes/extlink.html new file mode 100644 index 0000000..26c8d00 --- /dev/null +++ b/layouts/shortcodes/extlink.html @@ -0,0 +1 @@ +{{ with .Get "href" }}{{ end }}{{ with .Get "text" }}{{ . }}{{ end }} \ No newline at end of file