diff options
author | Hylke Visser <htdvisser@gmail.com> | 2018-03-29 10:12:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-29 10:12:29 +0300 |
commit | a4c183c505d9e6d12ae9ddea48abc75df3d962e1 (patch) | |
tree | 6bb143953b502875b29647f2a7d55776acb03977 | |
parent | ede09814bb87cd1c94761f6121e9d1eebce57ba9 (diff) | |
parent | 48cacd5ad4d0253f96a2cb4a5a501bd5938dc4bc (diff) |
Merge pull request #16 from h3ndrik/patch-1
use path of baseURL when loading resources
-rw-r--r-- | layouts/partials/header.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 579548d..f6661cc 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -7,9 +7,9 @@ <meta name="author" content="{{ .Site.Params.author }}"> {{ .Hugo.Generator }} <meta name="viewport" content="width=device-width, initial-scale=1"> -<link rel="stylesheet" href="{{ "/css/style.css" | absURL }}" type="text/css"> +<link rel="stylesheet" href="{{ "css/style.css" | absURL }}" type="text/css"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700" type="text/css"> -<link rel="alternate" href="{{ "/index.xml" | absURL }}" type="application/rss+xml" title="{{ .Site.Title }}"> +<link rel="alternate" href="{{ "index.xml" | absURL }}" type="application/rss+xml" title="{{ .Site.Title }}"> <title>{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}</title> </head> <body> |