Move redirects config to plugins section (was misplaced under theme)
This commit is contained in:
1 parent
4ececfa584
commit
1865552390
1 file changed
+8
-7
+8
-7
@@ -30,13 +30,6 @@ use_directory_urls: true
|
|||||||
|
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
redirects:
|
|
||||||
redirect_maps:
|
|
||||||
"charter.md": "governance/charter.md"
|
|
||||||
"code-of-conduct.md": "governance/code-of-conduct.md"
|
|
||||||
"open-questions.md": "governance/open-questions.md"
|
|
||||||
"terms-of-service.md": "governance/terms-of-service.md"
|
|
||||||
"privacy-policy.md": "governance/privacy-policy.md"
|
|
||||||
# Theme overrides. Used only to add a "documentation source" link to the
|
# Theme overrides. Used only to add a "documentation source" link to the
|
||||||
# footer on *every* page (overrides/partials/copyright.html) without putting
|
# footer on *every* page (overrides/partials/copyright.html) without putting
|
||||||
# it in the Markdown sources. No styling is changed here.
|
# it in the Markdown sources. No styling is changed here.
|
||||||
@@ -94,6 +87,14 @@ nav:
|
|||||||
plugins:
|
plugins:
|
||||||
# Built-in, offline search — the index is a JSON file in the build output.
|
# Built-in, offline search — the index is a JSON file in the build output.
|
||||||
- search
|
- search
|
||||||
|
# Built-in redirects — old governance URLs map into the governance/ folder.
|
||||||
|
- redirects:
|
||||||
|
redirect_maps:
|
||||||
|
"charter.md": "governance/charter.md"
|
||||||
|
"code-of-conduct.md": "governance/code-of-conduct.md"
|
||||||
|
"open-questions.md": "governance/open-questions.md"
|
||||||
|
"terms-of-service.md": "governance/terms-of-service.md"
|
||||||
|
"privacy-policy.md": "governance/privacy-policy.md"
|
||||||
|
|
||||||
hooks:
|
hooks:
|
||||||
# Rewrites directory-style links (e.g. [incidents/](incidents/)) to the
|
# Rewrites directory-style links (e.g. [incidents/](incidents/)) to the
|
||||||
|
|||||||
Reference in new issue
Block a user