mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -06:00
Use Hugo resources system for feather-sprite.svg
This commit is contained in:
parent
0238423f1e
commit
919fcfe7cc
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 53 KiB |
@ -1,3 +1,4 @@
|
||||
{{ $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 "/feather-sprite.svg#%s" . | relURL }}" />
|
||||
<use href="{{ printf "%s#%s" $sprites.Permalink . | relURL }}" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 272 B |
Loading…
Reference in New Issue
Block a user