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:
parent
31d511da2c
commit
c211e2ddc2
BIN
content/iniciativas/portateis-livres/covera.jpg
Normal file
BIN
content/iniciativas/portateis-livres/covera.jpg
Normal file
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 |
@ -20,8 +20,8 @@
|
||||
{{ range $paginator.Pages }}
|
||||
<li>{{ partial "evento" . }}</li>
|
||||
{{ end }}
|
||||
|
||||
{{ partial "pagination" . }}
|
||||
</ul>
|
||||
|
||||
{{ partial "pagination" . }}
|
||||
|
||||
{{- end -}}
|
||||
|
@ -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>
|
||||
|
@ -29,8 +29,8 @@
|
||||
</div>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
{{ partial "pagination" . }}
|
||||
</ul>
|
||||
|
||||
{{ partial "pagination" . }}
|
||||
|
||||
{{- end -}}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user