From 1fcf18dd755d9fe7ccacec299b3509f0f09a3ae7 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Tue, 28 Sep 2021 20:46:25 -0500 Subject: [PATCH] Use assets/ instead of static/ --- .../css/bobatheme.css => assets/css/bobastyle.css | 0 {static => assets}/css/starwars.css | 0 {static => assets}/img/stars.png | Bin layouts/partials/head.html | 3 ++- 4 files changed, 2 insertions(+), 1 deletion(-) rename static/css/bobatheme.css => assets/css/bobastyle.css (100%) rename {static => assets}/css/starwars.css (100%) rename {static => assets}/img/stars.png (100%) diff --git a/static/css/bobatheme.css b/assets/css/bobastyle.css similarity index 100% rename from static/css/bobatheme.css rename to assets/css/bobastyle.css diff --git a/static/css/starwars.css b/assets/css/starwars.css similarity index 100% rename from static/css/starwars.css rename to assets/css/starwars.css diff --git a/static/img/stars.png b/assets/img/stars.png similarity index 100% rename from static/img/stars.png rename to assets/img/stars.png diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 140165b..4197e82 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -2,7 +2,8 @@ - + {{ $bobastyle := resources.Get "css/bobastyle.css" | fingerprint "sha256" }} + {{ with .Site.Params.faviconICO }}