diff options
author | tosi29 <tosi16@gmail.com> | 2019-09-07 13:34:17 +0300 |
---|---|---|
committer | tosi29 <tosi16@gmail.com> | 2019-09-07 13:34:17 +0300 |
commit | a2b99bdf71090428b52d5976288a83584ffb45a7 (patch) | |
tree | d99a6bb1d65ac6f0b068b1eb3fb2ae6c908d2efc | |
parent | b745aa5ac4066f75d665699e8d228c08ea0e2943 (diff) |
Replace ".Pages" with ".Site.RegularPages"
* Update for hugo 0.58
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | theme.toml | 2 |
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> @@ -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" |