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:
parent
ad9adcb484
commit
0eb23bf5c8
7 changed files with 17 additions and 17 deletions
|
|
@ -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 -->
|
||||
|
|
|
|||
|
|
@ -13,10 +13,10 @@
|
|||
<meta name="MobileOptimized" content="320" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<link rel="stylesheet" href='{{ "/css/screen.css" | absURL }}'>
|
||||
<link rel="stylesheet" href='{{ "css/screen.css" | absURL }}'>
|
||||
<link href='https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic,700' rel='stylesheet' type='text/css'>
|
||||
<link href='https://fonts.googleapis.com/css?family=Oswald:400,300,700|Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800|Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" href='{{ "/font-awesome/css/font-awesome.min.css" | absURL }}'>
|
||||
<link rel="stylesheet" href='{{ "font-awesome/css/font-awesome.min.css" | absURL }}'>
|
||||
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue