aboutsummaryrefslogtreecommitdiffstats
path: root/medio/templates/pagination.html
diff options
context:
space:
mode:
authorPachamaltese <mvargas@dcc.uchile.cl>2017-04-08 08:49:35 -0300
committerAlexis Metaireau <alexis@notmyidea.org>2017-04-08 13:49:35 +0200
commitb201e57315350340366ca8d2659e5429b85aab10 (patch)
tree2b6fe40e630e8916285d9293da8e057d50b30db9 /medio/templates/pagination.html
parentaad467728fc44d967a410cea977bf67a67355fb6 (diff)
downloadpelican-themes-b201e57315350340366ca8d2659e5429b85aab10.tar.gz
uploaded medio theme (#477)
* uploaded medio theme * cons example * Added example_pelicanconf.py
Diffstat (limited to 'medio/templates/pagination.html')
-rwxr-xr-xmedio/templates/pagination.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/medio/templates/pagination.html b/medio/templates/pagination.html
new file mode 100755
index 0000000..0208df3
--- /dev/null
+++ b/medio/templates/pagination.html
@@ -0,0 +1,16 @@
+{% if DEFAULT_PAGINATION %}
+<div class="pagination">
+ <div class="post-meta pure-g">
+ <div class="pure-u-1-2 left">
+ {% if articles_page.has_previous() %}
+ <a href="{{ SITEURL }}/{{ articles_previous_page.url }}">Previous articles</a>
+ {% endif %}
+ </div>
+ <div class="pure-u-1-2 right">
+ {% if articles_page.has_next() %}
+ <a href="{{ SITEURL }}/{{ articles_next_page.url }}">More articles</a>
+ {% endif %}
+ </div>
+ </div>
+</div>
+{% endif %}