From 70f505618ddc2b16950a329e52d8cc2295088c20 Mon Sep 17 00:00:00 2001 From: Ariona Rian Date: Fri, 29 May 2020 14:11:39 +0700 Subject: [PATCH] Redirect blog posts to /blog/:slug - Remove unused folder - Remove newsletter - Remove photoswipe --- package.json | 2 + site/.vuepress/components/Gallery.vue | 16 +- site/.vuepress/config.js | 6 +- site/.vuepress/public/_redirects | 85 ++++- site/.vuepress/theme/fonts/ariona.svg | 18 - site/.vuepress/theme/layouts/Homepage.vue | 4 +- site/.vuepress/theme/layouts/Page.vue | 5 +- site/.vuepress/theme/layouts/Post.vue | 4 +- yarn.lock | 418 +++++++++++++++++++++- 9 files changed, 509 insertions(+), 49 deletions(-) delete mode 100755 site/.vuepress/theme/fonts/ariona.svg diff --git a/package.json b/package.json index 86fe177..1c7352e 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,9 @@ "@vuepress/plugin-google-analytics": "^1.5.0", "@vuepress/plugin-search": "^1.5.0", "axios": "^0.19.2", + "critters-webpack-plugin": "^2.5.0", "dayjs": "^1.8.27", + "html-webpack-plugin": "^4.3.0", "lodash.debounce": "^4.0.8", "lodash.throttle": "^4.1.1", "md5": "^2.2.1", diff --git a/site/.vuepress/components/Gallery.vue b/site/.vuepress/components/Gallery.vue index ef7480e..7468426 100644 --- a/site/.vuepress/components/Gallery.vue +++ b/site/.vuepress/components/Gallery.vue @@ -1,13 +1,17 @@