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:
authorVicky <vicky@vickylai.io>2018-01-26 21:37:19 +0300
committerVicky <vicky@vickylai.io>2018-01-26 21:37:19 +0300
commit3a1fbfb306b3d799326d62e939c39004d64ea1cf (patch)
treed501ec9515c5de64559b23f07246ffdf46055d86 /layouts/partials/header.html
parent6cf35c2a3119f5de3ae2b1e2872fe60cc0a82eb7 (diff)
Fixed #22. Moved opening body tags into template files instead of header.
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html9
1 files changed, 3 insertions, 6 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 20a40c1..ef00aa4 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -53,14 +53,14 @@ crossorigin="anonymous"></script>
{{ if .Site.Params.cachebuster }}
{{ $t := now.Unix }}
- <link rel="stylesheet" href="{{ .Site.BaseURL }}css/{{ .Site.Params.theme }}-style.css?t={{$t}}">
+ <link rel="stylesheet" href="{{ .Site.BaseURL }}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.theme }}-style.css">
+ <link rel="stylesheet" href="{{ .Site.BaseURL }}css/{{ .Site.Params.themestyle }}-style.css">
{{range .Site.Params.extracssfiles}}
<link rel="stylesheet" href="{{.}}">
{{end}}
@@ -84,7 +84,4 @@ crossorigin="anonymous"></script>
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
{{ end }}
-</head>
-
-<body>
-
+</head> \ No newline at end of file