1
0
mirror of https://github.com/meineerde/holgerjust.de.git synced 2026-02-21 19:12:05 +00:00

Rename local tag in tagname

This commit is contained in:
Holger Just 2016-11-22 18:02:02 +01:00
parent 449891425e
commit 30cad767dd

View File

@ -146,9 +146,9 @@ Dir["#{drafts_dir}/*/*"].each do |draft|
end
ready do
blog.tags.each do |tag, articles|
proxy "/tag/#{tag.downcase.parameterize}/feed.xml", '/feed.xml', layout: false do
@tagname = tag
blog.tags.each do |tagname, articles|
proxy "/tag/#{tagname.downcase.parameterize}/feed.xml", '/feed.xml', layout: false do
@tagname = tagname
@articles = articles
end
end