:lock: Secure and accessible dark theme static website generator for Hugo https://after-dark.habd.as
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pagination.html 480B

12345678910111213
  1. <nav><p>
  2. {{ if .Paginator.HasPrev }}
  3. <a href="{{ .Paginator.Prev.URL }}">&#x02190;&nbsp;Previous</a> |
  4. {{ end }}
  5. {{ if eq .Paginator.TotalPages 0 }}
  6. <span>OMG the nostalgia! Runs so smoothly too. If only there were published content.</span>
  7. {{ else }}
  8. <span>Page {{ .Paginator.PageNumber }} of {{ .Paginator.TotalPages }}</span>
  9. {{ end }}
  10. {{ if .Paginator.HasNext }}
  11. | <a href="{{ .Paginator.Next.URL }}">Next&nbsp;&#x02192;</a>
  12. {{ end }}
  13. </p></nav>