mkaz / hastie

A static site generator in Python

Home Page:https://mkaz.github.io/hastie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecate setting date and category from filename

mkaz opened this issue · comments

I prefer having one way to setup data, that is the front-matter.

  • Deprecate setting date by filename. This feature was copied from Jekyll and I've never really liked it, it requires moving files around just to change a date, and it pollutes the file system with meta data making it harder to read

  • Deprecate setting category by directory. Where a file lives in the filesystem and what category it belongs too can be two separate things. Move setting of categories to only front-matter.

Deprecation plans is to add a notice in v0.9.0 that the features (if used) are planning to be removed, and then removing in v1.0.0

Both of these are optional and over written by front matter.
No need to deprecate.