mirror of
https://github.com/pi-hole/docs.git
synced 2024-12-06 19:27:12 +01:00
Add mkdocs-redirects plugin
Now the redirects are specified in mkdocs.yml
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
---
|
||||
redirect: /database/
|
||||
---
|
||||
@@ -1,6 +0,0 @@
|
||||
---
|
||||
title: Redirect for /ftldns/regex/
|
||||
description: This url changed from page to subsection, must redirect from other sites to new page.
|
||||
last_updated: Mon Jan 14 11:47:02 2019 UTC
|
||||
redirect: /ftldns/regex/overview/
|
||||
---
|
||||
@@ -1,6 +0,0 @@
|
||||
---
|
||||
title: Presenting Pi-hole
|
||||
description: Support for presenters
|
||||
last_updated: Sun Feb 9 2020
|
||||
redirect: /
|
||||
---
|
||||
@@ -135,3 +135,8 @@ extra_css:
|
||||
plugins:
|
||||
- search
|
||||
- git-revision-date-localized
|
||||
- redirects:
|
||||
redirect_maps:
|
||||
'ftldns/database.md': database/index.md
|
||||
'ftldns/regex/index.md': ftldns/regex/overview.md
|
||||
'main/presentations.md': index.md
|
||||
|
||||
@@ -2,3 +2,4 @@ markdown-include==0.5.1
|
||||
mkdocs==1.1.2
|
||||
mkdocs-git-revision-date-localized-plugin==0.5.2
|
||||
mkdocs-material==5.2.2
|
||||
mkdocs-redirects==1.0.1
|
||||
|
||||
Reference in New Issue
Block a user