aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/post_pager.html
blob: 350f347760cb058d2e6a5081d3a601b417032b3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<nav class="flex items-center justify-center pa4 f5">
  {{ with .NextInSection }}
    <a
      href="{{ .RelPermalink }}"
      rel="prev"
      class="text-black hover:bg-gray-200 p-2 border m-2"
    >
      « {{ .Title }}</a
    >
  {{ end }}
  {{ with .PrevInSection }}
    <a
      href="{{ .RelPermalink }}"
      rel="prev"
      class="text-black hover:bg-gray-200 p-2 border m-2"
    >
      {{ .Title }} »</a
    >
  {{ end }}
</nav>