mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-07-22 03:00:29 +00:00
1.1 KiB
1.1 KiB
| title | description | tags | image | repository | enabled | required | |
|---|---|---|---|---|---|---|---|
| AliasRedirects | Generates redirect pages from frontmatter aliases. |
|
https://images.unsplash.com/photo-1601735479770-bb5de9dbe844 | [quartz-community/alias-redirects](https://github.com/quartz-community/alias-redirects) | true | false |
This plugin emits HTML redirect pages for aliases and permalinks defined in the frontmatter of content files.
For example, A foo.md has the following frontmatter
---
title: "Foo"
alias:
- "bar"
---
The target host.me/bar will be redirected to host.me/foo
Note that these are permanent redirect.
The emitter supports the following aliases:
aliasesalias
Note
For information on how to add, remove or configure plugins, see the configuration#Plugins page.
This plugin has no configuration options.
API
- Category: Emitter
- Function name:
ExternalPlugin.AliasRedirects(). - Source:
quartz-community/alias-redirects - Install:
npx quartz plugin add github:quartz-community/alias-redirects