mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-19 00:52:19 +01:00
Merge branch 'master' of https://github.com/alanorth/hugo-theme-bootstrap4-blog
This commit is contained in:
commit
f99cc47ef0
@ -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).
|
||||
|
@ -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" }}
|
||||
|
Loading…
Reference in New Issue
Block a user