Adapt template to pelican

This commit is contained in:
gilsondev
2014-12-10 15:17:48 -02:00
parent 0a744c749a
commit 669d407f5f
32 changed files with 19983 additions and 0 deletions

14
templates/pagination.html Normal file
View File

@ -0,0 +1,14 @@
{% if DEFAULT_PAGINATION %}
<!-- Pager -->
<ul class="pager">
<li class="next">
{% if articles_page.has_previous() %}
<a href="{{ SITEURL }}/{{ articles_previous_page.url }}">Newest Posts &rarr;</a>
{% endif %}
{% if articles_page.has_next() %}
<a href="{{ SITEURL }}/{{ articles_next_page.url }}">Older Posts &rarr;</a>
{% endif %}
</li>
</ul>
Page {{ articles_page.number }} / {{ articles_paginator.num_pages }}
{% endif %}