| | |
| | | import { pageResources, renderPage } from "../../components/renderPage" |
| | | import { ProcessedContent, defaultProcessedContent } from "../vfile" |
| | | import { FullPageLayout } from "../../cfg" |
| | | import { |
| | | CanonicalSlug, |
| | | FilePath, |
| | | ServerSlug, |
| | | getAllSegmentPrefixes, |
| | | joinSegments, |
| | | } from "../../util/path" |
| | | import { FilePath, FullSlug, getAllSegmentPrefixes, joinSegments } from "../../util/path" |
| | | import { defaultListPageLayout, sharedPageComponents } from "../../../quartz.layout" |
| | | import { TagContent } from "../../components" |
| | | |
| | |
| | | return [ |
| | | tag, |
| | | defaultProcessedContent({ |
| | | slug: joinSegments("tags", tag) as ServerSlug, |
| | | slug: joinSegments("tags", tag) as FullSlug, |
| | | frontmatter: { title, tags: [] }, |
| | | }), |
| | | ] |
| | |
| | | } |
| | | |
| | | for (const tag of tags) { |
| | | const slug = joinSegments("tags", tag) as CanonicalSlug |
| | | const slug = joinSegments("tags", tag) as FullSlug |
| | | const externalResources = pageResources(slug, resources) |
| | | const [tree, file] = tagDescriptions[tag] |
| | | const componentData: QuartzComponentProps = { |