Skip to content

Commit

Permalink
chore: update frontmatter config
Browse files Browse the repository at this point in the history
  • Loading branch information
thedaviddias committed Aug 7, 2023
1 parent 6a909a9 commit c49595e
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "eliostruyf.vscode-front-matter"]
}
2 changes: 1 addition & 1 deletion content/episodes/00-prologue.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ type: Podcast
guid: 7bdb624a-c512-4c76-b490-737bf0efb7e6
episodeNumber: 0
season: 1
title: 'Prologue'
title: Prologue
slug: prologue
description: Présentation du podcast "Erreur 200" par David Dias et Jean-Rémy. Une présentation de qui ils sont, les origines de ce nouveau podcast et ce qui vous attends dans les prochains épisodes.
publicationDate: 2021-02-09
Expand Down
106 changes: 105 additions & 1 deletion frontmatter.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,107 @@
{
"$schema": "https://frontmatter.codes/frontmatter.schema.json"
"$schema": "https://frontmatter.codes/frontmatter.schema.json",
"frontMatter.framework.id": "next",
"frontMatter.content.publicFolder": "public",
"frontMatter.framework.startCommand": "npm run dev",
"frontMatter.preview.host": "http://localhost:3000",
"frontMatter.git.enabled": true,
"frontMatter.content.pageFolders": [
{
"title": "Podcast",
"path": "[[workspace]]/content/episodes/{{episodeNumber}}-{{slug}}",
"contentTypes": [
"Podcast"
]
}
],
"frontMatter.content.draftField": {
"name": "status",
"type": "choice",
"choices": [
"draft",
"archived",
"published"
]
},
"frontMatter.taxonomy.contentTypes": [
{
"name": "Podcast",
"pageBundle": false,
"fields": [
{
"title": "type",
"name": "type",
"type": "string"
},
{
"title": "guid",
"name": "guid",
"type": "string"
},
{
"title": "Slug",
"name": "slug",
"type": "slug",
"editable": true,
"default": "{{slug}}"
},
{
"title": "episodeNumber",
"name": "episodeNumber",
"type": "number"
},
{
"title": "season",
"name": "season",
"type": "number",
"default": "1"
},
{
"title": "title",
"name": "title",
"type": "string"
},
{
"title": "description",
"name": "description",
"type": "string"
},
{
"title": "publicationDate",
"name": "publicationDate",
"type": "datetime",
"default": "{{now}}",
"isPublishDate": true
},
{
"title": "url",
"name": "url",
"type": "string",
"default": "https://erreur200.s3.eu-west-3.amazonaws.com/"
},
{
"title": "author",
"name": "author",
"type": "string"
},
{
"title": "episodeType",
"name": "episodeType",
"type": "string",
"default": "full"
},
{
"title": "duration",
"name": "duration",
"type": "number"
},
{
"title": "status",
"name": "status",
"type": "string",
"default": "draft"
}
]
}
]
}
Binary file removed public/images/erreur-200-podcast-artwork.jpg
Binary file not shown.

0 comments on commit c49595e

Please sign in to comment.