bobatheme/layouts/partials/icon.html

5 lines
272 B
HTML

{{ $sprites := resources.Get "icon/feather-sprite.svg" | fingerprint "sha256" }}
<svg class="icon" fill="none" stroke="lightgray" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<use href="{{ printf "%s#%s" $sprites.Permalink . | relURL }}" />
</svg>