diff --git a/README.md b/README.md index c1157a2..ddacf82 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Stack is a simple card-style Hugo theme designed for bloggers, some of its featu ## Requirements -It's necessary to use **Hugo Extended ≥ 0.78.0**. +It's necessary to use **Hugo Extended ≥ 0.87.0**. ## Installation diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 4046887..ac67c62 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -142,6 +142,9 @@ menu: url: / weight: -100 pre: home + params: + ### For demonstration purpose, the home link will be open in a new tab + newTab: true related: includeNewer: true diff --git a/layouts/partials/sidebar/left.html b/layouts/partials/sidebar/left.html index af483e3..c14092f 100644 --- a/layouts/partials/sidebar/left.html +++ b/layouts/partials/sidebar/left.html @@ -39,7 +39,7 @@ {{ $active := or (eq $currentPage.Title .Name) (or ($currentPage.HasMenuCurrent "main" .) ($currentPage.IsMenuCurrent "main" .)) }}