diff --git a/lib/jekyll-archives/archive.rb b/lib/jekyll-archives/archive.rb index 387efd8..5893609 100644 --- a/lib/jekyll-archives/archive.rb +++ b/lib/jekyll-archives/archive.rb @@ -33,7 +33,7 @@ def initialize(site, title, type, posts) # Generate slug if tag or category # (taken from jekyll/jekyll/features/support/env.rb) - @slug = Utils.slugify(title) if title.is_a? String + @slug = Utils.slugify(title, mode: @config["slug_mode"]) if title.is_a? String # Use ".html" for file extension and url for path @ext = File.extname(relative_path)