diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2015-07-07 21:24:41 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2015-07-07 21:24:41 +0300 |
commit | fc02fdcb2ce34bdc09457759046818f00b14b69b (patch) | |
tree | 008f1e805042015b518ac83a3f000e64083441df | |
parent | f0ed2c78dd5e2d6e6b344371ff720d93a59d0a22 (diff) |
Fix deprecated Hugo-vars and functions
That will stop working in Hugo 0.15.
See https://github.com/spf13/hugoThemesSite/issues/6
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/indexes/indexes.html | 2 | ||||
-rw-r--r-- | 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" . }} <!-- CONTENT --> <div class="post"> 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 @@ <body> {{ template "theme/chrome/menu.html" }} -{{ $baseurl := .Site.BaseUrl }} +{{ $baseurl := .Site.BaseURL }} <div class="container"> <div class="content"> 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" . }} <section id="main"> @@ -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", ] |