Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kdevo/osprey-delight.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkdevo <kdevo@users.noreply.github.com>2020-08-27 12:41:06 +0300
committerkdevo <kdevo@users.noreply.github.com>2020-08-27 12:41:06 +0300
commit813e212a73a1068e644b92e6157a4311d03aec9f (patch)
tree88cbbf4ed76ecd23e770a1cd29a47d2343241b28 /layouts
parent5fa131671cbe91a4c89a833775cbb6df6df39abe (diff)
:zap: First attempts with the new js.Build (0.75)
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/body-bottom.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/partials/body-bottom.html b/layouts/partials/body-bottom.html
index 71610b4..ad633f4 100644
--- a/layouts/partials/body-bottom.html
+++ b/layouts/partials/body-bottom.html
@@ -17,6 +17,7 @@
{{- else -}}
<!-- If not using the blog at all, serving the JS inline will reduce the request count and is probably the best option -->
<script>
+ {{/* (resources.Get "js/src/nav.js" | js.Build "nav.js").Content | safeJS */}}
{{ ($scripts | resources.Concat "js/bundle.js" | minify).Content | safeJS }}
handleNavBar({{ .IsHome }})
</script>