summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/icon.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/icon.html')
-rw-r--r--layouts/shortcodes/icon.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/shortcodes/icon.html b/layouts/shortcodes/icon.html
new file mode 100644
index 0000000..a61fac1
--- /dev/null
+++ b/layouts/shortcodes/icon.html
@@ -0,0 +1,4 @@
+<a href="{{ .Get "link" }}" target="_blank" rel="noopener noreferrer">
+ <img src="{{ .Get "src" }}" alt="{{ .Get "alt" }}" style="width: 30px; height: 30px; font-size: 0; box-shadow: none; display: inline; " />
+</a>
+