From 002e5fff02131fac20c7707d9189cbbc26910771 Mon Sep 17 00:00:00 2001 From: EGOIST <0x142857@gmail.com> Date: Sun, 31 Mar 2019 14:47:00 +0800 Subject: [PATCH] fix: add pages/index.md in create-blog --- packages/create-blog/template/pages/index.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 packages/create-blog/template/pages/index.md diff --git a/packages/create-blog/template/pages/index.md b/packages/create-blog/template/pages/index.md new file mode 100644 index 000000000..cf032b811 --- /dev/null +++ b/packages/create-blog/template/pages/index.md @@ -0,0 +1,6 @@ +--- +# Fallback to `default` layout if `index` is not found +layout: index +# Inject post list as `page.posts` (by saber-plugin-query-posts) +injectAllPosts: true +---