diff options
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/static.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/_layouts/static.html b/_layouts/static.html index 9816df5..2ac00f8 100644 --- a/_layouts/static.html +++ b/_layouts/static.html @@ -10,10 +10,26 @@ <body> <div id="bucket"> + + <nav id="pagination"> + {% if paginator.previous_page %} + {% if paginator.previous_page == 1 %} + <a class="previous" href="/" title="Previous Page">◀</a> + {% else %} + <a class="previous" href="/page{{ paginator.previous_page }}/" title="Previous Page">◀</a> + {% endif %} + {% endif %} + + {% if paginator.next_page %} + <a class="next" href="/page{{ paginator.next_page }}/" title="Next Page">▶</a> + {% endif %} + </nav> + <h1 id="logo">{{site.title}}</h1> <h1>{{page.title}}</h1> {{content}} + </div> </body> </html> |