update layouts

This commit is contained in:
Kovasky Buezo
2025-08-23 23:04:17 -02:30
parent 97c45e37f6
commit 8218ce4caa
22 changed files with 323 additions and 225 deletions
+6
View File
@@ -0,0 +1,6 @@
{{ $icon := .icon }}
{{ $class := .class | default "" }}
{{ $svg := printf "icons/%s.svg" $icon | resources.Get }}
{{ if $svg }}
<span class="icon {{ $class }}">{{ $svg.Content | safeHTML }}</span>
{{ end }}