mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Merge pull request #33 from nishanths/nishanths/32-cachebuster
cachebuster: wrong way around
This commit is contained in:
@@ -15,17 +15,7 @@
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ if eq true .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 }}
|
||||
{{ if .Site.Params.cachebuster }}
|
||||
|
||||
<link rel="stylesheet" href="/css/reset.css?{{ .Now.Unix }}">
|
||||
<link rel="stylesheet" href="/css/pygments.css?{{ .Now.Unix }}">
|
||||
@@ -35,6 +25,16 @@
|
||||
<link rel="stylesheet" href="{{.}}?{{ .Now.Unix }}">
|
||||
{{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 }}
|
||||
|
||||
<!-- Icon -->
|
||||
|
Reference in New Issue
Block a user