7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-21 22:01:31 +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 }} {{ range $paginator.Pages }}
<li>{{ partial "evento" . }}</li> <li>{{ partial "evento" . }}</li>
{{ end }} {{ end }}
{{ partial "pagination" . }}
</ul> </ul>
{{ partial "pagination" . }}
{{- end -}} {{- end -}}

View File

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

View File

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

View File

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