diff options
author | Vicky <vicky@vickylai.io> | 2018-01-26 22:15:43 +0300 |
---|---|---|
committer | Vicky <vicky@vickylai.io> | 2018-01-26 22:15:43 +0300 |
commit | a9243c42d3862ffb8979c15ac7bb299d0a69cdad (patch) | |
tree | eec6f822ff7b511c572a1fd4a026754c7c84c2b4 | |
parent | 2815a5b2c757984a66f6a224a6abfc201e0bc5d7 (diff) |
Fixed asset links.
-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 ef00aa4..a600d09 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -53,14 +53,14 @@ crossorigin="anonymous"></script> {{ if .Site.Params.cachebuster }} {{ $t := now.Unix }} - <link rel="stylesheet" href="{{ .Site.BaseURL }}css/{{ .Site.Params.themestyle }}-style.css?t={{$t}}"> + <link rel="stylesheet" href="css/{{ .Site.Params.themestyle }}-style.css?t={{$t}}"> {{range .Site.Params.extracssfiles}} <link rel="stylesheet" href="{{.}}?t={{$t}}"> {{ end }} {{ else }} - <link rel="stylesheet" href="{{ .Site.BaseURL }}css/{{ .Site.Params.themestyle }}-style.css"> + <link rel="stylesheet" href="css/{{ .Site.Params.themestyle }}-style.css"> {{range .Site.Params.extracssfiles}} <link rel="stylesheet" href="{{.}}"> {{end}} @@ -70,9 +70,9 @@ crossorigin="anonymous"></script> <!-- Icon --> <link rel="shortcut icon" {{ if .Site.Params.faviconfile }} - href="{{ .Site.BaseURL }}{{ .Site.Params.faviconfile }}" + href="{{ .Site.Params.faviconfile }}" {{ else }} - href="{{ .Site.BaseURL }}img/favicon.ico" + href="img/favicon.ico" {{ end }} > |