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

github.com/tosi29/inkblotty.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortosi29 <tosi16@gmail.com>2019-09-07 13:34:17 +0300
committertosi29 <tosi16@gmail.com>2019-09-07 13:34:17 +0300
commita2b99bdf71090428b52d5976288a83584ffb45a7 (patch)
treed99a6bb1d65ac6f0b068b1eb3fb2ae6c908d2efc
parentb745aa5ac4066f75d665699e8d228c08ea0e2943 (diff)
Replace ".Pages" with ".Site.RegularPages"
* Update for hugo 0.58
-rw-r--r--layouts/index.html2
-rw-r--r--theme.toml2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 04053ca..72d1e71 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,6 +1,6 @@
{{ define "main" }}
-{{ $paginator := .Paginate ( where .Pages "Type" "post" ) 10 }}
+{{ $paginator := .Paginate ( where .Site.RegularPages "Type" "post" ) 10 }}
<main aria-role="main">
<header class="homepage-header">
<h1>{{.Title}}</h1>
diff --git a/theme.toml b/theme.toml
index b588e98..1586677 100644
--- a/theme.toml
+++ b/theme.toml
@@ -5,7 +5,7 @@ description = "Responsive Hugo theme based on Inkblot of WordPress theme"
homepage = "https://github.com/tosi29/inkblotty/"
tags = ["blog", "responsive", "wordpress", "disqus", "google analytics"]
features = ["blog", "responsive", "wordpress", "disqus", "google analytics"]
-min_version = "0.55"
+min_version = "0.58"
[author]
name = "tosi"