1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-19 09:02:18 +01:00
This commit is contained in:
Cosmin Humeniuc 2018-08-28 16:43:45 +03:00
commit f99cc47ef0
2 changed files with 2 additions and 2 deletions

View File

@ -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 - 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 ## 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). Otherwise, the contents are [GPLv3](https://www.gnu.org/licenses/gpl-3.0.txt).

View File

@ -30,7 +30,7 @@
{{ define "main" }} {{ define "main" }}
{{ $truncate := default true .Site.Params.truncate }} {{ $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 }} {{ range $paginator.Pages }}
{{ if $truncate }} {{ if $truncate }}
{{ .Render "summary" }} {{ .Render "summary" }}