From 425293f1b74b572719cd795a72d8d29772eb47cc Mon Sep 17 00:00:00 2001 From: "P. Ottlinger" Date: Wed, 29 Mar 2023 21:48:13 +0200 Subject: [PATCH] Add icons to external links --- layouts/shortcodes/extlink.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/extlink.html b/layouts/shortcodes/extlink.html index 26c8d00..71dca69 100644 --- a/layouts/shortcodes/extlink.html +++ b/layouts/shortcodes/extlink.html @@ -1 +1 @@ -{{ with .Get "href" }}{{ end }}{{ with .Get "text" }}{{ . }}{{ end }} \ No newline at end of file +{{ with .Get "href" }}{{ end }}{{ with .Get "icon" }} {{ end }}{{ with .Get "text" }}{{ . }}{{ end }}