diff options
author | Vicky <vicky@vickylai.io> | 2017-05-14 10:12:23 +0300 |
---|---|---|
committer | Vicky <vicky@vickylai.io> | 2017-05-14 10:12:23 +0300 |
commit | 90b2dd142f4551d89e1cb2366d0e9a95d21f15ba (patch) | |
tree | 70f0c9338bf101b119a46d23bf1427d93b2bd741 /layouts | |
parent | 11776e89f2079be9ceea533b605257bdc494d7c6 (diff) |
Added light and dark themes.
Diffstat (limited to 'layouts')
-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 697cd14..1a7b56c 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/style.css?t={{$t}}"> + <link rel="stylesheet" href="/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/style.css"> + <link rel="stylesheet" href="/css/{{ .Site.Params.theme }}-style.css"> {{range .Site.Params.extracssfiles}} <link rel="stylesheet" href="{{.}}"> {{end}} |