We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a58064c commit 8753cbdCopy full SHA for 8753cbd
lib/jekyll-feed/generator.rb
@@ -89,12 +89,9 @@ def generate_feed_by_tag
89
90
def generate_tag_feed(tags_pool, tags_path)
91
tags_pool.each do |tag|
92
- # allow only tags with basic alphanumeric characters and underscore to keep
93
- # feed path simple.
94
- next if %r![^a-zA-Z0-9_]!.match?(tag)
95
-
+ tag_slug = Jekyll::Utils.slugify(tag)
96
Jekyll.logger.info "Jekyll Feed:", "Generating feed for posts tagged #{tag}"
97
- path = "#{tags_path}#{tag}.xml"
+ path = "#{tags_path}#{tag_slug}.xml"
98
next if file_exists?(path)
99
100
@site.pages << make_page(path, :tags => tag)
0 commit comments