xy2z / capro

PHP8 static site generator
MIT License
8 stars 2 forks source link

Make it possible to change view's build filename (eg. for rss feeds) #16

Closed xy2z closed 1 year ago

xy2z commented 1 year ago

The current default is index.html, but it would be nice to save to other files eg .json, .atom or .xml, eg for RSS/Atom feeds.

Maybe make it possible to have a save_as variable in the yaml front matter. eg: save_as = feed.atom