Skip to content

Commit

Permalink
Clean up prev/next HTML templates (#195)
Browse files Browse the repository at this point in the history
closes undefined
  • Loading branch information
choldgraf authored Jan 22, 2023
1 parent d7c08e5 commit d2252a5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/ablog/templates/ablog/postnavy.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% set post = ablog[pagename] %}
{% if post.published and ablog.post_show_prev_next %}
<div class="section ablog__prev-next">
<span>
<span class="ablog__prev">
{% if post.prev %}
{% if not ablog.fontawesome %}
{{ gettext('Previous') }}:
Expand All @@ -11,18 +11,18 @@
{% if ablog.fontawesome %}
<i class="fa fa-arrow-circle-left"></i>
{% endif %}
{{ post.prev.title }}
<span>{{ post.prev.title }}</span>
</a>
{% endif %}
</span>
<span>&nbsp;</span>
<span>
<span class="ablog__spacer">&nbsp;</span>
<span class="ablog__next">
{% if post.next %}
{% if not ablog.fontawesome %}
{{ gettext('Next') }}:
{% endif %}
<a href="{{ pathto(post.next.docname) }}{{ anchor(post.next) }}">
{{ post.next.title }}
<span>{{ post.next.title }}</span>
{% if ablog.fontawesome %}
<i class="fa fa-arrow-circle-right" ></i>
{% endif %}
Expand Down

0 comments on commit d2252a5

Please sign in to comment.