Skip to content

Commit

Permalink
docs: add listing page doc
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelgautier committed Nov 11, 2023
1 parent 016369f commit 3fa1446
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/contents/listing-page.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Listing Page

Listing pages are automatically created when an `isPartOf` is filled in your content. But, you may want to customize this listing page with specific contents or title and description for SEO purposes for example.

Here an example of how to create a listing page :

```markdown:index.mdx
---
name: My website category
description: This category will help you find relevant content about the category topic.
identifier: category
inLanguage: en
listingPage: true
dateCreated: 2023-11-11T09:50:33.571Z
dateModified: 2023-11-11T09:51:19.968Z
---

Additional contents. The content will be listed below or a above depending on the theme project used.
```
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const sidebars = {
collapsed: true,
items: [
'contents/article',
'contents/listing-page',
'contents/creative-work',
'contents/organization',
'contents/page',
Expand Down

0 comments on commit 3fa1446

Please sign in to comment.