Skip to content

Commit

Permalink
feat(templates): empty the title fields in the template
Browse files Browse the repository at this point in the history
That way they can be auto-filled by frontmatter on file creation.
  • Loading branch information
jmiguelv committed Nov 10, 2023
1 parent e7546ae commit ececd22
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .frontmatter/templates/default.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Page title
title: ""
feature:
image: ""
title: ""
Expand Down
3 changes: 2 additions & 1 deletion .frontmatter/templates/donation.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: The subject matter of the donation
title: ""
slug: ""
recipient: ""
agent: ""
price: ""
Expand Down
3 changes: 2 additions & 1 deletion .frontmatter/templates/event.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: The subject matter of the event
title: ""
slug: ""
attendeePerson: []
attendeeOrganisation: []
startDate: null
Expand Down
4 changes: 2 additions & 2 deletions .frontmatter/templates/moment.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: The moment title
slug: moment-title
title: ""
slug: ""
excerpt: Lorem ipsum dolor sit amet, qui minim labore adipisicing minim sint cillum sint consectetur cupidatat.
tags:
- moment
Expand Down
4 changes: 2 additions & 2 deletions .frontmatter/templates/organisation.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: The Organisation Name
slug: organisation-name
title: ""
slug: ""
alternateName: null
foundingDate: 1800
location: null
Expand Down
4 changes: 2 additions & 2 deletions .frontmatter/templates/person.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Person Name
slug: person-name
title: ""
slug: ""
alternateName: ""
url: null
tags:
Expand Down
4 changes: 2 additions & 2 deletions .frontmatter/templates/place.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Place Name
title: ""
slug: ""
alternateName: null
slug: place-name
url: null
tags:
- place
Expand Down
8 changes: 2 additions & 6 deletions .frontmatter/templates/theme.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
---
title: Theme title
slug: theme-title
title: ""
slug: ""
tags:
- theme
feature:
image: ""
title: The image title
description: ""
type: theme
---

Expand Down

0 comments on commit ececd22

Please sign in to comment.