🚚 Move files around as per new Hugo layouts directory structure

This commit is contained in:
James Panther
2025-06-22 14:20:15 +10:00
parent ab268a7396
commit 99d5cf8b28
62 changed files with 55 additions and 43 deletions
+8
View File
@@ -0,0 +1,8 @@
{{ $icon := resources.Get (printf "icons/%s.svg" ($.Get 0)) }}
{{ if $icon }}
<span class="icon relative inline-block align-text-bottom">
{{ $icon.Content | safeHTML }}
</span>
{{ else }}
{{ errorf `[CONGO] Shortcode "icon" error in "%s": Resource "%s" not found. Check the path is correct or remove the shortcode.` .Page.Path (printf "icons/%s.svg" ($.Get 0)) }}
{{ end }}