Define repository content models

This commit is contained in:
2026-07-23 21:25:43 -07:00
parent dcc03c78ec
commit 319a9f6a9f
4 changed files with 52 additions and 0 deletions
+18
View File
@@ -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
+16
View File
@@ -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
+17
View File
@@ -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
+1
View File
@@ -8,6 +8,7 @@ site:
navigationFile: ./navigation.yml
projectsFile: ./projects.yml
contentModelsPath: content-models
theme:
source: site-definition