stuebinm
20082e969f
idea: write markdown, get a more-or-less readable with categories and search because no one wants to deal with wikis (or just use fd & rg locally, I guess). Add docs to `content/`; all subdirs of that need a _index.md file that defines the theme. Categories are just strings and can be defined ad-hoc; the search goes through all files in `content/` and subdirs based on a search index built by zola when building the site.
15 lines
485 B
HTML
15 lines
485 B
HTML
{% macro paginator_nav(paginator) %}
|
|
|
|
<nav>
|
|
<p>
|
|
{% if paginator.previous %}
|
|
<a href="{{ paginator.previous }}">« Previous</a> |
|
|
{% endif %}
|
|
<span>Page {{ paginator.current_index }} of {{ paginator.number_pagers }}</span>
|
|
{% if paginator.next %}
|
|
| <a href="{{ paginator.next }}">Next »</a>
|
|
{% endif %}
|
|
</p>
|
|
</nav>
|
|
|
|
{% endmacro paginator_nav %}
|