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.

25 lines
888 B

4 years ago
  1. {{ if or .NextInSection .PrevInSection }}
  2. <div class="pagination">
  3. <div class="pagination__title">
  4. <span class="pagination__title-h">{{ $.Site.Params.ReadOtherPosts }}</span>
  5. <hr />
  6. </div>
  7. <div class="pagination__buttons">
  8. {{ if .NextInSection }}
  9. <span class="button previous">
  10. <a href="{{ .NextInSection.Permalink }}">
  11. <span class="button__icon"></span>
  12. <span class="button__text">{{ .NextInSection.Title }}</span>
  13. </a>
  14. </span>
  15. {{ end }}
  16. {{ if .PrevInSection }}
  17. <span class="button next">
  18. <a href="{{ .PrevInSection.Permalink }}">
  19. <span class="button__text">{{ .PrevInSection.Title }}</span>
  20. <span class="button__icon"></span>
  21. </a>
  22. </span>
  23. {{ end }}
  24. </div>
  25. </div>
  26. {{ end }}