cachebuster: wrong way around

Fixes #32.
This commit is contained in:
Nishanth Shanmugham
2016-12-03 03:01:56 -06:00
parent 8324832d46
commit 0b494a5782

View File

@@ -15,17 +15,7 @@
{{ end }} {{ end }}
{{ if eq true .Site.Params.cachebuster }} {{ if .Site.Params.cachebuster }}
<link rel="stylesheet" href="/css/reset.css">
<link rel="stylesheet" href="/css/pygments.css">
<link rel="stylesheet" href="/css/main.css">
{{range .Site.Params.extracssfiles}}
<link rel="stylesheet" href="{{.}}">
{{end}}
{{ else }}
<link rel="stylesheet" href="/css/reset.css?{{ .Now.Unix }}"> <link rel="stylesheet" href="/css/reset.css?{{ .Now.Unix }}">
<link rel="stylesheet" href="/css/pygments.css?{{ .Now.Unix }}"> <link rel="stylesheet" href="/css/pygments.css?{{ .Now.Unix }}">
@@ -35,6 +25,16 @@
<link rel="stylesheet" href="{{.}}?{{ .Now.Unix }}"> <link rel="stylesheet" href="{{.}}?{{ .Now.Unix }}">
{{end}} {{end}}
{{ else }}
<link rel="stylesheet" href="/css/reset.css">
<link rel="stylesheet" href="/css/pygments.css">
<link rel="stylesheet" href="/css/main.css">
{{range .Site.Params.extracssfiles}}
<link rel="stylesheet" href="{{.}}">
{{end}}
{{ end }} {{ end }}
<!-- Icon --> <!-- Icon -->