diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4e8e26bc4..49177d938 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -10,6 +10,25 @@ {{- partial "global_navbar.html" . -}}
+ {{ if .IsPage }} + + {{ $my_path := split $.Source.File.Path .Site.Params.pathseperator }} + {{ if eq (index $my_path 0) "events" }} +
+ + {{- block "main" . }} {{- end -}} +
+ {{ else }} +
+ + {{- block "main" . }} {{- end -}} +
+
+ PAST EVENTS
+ {{- partial "future.html" . -}} +
+ {{ end }} + {{ else }}
{{- block "main" . }} {{- end -}} @@ -18,6 +37,7 @@ PAST EVENTS
{{- partial "future.html" . -}}
+ {{ end }}