7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-10-12 03:02:11 +00:00

Pagina as notícias 12 de cada vez

This commit is contained in:
Hugo Peixoto 2023-11-15 11:19:27 +00:00
parent 0d90bf9ed5
commit cb61942668
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ defaultContentLanguageInSubdir = false
removePathAccents = true # Workaround for https://github.com/gohugoio/hugo/issues/5687
summaryLength = 30 # Listing summary length in words. Also, see `abstract_length` in `params.toml`.
paginate = 10 # Number of i13321tems per page in paginated lists.
paginate = 10 # Number of items per page in paginated lists.
nableEmoji = true
footnotereturnlinkcontents = "<sup>^</sup>"
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]

View File

@ -3,7 +3,7 @@
<h1 class='news-list-title body-width'>Notícias</h1>
<ul class="news-list body-width">
{{ $paginator := .Paginate .Data.Pages }}
{{ $paginator := .Paginate .Data.Pages 12 }}
{{ range $paginator.Pages }}
<li>
<a class='cover' href="{{ .Permalink }}">