Hi,
Using the blog extension, I have an “articles.html” page to list all the articles. It’s simple:
---
title: Recent Articles
---
<h1>Recent Articles</h1>
<% blog.articles.each do |article| %>
<h2><%= article.title %> </h2>
<%= article.summary %>
<%= link_to 'Read more...', article %>
<% end %>
However, on this Recent Articles list page, the title is set to the title of the last article in the “blog.articles.each” loop. The layout.rb has:
<title><%= data.page.title %></title>
Am I doing this wrong? Perhaps there is a bug? If so, is there a way to “reset” or re-assign the Recent Articles title after the loop?