Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index a600d09..89ca738 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -50,18 +50,18 @@ crossorigin="anonymous"></script>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito+Sans">
-{{ if .Site.Params.cachebuster }}
+{{ if .Site.Params.cacheBuster }}
{{ $t := now.Unix }}
- <link rel="stylesheet" href="css/{{ .Site.Params.themestyle }}-style.css?t={{$t}}">
- {{range .Site.Params.extracssfiles}}
+ <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="css/{{ .Site.Params.themestyle }}-style.css">
- {{range .Site.Params.extracssfiles}}
+ <link rel="stylesheet" href="css/{{ .Site.Params.themeStyle }}-style.css">
+ {{range .Site.Params.extraCSSFiles}}
<link rel="stylesheet" href="{{.}}">
{{end}}
@@ -69,8 +69,8 @@ crossorigin="anonymous"></script>
<!-- Icon -->
<link rel="shortcut icon"
-{{ if .Site.Params.faviconfile }}
- href="{{ .Site.Params.faviconfile }}"
+{{ if .Site.Params.faviconFile }}
+ href="{{ .Site.Params.faviconFile }}"
{{ else }}
href="img/favicon.ico"
{{ end }}