diff --git a/docs/ftldns/database.md b/docs/ftldns/database.md deleted file mode 100644 index fd42c2f..0000000 --- a/docs/ftldns/database.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -redirect: /database/ ---- diff --git a/docs/ftldns/regex/index.md b/docs/ftldns/regex/index.md deleted file mode 100644 index 6287dbe..0000000 --- a/docs/ftldns/regex/index.md +++ /dev/null @@ -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/ ---- diff --git a/docs/main/presentations.md b/docs/main/presentations.md deleted file mode 100755 index be1ab7d..0000000 --- a/docs/main/presentations.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: Presenting Pi-hole -description: Support for presenters -last_updated: Sun Feb 9 2020 -redirect: / ---- diff --git a/mkdocs.yml b/mkdocs.yml index 8289fa1..8ce053c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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 diff --git a/requirements.txt b/requirements.txt index 8399576..511b698 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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