Skip to content

Commit

Permalink
Arrows are decorative for presentation and not content
Browse files Browse the repository at this point in the history
Should be in CSS. Thought the base theme does not have CSS so no arrows.

Allows custom styling of pager links (images or Unicode symbols using
generated content).
  • Loading branch information
da2x committed Mar 8, 2014
1 parent e795a49 commit 2766e35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions nikola/data/themes/base/templates/index_helper.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<ul class="pager">
%if prevlink:
<li class="previous">
<a href="${prevlink}" rel="prev">&larr; ${messages("Newer posts")}</a>
<a href="${prevlink}" rel="prev">${messages("Newer posts")}</a>
</li>
%endif
%if nextlink:
<li class="next">
<a href="${nextlink}" rel="next">${messages("Older posts")} &rarr;</a>
<a href="${nextlink}" rel="next">${messages("Older posts")}</a>
</li>
%endif
</ul>
Expand Down
4 changes: 2 additions & 2 deletions nikola/data/themes/base/templates/post_helper.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@
<ul class="pager">
%if post.prev_post:
<li class="previous">
<a href="${post.prev_post.permalink()}" rel="prev" title="${post.prev_post.title()}">&larr; ${messages("Previous post")}</a>
<a href="${post.prev_post.permalink()}" rel="prev" title="${post.prev_post.title()}">${messages("Previous post")}</a>
</li>
%endif
%if post.next_post:
<li class="next">
<a href="${post.next_post.permalink()}" rel="next" title="${post.next_post.title()}">${messages("Next post")} &rarr;</a>
<a href="${post.next_post.permalink()}" rel="next" title="${post.next_post.title()}">${messages("Next post")}</a>
</li>
%endif
</ul>
Expand Down

0 comments on commit 2766e35

Please sign in to comment.