From c1370ad5cf6b95f5aabeafa15064e2ad2d6188e7 Mon Sep 17 00:00:00 2001 From: Dima Boger Date: Sat, 4 Jun 2022 17:48:25 +0400 Subject: [PATCH] Try blog plugin --- _articles/index.md | 14 ++++++++++++++ tlroadmap/.vuepress/config.js | 15 +++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 _articles/index.md diff --git a/_articles/index.md b/_articles/index.md new file mode 100644 index 00000000..0354a36a --- /dev/null +++ b/_articles/index.md @@ -0,0 +1,14 @@ +--- +article_index: true +title: Articles + +--- + +# Articles + +Once in a while I write things. I am going +to start writing more things more frequently +and posting them here. I hope they are +interesting, or better yet helpful, to you. + + diff --git a/tlroadmap/.vuepress/config.js b/tlroadmap/.vuepress/config.js index 1d88c412..63bba181 100644 --- a/tlroadmap/.vuepress/config.js +++ b/tlroadmap/.vuepress/config.js @@ -76,6 +76,21 @@ module.exports = (ctx) => ({ lastUpdated: 'В последний раз обновлено', }, plugins: [ + [ + '@vuepress/blog', + { + directories: [ + { + id: 'article', + dirname: '_articles', + itemPermalink: '/articles/:slug', + pagination: { + lengthPerPage: 2, + }, + } + ], + }, + ], [ '@vuepress/last-updated', {