TaxonomySlug Pennington.Taxonomy
The default taxonomy slug encoding, shared so links that point at a term page (e.g. tag chips on a post) produce the same URL that TaxonomyContentService discovers.
Methods
Slugify
#public static string Slugify(string value)
Lowercases value, collapses whitespace runs to single hyphens, and URL-encodes any remaining unsafe characters.
Parameters
valuestring
Returns
stringPennington.Taxonomy.TaxonomySlug
namespace Pennington.Taxonomy;
/// The default taxonomy slug encoding, shared so links that point at a term page (e.g. tag chips on a post) produce the same URL that TaxonomyContentService discovers.
public class TaxonomySlug
{
/// Lowercases value, collapses whitespace runs to single hyphens, and URL-encodes any remaining unsafe characters.
public static string Slugify(string value)
;
}