indiekit icon indicating copy to clipboard operation
indiekit copied to clipboard

Preset: Urara

Open kwaa opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Hello! Urara is an IndieWeb compatible static blog starter that I wrote. since the Front-Matter format is now close to the microformats, I tried to open an issue here.

Describe the solution you’d like

Add a @indiekit/preset-urara package to provide urara support, the current front-matter definition can be found here.

The obvious difference is that Urara uses layout to determine post kinds, for example:

---
title: Example
summary: lorem ipsum...
layout: article
---

As well as providing visibility support through the flags:

private is not currently supported

---
title: Example Two
layout: note
flags:
- few-other
- unlisted
---

And for the path:

post: {
  path: "urara/{slug}/index.md",
  url: "/{slug}",
},
media: {
  path: "urara/{slug}/{filename}",
  url: "/{slug}/{filename}"
}

Additional context

I'm happy to try to maintain and test, but not quite sure how to implement it.

kwaa avatar May 05 '22 17:05 kwaa