diff options
-rw-r--r-- | app/views/refinery/blog/posts/archive.html.erb | 2 | ||||
-rw-r--r-- | app/views/refinery/blog/posts/tagged.html.erb | 2 | ||||
-rw-r--r-- | config/locales/en.yml | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/app/views/refinery/blog/posts/archive.html.erb b/app/views/refinery/blog/posts/archive.html.erb index c7a2c92..01e3748 100644 --- a/app/views/refinery/blog/posts/archive.html.erb +++ b/app/views/refinery/blog/posts/archive.html.erb @@ -1,3 +1,5 @@ +<% content_for :title, "#{t('.blog_archive_for', :date => @archive_date.strftime('%B %Y'))}" %> + <% content_for :body_content_left do %> <h1><%= t('.blog_archive_for', :date => @archive_date.strftime('%B %Y')) %></h1> <% if @blog_posts.any? %> diff --git a/app/views/refinery/blog/posts/tagged.html.erb b/app/views/refinery/blog/posts/tagged.html.erb index 477d2b7..468401a 100644 --- a/app/views/refinery/blog/posts/tagged.html.erb +++ b/app/views/refinery/blog/posts/tagged.html.erb @@ -1,3 +1,5 @@ +<% content_for :title, "#{t('.posts_tagged')} '#{@tag_name.titleize}'" %> + <% content_for :body_content_title, "#{t('.posts_tagged')} “#{@tag_name.titleize}”".html_safe -%> <% content_for :body_content_left do %> diff --git a/config/locales/en.yml b/config/locales/en.yml index e3b69c4..9222d11 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -140,7 +140,7 @@ en: no_blog_articles_yet: There are no blog articles posted yet. Stay tuned. posts_tagged: Posts tagged archive: - blog_archive_for: 'Blog Archive for %{date}' + blog_archive_for: 'Archive for %{date}' no_blog_articles_posted: 'There are no blog articles posted for %{date}. Stay tuned.' activerecord: models: |