]> git.zndr.dk Git - vuepress.git/commitdiff
Add plugin clean-urls
authorJannik ZANDER <jannik@zndr.dk>
Sat, 21 Dec 2019 22:52:27 +0000 (23:52 +0100)
committerJannik ZANDER <jannik@zndr.dk>
Sat, 21 Dec 2019 22:52:27 +0000 (23:52 +0100)
docs/.vuepress/config.js

index f107f1d4442fc617386332cb83d4bc0ac14d8a15..53c93ad1b694a14d5f57f5e27311f49f164c7af3 100644 (file)
@@ -1,6 +1,12 @@
 module.exports = {
   plugins: [
     [
+      'vuepress-plugin-clean-urls',
+      {
+        normalSuffix: '/',
+        indexSuffix: '/',
+        notFoundPath: '/404.html',
+      },
       '@vuepress/blog',
       {
         directories: [