From 0b30289d9f3520144bb37caa009d8953cde0e3d6 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 22 Apr 2019 19:17:39 +0200 Subject: #43, Update tree menu rendering to support multiple sections --- layouts/home.html | 4 +- layouts/partials/docs/git-footer.html | 2 +- layouts/partials/docs/menu-bundle.html | 5 +-- layouts/partials/docs/menu-filetree.html | 76 ++++++++++++++++++-------------- layouts/partials/docs/menu.html | 6 ++- layouts/partials/docs/shared.html | 25 +++++------ layouts/posts/list.html | 6 +-- layouts/posts/single.html | 4 +- 8 files changed, 70 insertions(+), 58 deletions(-) (limited to 'layouts') diff --git a/layouts/home.html b/layouts/home.html index d2db819..bf76fc7 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -6,7 +6,7 @@ {{ partial "docs/html-head" . }} {{ partial "docs/inject/head" . }} -{{- $content := ` +{{ $content := ` # Hugo Book Theme This is a placeholder for home page. @@ -14,7 +14,7 @@ You can override this page in: - `/content/_index.md` - `/layouts/home.html` -` -}} +` }}
diff --git a/layouts/partials/docs/git-footer.html b/layouts/partials/docs/git-footer.html index 4b2f44d..001c9ff 100644 --- a/layouts/partials/docs/git-footer.html +++ b/layouts/partials/docs/git-footer.html @@ -2,7 +2,7 @@