Skip to content

Commit

Permalink
Fix to show html title to "Archives" page
Browse files Browse the repository at this point in the history
  • Loading branch information
tricknotes committed Aug 25, 2013
1 parent 171decd commit 149b171
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/layouts/layout.haml
Expand Up @@ -13,7 +13,7 @@
%meta{property: 'og:description', content: data.information.description}

%title
- title = current_page.title.presence if current_page.respond_to?(:title)
- title = current_page.data.title.presence
= [title, data.information.name].compact.join(' | ')

= stylesheet_link_tag 'style'
Expand Down
3 changes: 3 additions & 0 deletions source/news/index.haml
@@ -1,3 +1,6 @@
---
title: Archives
---
%ul.archive
- blog.articles.each do |article|
%li
Expand Down

0 comments on commit 149b171

Please sign in to comment.