Define repository content models
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
id: article
|
||||||
|
kind: content-model
|
||||||
|
name: Article
|
||||||
|
description: Longform articles and blog posts.
|
||||||
|
semantics:
|
||||||
|
document: true
|
||||||
|
chronological: true
|
||||||
|
searchable: true
|
||||||
|
indexable: true
|
||||||
|
routing:
|
||||||
|
detail: /articles/{slug}/
|
||||||
|
presentation:
|
||||||
|
default_style_config: article
|
||||||
|
capabilities:
|
||||||
|
- detail-page
|
||||||
|
- index-page
|
||||||
|
- rss
|
||||||
|
- search
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
id: page
|
||||||
|
kind: content-model
|
||||||
|
name: Page
|
||||||
|
description: Standalone generic pages.
|
||||||
|
semantics:
|
||||||
|
document: true
|
||||||
|
chronological: false
|
||||||
|
searchable: true
|
||||||
|
indexable: true
|
||||||
|
routing:
|
||||||
|
detail: /{slug}/
|
||||||
|
presentation:
|
||||||
|
default_style_config: article
|
||||||
|
capabilities:
|
||||||
|
- detail-page
|
||||||
|
- search
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
id: project
|
||||||
|
kind: content-model
|
||||||
|
name: Project
|
||||||
|
description: Project showcases and portfolios.
|
||||||
|
semantics:
|
||||||
|
document: true
|
||||||
|
chronological: false
|
||||||
|
searchable: true
|
||||||
|
indexable: true
|
||||||
|
routing:
|
||||||
|
detail: /projects/{slug}/
|
||||||
|
presentation:
|
||||||
|
default_style_config: project
|
||||||
|
capabilities:
|
||||||
|
- detail-page
|
||||||
|
- index-page
|
||||||
|
- search
|
||||||
Reference in New Issue
Block a user