aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/refinery/blog
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/refinery/blog')
-rw-r--r--app/views/refinery/blog/posts/archive.html.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/refinery/blog/posts/archive.html.erb b/app/views/refinery/blog/posts/archive.html.erb
index 31b5c1e..86a648c 100644
--- a/app/views/refinery/blog/posts/archive.html.erb
+++ b/app/views/refinery/blog/posts/archive.html.erb
@@ -1,13 +1,13 @@
-<% content_for :title, "#{t('.blog_archive_for', :date => @archive_date.strftime('%B %Y'))}" %>
+<% content_for :title, "#{t('.blog_archive_for', :date => @date_title)}" %>
<% content_for :body do %>
- <h1><%= t('.blog_archive_for', :date => @archive_date.strftime('%B %Y')) %></h1>
+ <h1><%= t('.blog_archive_for', :date => @date_title) %></h1>
<% if @posts.any? %>
<section id="blog_posts">
<%= render :partial => "/refinery/blog/shared/post", :collection => @posts %>
</section>
<% else %>
- <p><%= t('.no_blog_articles_posted', :date => @archive_date.strftime('%B %Y')) %></p>
+ <p><%= t('.no_blog_articles_posted', :date => @date_title) %></p>
<% end %>
<% end %>