diff options
author | lingxz <lingyihuu@gmail.com> | 2019-08-25 20:51:48 +0300 |
---|---|---|
committer | lingxz <lingyihuu@gmail.com> | 2019-08-25 20:51:48 +0300 |
commit | ebdb18610b68d6160652f690c968ce016189d1e8 (patch) | |
tree | 5e7f86a11f07e348283beb41ba3577638da5e25f | |
parent | 1b57d43cc6568e7d0e84dd2dd952b140b4dadc4b (diff) |
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 2 | ||||
-rw-r--r-- | theme.toml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/layouts/index.html b/layouts/index.html index bac350f..9847099 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,5 @@ {{ define "main" }} -{{ $paginator := .Paginate (where .Data.Pages "Type" "in" .Site.Params.mainSections) }} +{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} <main class="center mv4 content-width ph3"> <ul class="list pa0"> {{ range $paginator.Pages }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 3ae224a..9840961 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -2,7 +2,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta content='text/html; charset=utf-8' http-equiv='content-type' /> {{ partial "open_graph.html" . }} -{{ .Hugo.Generator }} +{{ hugo.Generator }} <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600" rel="stylesheet"> <style type="text/css">{{ partial "css/variables.css" . | safeCSS }}</style> @@ -8,7 +8,7 @@ description = "A clean Hugo theme for blogging" homepage = "http://github.com/lingxz/er" tags = ["responsive", "white", "blog"] features = ["responsive", "blog"] -min_version = "0.38" +min_version = "0.57.0" [author] name = "Lingyi Hu" |