summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/icon.html
diff options
context:
space:
mode:
authorBrandon <brandon@btkoch.xyz>2024-10-26 19:51:38 -0400
committerBrandon <brandon@btkoch.xyz>2024-10-26 19:51:38 -0400
commitcd0279d2787bbf265e12e309b8a61489c727bb2a (patch)
tree929cb425266bb2224665c1c989bffebe2d172f4f /layouts/shortcodes/icon.html
create repo
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>
+