note on blog publishing workflow

This commit is contained in:
Wouter Groeneveld 2022-05-11 17:47:12 +02:00
parent bd4e62a388
commit c5c72f8f9c
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
---
date: 2022-05-11T17:44:06+02:00
context: "https://minutestomidnight.co.uk/blog/automation-for-my-blog-publishing-workflow/"
---
I wonder how you set your `date` frontmatter, which isn't mentioned clearly? If I make a new note, I fire up a stupid JS script that creates the file accordingly---something akin to your method---but also formats the date (and pries out the active Firefox tab I want to "respond" to using Webmentions, see https://github.com/wgroeneveld/brainbaking/blob/master/hooks/prenote.js )
For me, I don't want that many prompts and find those annoying, I just want to automatically make the file in the right location with as much metadata filled in as possible. It then opens the file in Sublime. Title, tags, and content is added by hand.