summaryrefslogtreecommitdiff
path: root/themes/blowfish/layouts/partials/icon.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/blowfish/layouts/partials/icon.html')
-rw-r--r--themes/blowfish/layouts/partials/icon.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/blowfish/layouts/partials/icon.html b/themes/blowfish/layouts/partials/icon.html
new file mode 100644
index 0000000..150dc92
--- /dev/null
+++ b/themes/blowfish/layouts/partials/icon.html
@@ -0,0 +1,6 @@
+{{ $icon := resources.Get (print "icons/" . ".svg") }}
+{{ if $icon }}
+ <span class="relative block icon">
+ {{ $icon.Content | safeHTML }}
+ </span>
+{{ end }}