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

github.com/damiencaselli/hugo-journal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/bottom.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/bottom.html b/layouts/partials/bottom.html
index bc84996..b7fc028 100644
--- a/layouts/partials/bottom.html
+++ b/layouts/partials/bottom.html
@@ -30,8 +30,10 @@
</footer>
</div>
+ {{ if not .IsHome -}}
<script src="{{ "js/highlight.pack.js" | relURL }}"></script>
<script>hljs.initHighlightingOnLoad();</script>
+ {{- end }}
</body>
</html>