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:
authorDamien Caselli <damien.caselli@gmail.com>2017-07-26 20:20:06 +0300
committerDamien Caselli <damien.caselli@gmail.com>2017-07-26 20:20:06 +0300
commite0b846a1414f3c5fd9bf2b07eaecf72632e5072a (patch)
tree874349f87d5cce44b72d3247ccaefb36e4f9c829
parent7447a42f73085542c88f53f0701a4d5f371e2965 (diff)
Use relURL for highlightjs file
-rw-r--r--layouts/partials/bottom.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/bottom.html b/layouts/partials/bottom.html
index 9334f20..2c2a85d 100644
--- a/layouts/partials/bottom.html
+++ b/layouts/partials/bottom.html
@@ -30,7 +30,7 @@
</footer>
</div>
- <script src="{{ .Site.BaseURL }}js/highlight.pack.js"></script>
+ <script src="{{ "js/highlight.pack.js" | relURL }}"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>