mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

budparr
09.14.2018 253214cbc62a0958bc8b0adbce5e243985dd8cd6
Use paginator
1 files modified
2 ■■■ changed files
layouts/post/list.html 2 ●●● patch | view | raw | blame | history
layouts/post/list.html
@@ -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/