| exampleSite/config.toml | ●●●●● patch | view | raw | blame | history | |
| layouts/_default/baseof.html | ●●●●● patch | view | raw | blame | history |
exampleSite/config.toml
@@ -48,6 +48,8 @@ [params] uniqueHomePage = true # change to false to add sidebar to homepage repo = "https://github.com/onweru/compose" time_format_blog = "Monday, January 02, 2006" layouts/_default/baseof.html
@@ -8,7 +8,7 @@ {{- partial "nav" . }} </header> <div class="main wrap pt-4"> {{- if eq .Section "docs" }} {{- if or (eq .Section "docs") (and (ne site.Params.uniqueHomepage true) .IsHome) }} {{- partial "document" . }} {{- else }} {{- block "main" . }}{{ end }}