chore: do not use / in the beginning of a URL

Otherwise this does not work, if the baseURL has a subfolder in there, e.g.

https://janraasch.github.io/hugo-scroll/

See https://github.com/gohugoio/hugoThemes#common-permalink-issues
This commit is contained in:
Jan Raasch 2020-07-09 11:21:57 +02:00
parent ad9adcb484
commit 0eb23bf5c8
7 changed files with 17 additions and 17 deletions

View file

@ -10,8 +10,8 @@
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
<!-- The main JavaScript files for HugoScroll -->
<script type="text/javascript" src='{{ "/js/icons.js" | absURL }}'></script>
<script type="text/javascript" src='{{ "/js/index.js" |absURL }}'></script>
<script type="text/javascript" src='{{ "js/icons.js" | absURL }}'></script>
<script type="text/javascript" src='{{ "js/index.js" |absURL }}'></script>
<!-- A partial to be overwritten by the user.
Simply place a custom_body.html into
your local /layouts/partials-directory -->