diff --git a/layouts/_default/list.html b/layouts/_default/list.html index e69de29..dd24b00 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -0,0 +1,28 @@ +{{ partial "header.html" . }} +{{ partial "navbar.html" . }} + +
+
+
+ {{ partial "menu" . }} +
+
+
+ {{ .Content }} + + {{ range .Pages.GroupBy "Section" }} +

{{ .Key | title }}

+ + {{ end }} +
+
+
+
+ +{{ partial "footer.html" . }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 867f15e..43719f9 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -35,7 +35,7 @@ // Toggle the class on both the "navbar-burger" and the "navbar-menu" $el.classList.toggle('is-active'); - $target.classList.toggle('is-active'); + $target.classList.toggle(' is-active'); document.getElementById('navbar-background').classList.toggle('is-active'); diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index 0dd95f0..97336de 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -8,7 +8,7 @@ {{ else }}
  • - + {{ .Pre }} {{ .Name }}