Open bmann opened 5 years ago
@patdryburgh I know you had more front matter. I trimmed it to be more “Jekyll minimal”. eg I know you put “published” as one entry. Is that a true/false or a published date? And permalink I personally only use for pages and set in config for posts.
Can you please document the front matter you use and what you use the entries for?
And review what I’ve written here to see if it makes sense.
This should be configurable, but it would be nice if it “just worked” on a first test, without special layout, and then users could edit config files and/or their own Jekyll site to customize it.
@bmann Published
is a Boolean that allows you to save posts as drafts. It is true
by default, and I don’t think we need to support draft posts at this time, so I’m good to drop it.
Also good to drop Permalink for the reasons you’ve given.
The only other fields we may consider — though it’s debatable whether they’re required for an MVP — are:
The only custom variable I’ve started to use is audio
for my podcast, but I’m not sure what apps like Wavelength for Micro.blog are doing for this.
Everything else looks 👍😊
Jekyll is the initially supported static site generator we want to target, especially when it is also hosted on GitHub Pages.
Along with the body of the post, Jekyll requires “front matter” — metadata at the top of text files. See https://jekyllrb.com/docs/frontmatter/
The server needs to accept a micropub formatted posted from microblog as per #1 and then create a Jekyll compatible markdown text file and push it to the Git repo.
The default front matter should look like this:
The rest of the file should include the body of the content.
TO DO: