Reworked to newstyle gettext and named vars
This commit is contained in:
parent
36d06accb0
commit
5497850c51
14 changed files with 83 additions and 60 deletions
|
@ -2,12 +2,12 @@
|
|||
<div class="pagination">
|
||||
{% if articles_page.has_next() %}
|
||||
<a class="btn" href="{{ SITEURL }}/{{ articles_next_page.url }}">
|
||||
<i class="fa fa-angle-left"></i> {% trans %}Older Posts{% endtrans %}
|
||||
<i class="fa fa-angle-left"></i> {{ _('Older Posts') }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if articles_page.has_previous() %}
|
||||
<a class="btn float-right" href="{{ SITEURL }}/{{ articles_previous_page.url }}">
|
||||
{% trans %}Newer Posts{% endtrans %} <i class="fa fa-angle-right"></i>
|
||||
{{ _('Newer Posts') }} <i class="fa fa-angle-right"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue