diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a532c5e..63f55a0 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,6 @@ - + @@ -18,36 +19,43 @@ {{- if not .IsHome }}{{ .Title }} - {{ .Site.Title }}{{- else }}{{ .Site.Title }} - {{ .Site.Params.Tagline }}{{- end}} + {{ if eq (getenv "HUGO_ENV") "PRD" }} {{ else }} {{ end }} + {{- if .IsHome }} + {{ partial "header_homepage" . }} + {{- else }} {{ partial "navbar" . }} - - {{- if .IsHome }} {{ partial "header_homepage" . }} {{- end }} + {{- end }} -
+
-
- {{ partial "sidebar" . }} -
-
+
{{ block "main" . }}{{ end }}
+
+ {{ partial "sidebar" . }} +
-