Add coverpage
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
nicholas 2024-03-05 23:03:16 +00:00
parent 9113a52f57
commit a13fdb4e76
3 changed files with 9 additions and 0 deletions

1
site/_coverpage.md Normal file
View File

@ -0,0 +1 @@
My docs

View File

@ -34,6 +34,11 @@ collections:
file: "site/README.md" file: "site/README.md"
fields: fields:
- { label: 'Body', name: 'body', widget: 'markdown' } - { label: 'Body', name: 'body', widget: 'markdown' }
- label: "Coverpage"
name: Coverpage
file: "site/_coverpage.md"
fields:
- { label: 'Body', name: 'body', widget: 'markdown' }
- label: "Sidebar" - label: "Sidebar"
name: Sidebar name: Sidebar
file: "site/_sidebar.md" file: "site/_sidebar.md"

View File

@ -15,6 +15,9 @@
window.$docsify = { window.$docsify = {
name: 'Docs', name: 'Docs',
loadSidebar: true, loadSidebar: true,
coverpage: true,
coverpage: '_coverpage.md',
onlyCover: false,
}; };
</script> </script>