lib/nanoc3/helpers/blogging.rb in nanoc3-3.0.8 vs lib/nanoc3/helpers/blogging.rb in nanoc3-3.0.9

- old
+ new

@@ -166,11 +166,11 @@ xml.id root_url xml.title @item[:title] # Add date time = last_article[:created_at] - xml.updated (time.is_a?(String) ? Time.parse(time) : time).to_iso8601_time + xml.updated((time.is_a?(String) ? Time.parse(time) : time).to_iso8601_time) # Add links xml.link(:rel => 'alternate', :href => root_url) xml.link(:rel => 'self', :href => feed_url) @@ -191,10 +191,10 @@ xml.id atom_tag_for(a) xml.title a[:title], :type => 'html' # Add dates time = a[:created_at] - xml.published (time.is_a?(String) ? Time.parse(time) : time).to_iso8601_time + xml.published((time.is_a?(String) ? Time.parse(time) : time).to_iso8601_time) xml.updated a.mtime.to_iso8601_time # Add link xml.link(:rel => 'alternate', :href => url)