importantimport/urara

Auto-determined post type

kwaa opened this issue · 0 comments

kwaa commented

Currently, the post type is specified via FrontMatter's layout, while the default is article:
this reduces my motivation to refine other types.

so instead of setting the post type via layout, it might be better to detect a specific FrontMatter value?

---
title: My New Post
photo: '/featured.avif'
- layout: article
---
article with title and featured image
---
photo: '/photo.avif'
- layout: photo
---
photo (based on note)

for users, this reduces complexity and encourages experimentation with other types.