I revisited the project and fixed some bugs, made a few improvement and added Markdown support for posts.
https://github.com/marciovmf/static/releases
I revisited the project and fixed some bugs, made a few improvement and added Markdown support for posts.
https://github.com/marciovmf/static/releases
On the left, the website structure. The site.txt and the Posts and themes folders. In the middle, the a portion of the source of the demo site index.html. The highlighted area displays a snipped of code that iterates all posts in order to render a links for each one of them along with their title and their creation date. It's worth noting the list is sorted by post creation date in ascending order.
A bit further, another loop iterating all "pages". Any html file in the current theme folder is considered a page and can be iterated and queried like a post.
As I said, there isn't much to a static site generator and that is why I believe this kind of tool should be simple and less bloated.
Minimum configuration is required. Convention is preferred over configuration for the most common task, that is adding posts.