Fixed asset links.

This commit is contained in:
Vicky 2018-01-26 14:15:43 -05:00
parent 2815a5b2c7
commit a9243c42d3

View file

@ -53,14 +53,14 @@ crossorigin="anonymous"></script>
{{ if .Site.Params.cachebuster }}
{{ $t := now.Unix }}
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/{{ .Site.Params.themestyle }}-style.css?t={{$t}}">
<link rel="stylesheet" href="css/{{ .Site.Params.themestyle }}-style.css?t={{$t}}">
{{range .Site.Params.extracssfiles}}
<link rel="stylesheet" href="{{.}}?t={{$t}}">
{{ end }}
{{ else }}
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/{{ .Site.Params.themestyle }}-style.css">
<link rel="stylesheet" href="css/{{ .Site.Params.themestyle }}-style.css">
{{range .Site.Params.extracssfiles}}
<link rel="stylesheet" href="{{.}}">
{{end}}
@ -70,9 +70,9 @@ crossorigin="anonymous"></script>
<!-- Icon -->
<link rel="shortcut icon"
{{ if .Site.Params.faviconfile }}
href="{{ .Site.BaseURL }}{{ .Site.Params.faviconfile }}"
href="{{ .Site.Params.faviconfile }}"
{{ else }}
href="{{ .Site.BaseURL }}img/favicon.ico"
href="img/favicon.ico"
{{ end }}
>