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

github.com/urjaacharya/redgood.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 68fff46..dcf346a 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -2,11 +2,12 @@
<html lang="{{ .Site.LanguageCode }}">
{{- partial "head.html" . -}}
<body>
- {{- partial "header.html" . -}}
- <main>
- {{- block "main" . }}
- {{- end }}
- </main>
+ {{ if .IsHome }}
+ {{ partial "homeHeader" . }}
+ {{ else }}
+ {{ partial "regularHeader" . }}
+ {{ end }}
+ <main>{{- block "main" . }} {{- end }}</main>
{{- partial "footer.html" . -}}
</body>
</html>