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"
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"

View File

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