| | |
| | | import { JSResource } from "../../resources" |
| | | // @ts-ignore |
| | | import calloutScript from "../../components/scripts/callout.inline.ts" |
| | | import { FilePath, canonicalizeServer, pathToRoot, slugifyFilePath } from "../../path" |
| | | import { FilePath, canonicalizeServer, pathToRoot, slugTag, slugifyFilePath } from "../../path" |
| | | |
| | | export interface Options { |
| | | comments: boolean |
| | |
| | | |
| | | return { |
| | | type: "link", |
| | | url: base + `/tags/${slugAnchor(tag)}`, |
| | | url: base + `/tags/${slugTag(tag)}`, |
| | | data: { |
| | | hProperties: { |
| | | className: ["tag-link"], |