diff --git a/static/js/main.js b/assets/js/main.js similarity index 100% rename from static/js/main.js rename to assets/js/main.js diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 632b65b..808ec18 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -19,11 +19,13 @@ {{ end }} - {{ with resources.Get "css/site.css" }} + {{ with resources.Get "css/site.css" | fingerprint }} {{ end }} {{ if or .IsHome (and .IsPage (eq .Section "studies") .Params.study.toc) }} - + {{ with resources.Get "js/main.js" | fingerprint }} + + {{ end }} {{ end }}