diff --git a/static/css/markdown.css b/assets/css/markdown.css similarity index 100% rename from static/css/markdown.css rename to assets/css/markdown.css diff --git a/static/css/style.css b/assets/css/style.css similarity index 100% rename from static/css/style.css rename to assets/css/style.css diff --git a/static/css/syntax-highlight.css b/assets/css/syntax-highlight.css similarity index 100% rename from static/css/syntax-highlight.css rename to assets/css/syntax-highlight.css diff --git a/layouts/_default/list.html b/layouts/_default/list.html index ccf01dc..540d2b8 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -24,6 +24,6 @@ {{ $mark := resources.Get "js/jquery.mark.es6.min.js" }} {{ $lunr := resources.Get "js/lunr.js" }} {{ $search := resources.Get "js/search.js" }} - {{ $js := slice $jquery $mark $lunr $search | resources.Concat "js/bundle.js" | resources.Minify | resources.Fingerprint }} + {{ $js := slice $jquery $mark $lunr $search | resources.Concat "bundle.js" | resources.Minify | resources.Fingerprint }} {{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index b2782c3..81d5292 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -13,9 +13,11 @@ - - - + {{ $style := resources.Get "css/style.css" }} + {{ $markdown := resources.Get "css/markdown.css" }} + {{ $syntaxHighlight := resources.Get "css/syntax-highlight.css" }} + {{ $css := slice $style $markdown $syntaxHighlight | resources.Concat "style.css" | resources.Minify | resources.Fingerprint }} +