7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-23 20:35:45 +00:00

Actualiza css

This commit is contained in:
Hugo Peixoto 2023-09-28 13:34:45 +01:00
parent 31d511da2c
commit c211e2ddc2
6 changed files with 6 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -20,8 +20,8 @@
{{ range $paginator.Pages }}
<li>{{ partial "evento" . }}</li>
{{ end }}
{{ partial "pagination" . }}
</ul>
{{ partial "pagination" . }}
{{- end -}}

View File

@ -77,7 +77,7 @@
{{ $query := where site.RegularPages "Type" "eventos" }}
{{ $query = where $query "Params.metadata.event.date.finish" ">=" (now.Format "2006-01-02") }}
{{ $query = sort $query "Params.metadata.event.date.start" }}
{{ $query = first 5 $query }}
{{ $query = first 8 $query }}
{{ range $post := $query }}
<li>

View File

@ -29,8 +29,8 @@
</div>
</li>
{{ end }}
{{ partial "pagination" . }}
</ul>
{{ partial "pagination" . }}
{{- end -}}

View File

@ -1,5 +1,5 @@
{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
<nav>
<nav class='body-width'>
<ul class="pagination justify-content-center">
{{ if .Paginator.HasPrev }}
<li class="page-item"><a class="page-link" href="{{ .Paginator.Prev.URL }}">Página anterior</a></li>