Explorar el Código

Use paginator

enhancements
budparr hace 6 años
padre
commit
253214cbc6
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      layouts/post/list.html

+ 1
- 1
layouts/post/list.html Ver fichero

@@ -7,7 +7,7 @@
{{ .Content }}
</main>
<section class="flex-ns flex-wrap justify-around mt5">
{{ range .Pages }}
{{ range .Paginator.Pages }}
<div class="relative w-100 w-30-l mb4 bg-white">
{{/*
Note we can use `.Render` here for items just in this section, instead of a partial to pull in items for the list page. https://gohugo.io/functions/render/

Cargando…
Cancelar
Guardar