Skip to content

Commit

Permalink
feat(templates): add occupation to person
Browse files Browse the repository at this point in the history
  • Loading branch information
jmiguelv committed Nov 10, 2023
1 parent ae1359f commit 0ec06ee
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions .frontmatter/templates/person.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ feature:
image: /assets/images/people/placeholder.svg
title: The image title
description: Placeholder image for the organisation
hasOccupation: []
knows: []
memberOf: []
type: person
Expand Down
21 changes: 20 additions & 1 deletion frontmatter.json
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,12 @@
}
]
},
{
"title": "The person occupation",
"name": "hasOccupation",
"type": "taxonomy",
"taxonomyId": "occupationTaxonomy"
},
{
"title": "Knows",
"name": "knows",
Expand Down Expand Up @@ -677,5 +683,18 @@
"frontMatter.content.publicFolder": {
"path": "[[workspace]]/frontend/public",
"relative": false
}
},
"frontMatter.taxonomy.customTaxonomy": [
{
"id": "occupationTaxonomy",
"options": [
"Agriculturalist",
"Bookseller",
"Blacksmith",
"Carpenter",
"Farmer",
"Mason"
]
}
]
}

0 comments on commit 0ec06ee

Please sign in to comment.