summaryrefslogtreecommitdiff
path: root/_includes/pagetrail.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/pagetrail.html')
-rw-r--r--_includes/pagetrail.html13
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>