move DRAFT-template into a templates directory & integrate with Obsidian
This commit is contained in:
parent
80c6ec95bd
commit
a16b140fd6
|
@ -0,0 +1,16 @@
|
|||
[
|
||||
"file-explorer",
|
||||
"global-search",
|
||||
"switcher",
|
||||
"graph",
|
||||
"backlink",
|
||||
"canvas",
|
||||
"page-preview",
|
||||
"templates",
|
||||
"note-composer",
|
||||
"command-palette",
|
||||
"editor-status",
|
||||
"markdown-importer",
|
||||
"word-count",
|
||||
"file-recovery"
|
||||
]
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"folder": "content/templates"
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
+++
|
||||
title = "Template Blog Entry"
|
||||
description = "remove DRAFT prefix and add a date field to link this from the index and feeds"
|
||||
+++
|
||||
|
||||
digging around the site, huh? :-)
|
|
@ -0,0 +1,16 @@
|
|||
+++
|
||||
title = "#todo:FILLME"
|
||||
description = "#todo:FILLME"
|
||||
date = {{date:YYYY-MM-DD}}
|
||||
+++
|
||||
|
||||
#todo: remove the "DRAFT-" prefix from this filename to publish.
|
||||
|
||||
## instantiation (Obsidian)
|
||||
|
||||
1. create a new file, blog/DRAFT-YYYY-MM-DD-title
|
||||
2. ctrl + P => "insert template"
|
||||
|
||||
## instantiation (manual)
|
||||
|
||||
1. `cp templates/DRAFT-blog-article.md blog/DRAFT-YYYY-MM-DD-title`
|
Loading…
Reference in New Issue