diff options
author | Vicky <vicky@vickylai.io> | 2017-05-25 15:05:18 +0300 |
---|---|---|
committer | Vicky <vicky@vickylai.io> | 2017-05-25 15:05:18 +0300 |
commit | 2e01da3ccd7a029ccb5cac0b9208cbd16529629c (patch) | |
tree | 5acc08794931fa9b550418615776f8c926421ed8 /layouts/partials/header.html | |
parent | e64c8a5393277ebe4cd6c49d285728247e6d6060 (diff) |
Version 2.10 with bug fixv2.1
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 1a7b56c..ccc21c2 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -50,14 +50,14 @@ {{ if .Site.Params.cachebuster }} {{ $t := now.Unix }} - <link rel="stylesheet" href="/css/{{ .Site.Params.theme }}-style.css?t={{$t}}"> + <link rel="stylesheet" href="{{ .Site.BaseURL }}css/{{ .Site.Params.theme }}-style.css?t={{$t}}"> {{range .Site.Params.extracssfiles}} <link rel="stylesheet" href="{{.}}?t={{$t}}"> {{ end }} {{ else }} - <link rel="stylesheet" href="/css/{{ .Site.Params.theme }}-style.css"> + <link rel="stylesheet" href="{{ .Site.BaseURL }}css/{{ .Site.Params.theme }}-style.css"> {{range .Site.Params.extracssfiles}} <link rel="stylesheet" href="{{.}}"> {{end}} @@ -67,9 +67,9 @@ <!-- Icon --> <link rel="shortcut icon" {{ if .Site.Params.faviconfile }} - href="/{{ .Site.Params.faviconfile }}" + href="{{ .Site.BaseURL }}{{ .Site.Params.faviconfile }}" {{ else }} - href="/img/favicon.ico" + href="{{ .Site.BaseURL }}img/favicon.ico" {{ end }} > |