This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

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

value string

Returns

string

Pennington.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)
; }