function categoryPath
categoryPath(
slug: string
): string

Returns the path of the page of the category of kind at slug: a dump category's feed (feedPath), or a playlist category's playlists (playlistsPath). The category chips link to it.

Parameters

slug: string

Return Type

string

Usage

import { categoryPath } from "shared/paths.ts";