break caching of custom.css depending on build date
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/fontawesome/css/all.min.css" />
|
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/fontawesome/css/all.min.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/fonts.css" />
|
<link rel="stylesheet" type="text/css" href="{{ .Site.BaseURL }}css/fonts.css" />
|
||||||
{{ range .Site.Params.custom_css }}
|
{{ range .Site.Params.custom_css }}
|
||||||
<link rel="stylesheet" href="{{ $.Site.BaseURL}}{{ . }}" />
|
<link rel="stylesheet" href="{{ $.Site.BaseURL}}{{ . }}?v={{ md5 $.Hugo.BuildDate }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ `<!--[if lt IE 9]>
|
{{ `<!--[if lt IE 9]>
|
||||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||||
|
|||||||
Reference in New Issue
Block a user