module Jekyll::Helpers

Public Instance Methods

jekyll_tagging_slug(str) → new_str click to toggle source

Substitutes any diacritics in str with their ASCII equivalents, whitespaces with dashes and converts str to downcase.

   # File lib/jekyll/tagging.rb
14 def jekyll_tagging_slug(str)
15   str.to_s.replace_diacritics.downcase.gsub(/\s/, '-')
16 end