mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-29 14:36:22 +00:00
dd82ab8d79
* Update Assets.md * expand fix for every /plugins page
829 B
829 B
title | tags | |
---|---|---|
AliasRedirects |
|
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:
aliases
alias
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:
Plugin.AliasRedirects()
. - Source:
quartz/plugins/emitters/aliases.ts
.