1
1
Fork 0
website/themes/meins/layouts/partials/icon.html

12 Zeilen
249 B
HTML

<!--
Icon shortcut
Params:
icon
Example: {{/*
{{% icon "icon" %}}
*/}}
-->
{{ $icon := resources.Get "img/symbols.svg" | fingerprint }}
<svg class="icon" viewBox="0 0 100 100">
<use xlink:href="{{ $icon.RelPermalink }}#{{ . }}" />
</svg>