diff --git a/README.md b/README.md index 8bb5249..05c4444 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,6 @@ There are several ways to help with the development of the theme: - Fork [the repository](https://github.com/alanorth/hugo-theme-bootstrap4-blog) on GitHub, add features on a "feature" branch like `update-bootstrap`, and then send a [pull request](https://github.com/alanorth/hugo-theme-bootstrap4-blog/compare) with your changes ## License -This repository contains the code of [Bootstrap](http://getbootstrap.com), which is licensed under the [MIT license](https://tldrlegal.com/license/mit-license), and [Font Awesome](http://fontawesome.io/), which uses [various licenses](http://fontawesome.io/license/). +This repository contains the code of [Bootstrap](https://getbootstrap.com), which is licensed under the [MIT license](https://tldrlegal.com/license/mit-license), and [Font Awesome](https://fontawesome.com/), which uses [various licenses](https://fontawesome.com/license/). Otherwise, the contents are [GPLv3](https://www.gnu.org/licenses/gpl-3.0.txt). diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 6ee6dbc..1461424 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -30,7 +30,7 @@ {{ define "main" }} {{ $truncate := default true .Site.Params.truncate }} -{{ $paginator := .Paginate (where .Site.Pages "Section" "in" .Site.Params.mainSections) }} +{{ $paginator := .Paginate (where .Site.RegularPages "Section" "in" .Site.Params.mainSections) }} {{ range $paginator.Pages }} {{ if $truncate }} {{ .Render "summary" }}