Re:Top Open-Source Static Site Generators
by sleavey on Monday September 10, 2018 @09:01AM
(#17951468)
You might want to consider that the name PLY is already used for a popular Python parsing library [1].
Re:Top Open-Source Static Site Generators
by atmoz on Monday September 10, 2018 @09:12AM
(#17951537)
Thanks for the heads-up, if my project gets more popular and do not just rot in my github account I will consider changing it.
Re:Top Open-Source Static Site Generators
by souterrain on Monday September 10, 2018 @08:40AM
(#17951344)
Go is apparently well suited to minimalist static site generators, see zas[1], zs[2], and z[3].
[1]: https://github.com/imdario/zas
All it does is convert .md files to .html and optionally uses nested Golang templates. There are some tricks behind the scenes, like support for tags and meta data (just like regular static site generators). Flexibility is concentrated into the templates, so no other files are needed.
I think the content (files) should reflect the structure of the webpage as close as possible when using a static site generator. When reducing complexity, we can go all the way down to the filesystem, where files and directories are the main building blocks. Content and design must be separated as much as possible.
I have not tested all static site generators out there, but the few that I tried did not satisfy my demands. So I just made my own (for fun and learning).
[1]: https://github.com/atmoz/ply