diff --git a/source/layouts/layout.haml b/source/layouts/layout.haml index a15d442..a7101ba 100644 --- a/source/layouts/layout.haml +++ b/source/layouts/layout.haml @@ -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' diff --git a/source/news/index.haml b/source/news/index.haml index 1f122cc..fe12e6c 100644 --- a/source/news/index.haml +++ b/source/news/index.haml @@ -1,3 +1,6 @@ +--- +title: Archives +--- %ul.archive - blog.articles.each do |article| %li