tdreyno/middleman — Issue #206: Getting metadata from a child page in the sitemap pollutes the metadata for the parent page
Author: audionerd
Created: 2011-12-21 18:07:38+00:00
State: open

If I have front matter in a child page, and grab it from the parent page like this:

<%= sitemap.page('/page/like/this.html').template.metadata.to_s %>

... then the title from the child page YAML is overriding the parent page YAML.