mirror of
https://github.com/quartz-community/content-page.git
synced 2026-07-22 02:50:24 +00:00
No description
| .github/workflows | ||
| src | ||
| .eslintrc.json | ||
| .gitignore | ||
| .prettierrc | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||
@quartz-community/content-page
The default page type for regular content pages. Matches all pages except folder index pages and tag pages.
Installation
npx quartz plugin add github:quartz-community/content-page
Usage
// quartz.config.ts
import * as ExternalPlugin from "./.quartz/plugins";
const config: QuartzConfig = {
plugins: {
pageTypes: [ExternalPlugin.ContentPage()],
},
};
// quartz.layout.ts
export const layout = {
byPageType: {
content: {
beforeBody: [...],
left: [...],
right: [...],
},
},
}
Configuration
This plugin has no configuration options.
Documentation
See the Quartz documentation for more information.
License
MIT