lib/middleman-blog/extension.rb in middleman-blog-3.0.0.beta.3 vs lib/middleman-blog/extension.rb in middleman-blog-3.0.0.rc.1

- old
+ new

@@ -127,10 +127,10 @@ end # Get a {Resource} with mixed in {BlogArticle} methods representing the current article. # @return [Middleman::Sitemap::Resource] def current_article - blog.article(current_page.path) + blog.article(current_resource.path) end # Get a path to the given tag, based on the :taglink setting. # @param [String] tag # @return [String]