Files
cocoa-eh-hugo-theme/layouts/partials/head_includes.html
Nishanth Shanmugham 6e2e423bec Add CSS cache buster
2015-08-29 02:28:59 -05:00

35 lines
918 B
HTML

<!-- CSS -->
{{ 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">
{{ if .Site.Params.WebfontsFile }}
<link rel="stylesheet" href="/{{ .Site.Params.WebfontsFile }}">
{{ end }}
{{ else }}
<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 }}">
{{ if .Site.Params.WebfontsFile }}
<link rel="stylesheet" href="/{{ .Site.Params.WebfontsFile }}?{{ .Now.Unix }}">
{{ end }}
{{ end }}
<!-- Icon -->
<link rel="shortcut icon"
{{ if .Site.Params.FaviconFile }}
href="/{{ .Site.Params.FaviconFile }}"
{{ else }}
href="/img/favicon.ico"
{{ end }}
>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->