Switch talk pager items

This commit is contained in:
Oliver Davies 2017-02-19 21:19:44 +00:00
parent c873cf2321
commit 1a241e8b49
2 changed files with 18 additions and 18 deletions

View file

@ -0,0 +1,17 @@
<div class="talk-pager is-flex">
{% if page.previous_talk %}
<div class="is-half">
<a href="{{ page.previous_talk.url }}">
&laquo; {{ page.previous_talk.title }}
</a>
</div>
{% endif %}
{% if page.next_talk %}
<div class="is-half text-right">
<a href="{{ page.next_talk.url }}">
{{ page.next_talk.title }} &raquo;
</a>
</div>
{% endif %}
</div>

View file

@ -13,22 +13,5 @@
{% block content %}{% endblock %}
</div>
<div class="talk-pager is-flex">
{% if page.next_talk %}
<div class="is-half">
<a href="{{ page.next_talk.url }}">
&laquo; {{ page.next_talk.title }}
</a>
</div>
{% endif %}
{% if page.previous_talk %}
<div class="is-half text-right">
<a href="{{ page.previous_talk.url }}" class="is-half text-right">
{{ page.previous_talk.title }} &raquo;
</a>
</div>
{% endif %}
</div>
{% include 'talk/pager' %}
{% endblock %}