function feedPath
feedPath(
categorySlug?: string,
tab?: FeedTab,
view?: FollowView
): string

Returns the path of a feed: every dump's at the root, or a category's at /<slug>, on tab, or on the viewer's default tab without one. The follow tab takes a view, the users followed by default.

Parameters

optional
categorySlug: string
optional
tab: FeedTab
optional
view: FollowView

Return Type

string

Usage

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