4 ms·
That's basically what I've done with [trofaf][0]. 3 subdirectories: posts/ public/ templates/ Posts without valid YAML front matter are ignored (drafts, for
by PuerkitoBio 13y ago
That's basically what I've done with [trofaf][0]. 3 subdirectories:
posts/
public/
templates/
Posts without valid YAML front matter are ignored (drafts, for example), and the few options available are on the command line, no config file. I run it with upstart and it watches the posts/ and templates/ directories for changes, rebuilds as needed. Pretty much the simplest still-useful static site generator I could think of. Fits my needs anyway.
[0]: https://github.com/PuerkitoBio/trofaf https://github.com/PuerkitoBio/trofaf