Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/spech66/bootstrap-bp-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pech <windows@spech.de>2019-08-17 16:51:09 +0300
committerSebastian Pech <windows@spech.de>2019-08-17 16:51:09 +0300
commit68314b7b463e817bf254031c480e397f68d5f2e9 (patch)
treeed878e9a03d86639b9a7ede8940513e8bda82ab4
parente4583cd2536aa0ca032640cf040d3e5b336cf723 (diff)
Fixed breaking changes from 0.57
-rw-r--r--layouts/index.html4
-rw-r--r--theme.toml2
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 959d088..fb12afc 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -5,12 +5,12 @@
{{ if .Site.Params.startPageColumns }}
<div class="card-columns">
- {{ range where .Pages.ByPublishDate.Reverse "Section" "post" }}
+ {{ range where .Site.RegularPages.ByPublishDate.Reverse "Section" "post" }}
{{- partial "content_summary.html" . -}}
{{ end }}
</div>
{{ else }}
- {{ range where .Pages.ByPublishDate.Reverse "Section" "post" }}
+ {{ range where .Site.RegularPages.ByPublishDate.Reverse "Section" "post" }}
<div class="mb-3">
{{- partial "content_summary.html" . -}}
</div>
diff --git a/theme.toml b/theme.toml
index 778b266..b55cc50 100644
--- a/theme.toml
+++ b/theme.toml
@@ -8,7 +8,7 @@ description = "Bootstrap based Hugo theme which supports out of the box best pra
homepage = "https://github.com/spech66/bootstrap-bp-hugo-theme/"
tags = ["minimalist", "blog", "clean", "simple", "bootstrap", "responsive", "google analytics", "syntax sighlighting", "light", "fast"]
features = ["responsive", "google analytics", "bootstrap v4.1.x", "open graph", "twitter cards"]
-min_version = "0.48"
+min_version = "0.57"
[author]
name = "Sebastian Pech"