From 919fcfe7cc2a5b8c2e3e58833e06e08fb63d0f00 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Wed, 6 Oct 2021 09:41:38 -0500 Subject: [PATCH] Use Hugo resources system for feather-sprite.svg --- {static => assets/icon}/feather-sprite.svg | 0 layouts/partials/icon.html | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) rename {static => assets/icon}/feather-sprite.svg (100%) diff --git a/static/feather-sprite.svg b/assets/icon/feather-sprite.svg similarity index 100% rename from static/feather-sprite.svg rename to assets/icon/feather-sprite.svg diff --git a/layouts/partials/icon.html b/layouts/partials/icon.html index 958bf89..bc93ead 100644 --- a/layouts/partials/icon.html +++ b/layouts/partials/icon.html @@ -1,3 +1,4 @@ +{{ $sprites := resources.Get "icon/feather-sprite.svg" | fingerprint "sha256" }} - +