From 5515bae2cc65374ce1dddcbf3ff18802c4f6e1a7 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Mon, 19 Jun 2017 08:57:41 +0200 Subject: [PATCH] Updated for how sections work in Hugo v0.23. --- layouts/partials/menu.html | 11 ++++------- layouts/partials/sidebar.html | 11 ++++------- theme.toml | 6 +++--- 3 files changed, 11 insertions(+), 17 deletions(-) diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index af71671..45246d7 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -5,14 +5,11 @@

Main menu

diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 15539f2..a5a2ff2 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -1,16 +1,13 @@ -{{ $currentSection := .Section }} {{ $currentID := .UniqueID }} diff --git a/theme.toml b/theme.toml index 00ec4ec..0179b8c 100644 --- a/theme.toml +++ b/theme.toml @@ -3,9 +3,9 @@ description = "A port of the Drupal zen base theme with libsass and gulp support homepage = "https://github.com/frjo/hugo-theme-zen" license = "GPLv2" licenselink = "http://www.gnu.org/licenses/old-licenses/gpl-2.0.html" -tags = ["simple", "articles"] -features = ["responsive", "grid", "sass", "gulp", "search"] -min_version = 0.18 +tags = ["simple", "articles", "blog"] +features = ["responsive", "grid", "sass", "gulp", "search", "piwik", "jsonfeed"] +min_version = 0.23 [author] name = "Fredrik Jonsson"