From a13fdb4e76e1b1fc526aafa1565c18f0a2f5f71b Mon Sep 17 00:00:00 2001 From: nicholas Date: Tue, 5 Mar 2024 23:03:16 +0000 Subject: [PATCH] Add coverpage --- site/_coverpage.md | 1 + site/admin/config.yml | 5 +++++ site/index.html | 3 +++ 3 files changed, 9 insertions(+) create mode 100644 site/_coverpage.md diff --git a/site/_coverpage.md b/site/_coverpage.md new file mode 100644 index 0000000..9ed4202 --- /dev/null +++ b/site/_coverpage.md @@ -0,0 +1 @@ +My docs diff --git a/site/admin/config.yml b/site/admin/config.yml index 6f87d71..92d19fc 100644 --- a/site/admin/config.yml +++ b/site/admin/config.yml @@ -34,6 +34,11 @@ collections: file: "site/README.md" fields: - { label: 'Body', name: 'body', widget: 'markdown' } + - label: "Coverpage" + name: Coverpage + file: "site/_coverpage.md" + fields: + - { label: 'Body', name: 'body', widget: 'markdown' } - label: "Sidebar" name: Sidebar file: "site/_sidebar.md" diff --git a/site/index.html b/site/index.html index 8622141..3197a8f 100644 --- a/site/index.html +++ b/site/index.html @@ -15,6 +15,9 @@ window.$docsify = { name: 'Docs', loadSidebar: true, + coverpage: true, + coverpage: '_coverpage.md', + onlyCover: false, };