diff options
| author | user <user@localhost.localdomain> | 2023-10-20 22:49:31 -0400 |
|---|---|---|
| committer | user <user@localhost.localdomain> | 2023-10-20 22:49:31 -0400 |
| commit | 6bfd84ae2c7aad006c3bc84cdce9aebf894cbe62 (patch) | |
| tree | adcce31c689d3e63ab3ea8bd36f9ac384eca4cad /archetypes | |
| parent | cf6c17546bc40d41c169279ad7b8f60bf0888ab3 (diff) | |
add summary for books
Diffstat (limited to 'archetypes')
| -rw-r--r-- | archetypes/book.md | 7 | ||||
| -rw-r--r-- | archetypes/post.md | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/archetypes/book.md b/archetypes/book.md index 1c79e82..39928c7 100644 --- a/archetypes/book.md +++ b/archetypes/book.md | |||
| @@ -2,8 +2,15 @@ | |||
| 2 | title: "{{ replace .File.ContentBaseName "-" " " | title }}" | 2 | title: "{{ replace .File.ContentBaseName "-" " " | title }}" |
| 3 | author: "" | 3 | author: "" |
| 4 | image: "" | 4 | image: "" |
| 5 | description: "Review and notes for {{ replace .File.ContentBaseName "-" " " | title }} by {{ .Params.author }}" | ||
| 5 | amazon: "" | 6 | amazon: "" |
| 6 | rating: 4 | 7 | rating: 4 |
| 7 | type: 'book' | 8 | type: 'book' |
| 9 | genres: | ||
| 10 | - fiction | ||
| 11 | categories: | ||
| 12 | - fiction | ||
| 8 | date: {{ .Date }} | 13 | date: {{ .Date }} |
| 14 | last_read: ['{{ dateFormat "2006-01-02" .Date }}'] | ||
| 15 | headless: true | ||
| 9 | --- \ No newline at end of file | 16 | --- \ No newline at end of file |
diff --git a/archetypes/post.md b/archetypes/post.md index 43dca9a..304e9f5 100644 --- a/archetypes/post.md +++ b/archetypes/post.md | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | --- | 1 | --- |
| 2 | title: "{{ replace .File.ContentBaseName "-" " " | title }}" | 2 | title: "{{ replace .File.ContentBaseName "-" " " | title }}" |
| 3 | date: {{ .Date }} | 3 | date: {{ .Date }} |
| 4 | image: "" | ||
| 5 | description: "Thoughts about some topic" | ||
| 4 | draft: true | 6 | draft: true |
| 5 | --- | 7 | --- |
