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:
authorUrja Acharya <urja.acharya@huskers.unl.edu>2021-03-04 05:02:32 +0300
committerUrja Acharya <urja.acharya@huskers.unl.edu>2021-03-04 05:02:32 +0300
commit23b19f817da907f9c4b3d286b72d8ebd32468194 (patch)
tree4fdbae9ec919bedfbc03019bfa77aa6322725ce6 /layouts/_default/baseof.html
parent7993d0b887b93b161e81744f938607d16bdb709d (diff)
Reorganization and style changes
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>