Remove cachebuster until #32 is resolved.

This commit is contained in:
Nishanth Shanmugham
2016-12-03 23:30:17 -06:00
parent 9ba3bcd870
commit 4207493143
2 changed files with 1 additions and 16 deletions

View File

@@ -19,7 +19,7 @@ blog = "blog/:slug/"
author = "Arthur Dent"
# gravatar = "" # do not use in the same time as Avatar
# avatar = "" # path to image in static dir e.g img/avatar.png (do not use in the same time as Gravatar)
cachebuster = true
# cachebuster = false # FIXME: See issue #32.
dateform = "Jan 2, 2006"
dateformfull = "Mon Jan 2 2006 15:04:05 MST"
description = "Don't panic"

View File

@@ -14,19 +14,6 @@
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.8.0/styles/default.min.css">
{{ end }}
{{ if .Site.Params.cachebuster }}
<link rel="stylesheet" href="/css/reset.css?{{ .Now.Unix }}">
<link rel="stylesheet" href="/css/pygments.css?{{ .Now.Unix }}">
<link rel="stylesheet" href="/css/main.css?{{ .Now.Unix }}">
{{range .Site.Params.extracssfiles}}
<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">
@@ -35,8 +22,6 @@
<link rel="stylesheet" href="{{.}}">
{{end}}
{{ end }}
<!-- Icon -->
<link rel="shortcut icon"
{{ if .Site.Params.faviconfile }}