From 8feae6fa6e47be799574d38dfe6b74036683e55a Mon Sep 17 00:00:00 2001 From: Henk Verlinde Date: Tue, 6 Jul 2021 08:57:29 +0200 Subject: [PATCH 1/2] fix: make id unique collapsible sidebar --- layouts/partials/sidebar/docs-menu.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/sidebar/docs-menu.html b/layouts/partials/sidebar/docs-menu.html index cd3cd07..704b018 100644 --- a/layouts/partials/sidebar/docs-menu.html +++ b/layouts/partials/sidebar/docs-menu.html @@ -5,11 +5,11 @@ {{- $active := or ($currentPage.IsMenuCurrent "docs" .) ($currentPage.HasMenuCurrent "docs" .) -}} {{- $active = or $active (eq $currentPage.Section .Identifier) -}}
  • - {{ if .HasChildren -}} -
    +
      {{ range .Children -}} {{- $active := or ($currentPage.IsMenuCurrent "docs" .) ($currentPage.HasMenuCurrent "docs" .) -}} From b91e6494de91b1f137013be07314ae360b8ff65c Mon Sep 17 00:00:00 2001 From: Henk Verlinde Date: Fri, 9 Jul 2021 12:13:40 +0200 Subject: [PATCH 2/2] Update LICENSE --- LICENSE | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index fc33812..a9431aa 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,7 @@ MIT License -Copyright (c) 2020-2021 Gridsome, Henk Verlinde +Copyright (c) 2018-present, Gridsome +Copyright (c) 2020-present, Henk Verlinde Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -18,4 +19,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file +SOFTWARE.