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

@ -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" . }}