diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index acf060a..3645d46 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -43,16 +43,8 @@ {{ if .Site.Params.cacheBuster }} {{ $t := now.Unix }} <link rel="stylesheet" href="css/{{ .Site.Params.themeStyle | default "dark" }}-style.css?t={{$t}}"> - {{range .Site.Params.extraCSSFiles}} - <link rel="stylesheet" href="{{.}}?t={{$t}}"> - {{ end }} {{ else }} - <link rel="stylesheet" href="css/{{ .Site.Params.themeStyle | default "dark" }}-style.css"> - {{range .Site.Params.extraCSSFiles}} - <link rel="stylesheet" href="{{.}}"> - {{end}} - {{ end }} <!-- Custom css --> @@ -61,13 +53,7 @@ {{- end }} <!-- Icon --> -<link rel="shortcut icon" -{{ if .Site.Params.faviconFile }} - href="{{ .Site.Params.faviconFile }}" -{{ else }} - href="img/favicon.ico" -{{ end }} -> +<link rel="shortcut icon" href="{{ .Site.Params.faviconFile | default "img/favicon.ico" }}"> <!-- Google Analytics --> {{ template "_internal/google_analytics_async.html" . }} |