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" .)) }}
  • - + {{ if .Pre }} {{ partial "helper/icon" .Pre }} {{ end }} diff --git a/netlify.toml b/netlify.toml index e221fd8..2a5b2a8 100644 --- a/netlify.toml +++ b/netlify.toml @@ -2,7 +2,7 @@ publish = "exampleSite/public" [build.environment] - HUGO_VERSION = "0.85.0" + HUGO_VERSION = "0.87.0" HUGO_THEME = "repo" [context.production]