mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-21 21:45:42 -05:00
25 lines
688 B
Markdown
25 lines
688 B
Markdown
---
|
|
title: CNAME
|
|
tags:
|
|
- plugin/emitter
|
|
image:
|
|
---
|
|
|
|
This plugin emits a `CNAME` record that points your subdomain to the default domain of your site.
|
|
|
|
If you want to use a custom domain name like `quartz.example.com` for the site, then this is needed.
|
|
|
|
See [[hosting|Hosting]] for more information.
|
|
|
|
> [!note]
|
|
> For information on how to add, remove or configure plugins, see the [[configuration#Plugins|Configuration]] page.
|
|
|
|
This plugin has no configuration options.
|
|
|
|
## API
|
|
|
|
- Category: Emitter
|
|
- Function name: `ExternalPlugin.CNAME()`.
|
|
- Source: [`quartz-community/cname`](https://github.com/quartz-community/cname)
|
|
- Install: `npx quartz plugin add github:quartz-community/cname`
|