mirror of
https://github.com/quartz-community/cname.git
synced 2026-11-17 00:03:32 +00:00
Quartz's default cname plugin.
- TypeScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| .changeset | ||
| .github/workflows | ||
| src | ||
| types | ||
| .eslintrc.json | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| CHANGELOG.md | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||
@quartz-community/cname
Writes a CNAME file to the root of the output folder containing the hostname of configuration.baseUrl (for baseUrl: quartz.example.com/docs that is quartz.example.com), for custom domain hosting on GitHub Pages and similar hosts. If baseUrl is not set, the plugin warns and writes nothing.
Installation
npx quartz plugin add @quartz-community/cname
It is already included (and enabled) in the default quartz.config.yaml.
Usage
plugins:
- source: "@quartz-community/cname"
enabled: true
Configuration
This plugin has no configuration options.
Documentation
See the Quartz documentation for more information.
License
MIT