diff options
author | uvok cheetah | 2019-05-27 21:01:43 +0200 |
---|---|---|
committer | uvok cheetah | 2019-05-27 21:01:43 +0200 |
commit | 5477376a8f7a6d7faf6b14058d96683ea8f85e7f (patch) | |
tree | c324ac84a900dd3f7b7bd6d085cf00c196b0a9a2 /_includes/pagetrail.html | |
parent | 070a9cd22823ed2ba5e3909c027b600945295333 (diff) |
Add pagination
Diffstat (limited to '_includes/pagetrail.html')
-rw-r--r-- | _includes/pagetrail.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/_includes/pagetrail.html b/_includes/pagetrail.html new file mode 100644 index 0000000..7ce2712 --- /dev/null +++ b/_includes/pagetrail.html @@ -0,0 +1,13 @@ +<div class="pagetrail"> +{% if paginator.page_trail %} + {% for trail in paginator.page_trail %} + <a + href="{{ trail.path | prepend: site.baseurl }}" + title="{{trail.title}}" + {% if page.url == trail.path %} + class="current_pagelink" + {% endif %} + >{{ trail.num }}</a> + {% endfor %} +{% endif %} +</div> |