From fc02fdcb2ce34bdc09457759046818f00b14b69b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 7 Jul 2015 20:24:41 +0200 Subject: Fix deprecated Hugo-vars and functions That will stop working in Hugo 0.15. See https://github.com/spf13/hugoThemesSite/issues/6 --- layouts/_default/single.html | 2 +- layouts/index.html | 2 +- layouts/indexes/indexes.html | 2 +- theme.toml | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 268f39c..fc84e46 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,4 +1,4 @@ - {{ $baseurl := .Site.BaseUrl }} + {{ $baseurl := .Site.BaseURL }} {{ template "theme/chrome/header.html" . }}
diff --git a/layouts/index.html b/layouts/index.html index 2c49674..fbb6439 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -13,7 +13,7 @@ {{ template "theme/chrome/menu.html" }} -{{ $baseurl := .Site.BaseUrl }} +{{ $baseurl := .Site.BaseURL }}
diff --git a/layouts/indexes/indexes.html b/layouts/indexes/indexes.html index 938b002..2168b06 100644 --- a/layouts/indexes/indexes.html +++ b/layouts/indexes/indexes.html @@ -1,4 +1,4 @@ -{{ $baseurl := .Site.BaseUrl }} +{{ $baseurl := .Site.BaseURL }} {{ template "theme/chrome/header.html" . }}
diff --git a/theme.toml b/theme.toml index 85de0ed..0d29ad7 100644 --- a/theme.toml +++ b/theme.toml @@ -2,6 +2,7 @@ name = "simple-a" license = "MIT" licenselink = "https://github.com/AlexFinn/simple-a/blob/master/LICENSE.md" description = "Minimalistic Hugo theme" +min_version = 0.14 tags = ["AlexFinn", ] features = ["blog", ] -- cgit v1.2.3