| | |
| | | import { htmlToJsx } from "../../util/jsx" |
| | | import { i18n } from "../../i18n" |
| | | |
| | | export default ((opts?: { sort?: (f1: QuartzPluginData, f2: QuartzPluginData) => number }) => { |
| | | const numPages = 10 |
| | | const TagContent: QuartzComponent = (props: QuartzComponentProps) => { |
| | | const { tree, fileData, allFiles, cfg } = props |
| | |
| | | </> |
| | | )} |
| | | </p> |
| | | <PageList limit={numPages} {...listProps} /> |
| | | <PageList limit={numPages} {...listProps} sort={opts?.sort} /> |
| | | </div> |
| | | </div> |
| | | ) |
| | |
| | | } |
| | | |
| | | TagContent.css = style + PageList.css |
| | | export default (() => TagContent) satisfies QuartzComponentConstructor |
| | | return TagContent |
| | | }) satisfies QuartzComponentConstructor |