blob: 9d0fd1986b0ed9262f49769af91efb9b5019ad3f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<nav id="next_prev_article">
<% if @post.next.present? -%>
<%= link_to (truncate(@post.next.title) + " »").html_safe,
main_app.refinery_blog_post_path(@post.prev),
:class => 'next' %>
<% end -%>
<%= link_to t('blog_home', :scope => 'refinery.blog.posts.show'),
main_app.refinery_blog_root_path,
:class => 'home' %>
<% if @post.prev.present? -%>
<%= link_to ("« " + truncate(@post.prev.title)).html_safe,
main_app.refinery_blog_post_path(@post.prev),
:class => 'prev' %>
<% end -%>
</nav><!-- /next_prev_article -->
|