librarianphp / librarian

A static site generator and markdown indexer inspired by Hugo and DEV, written in PHP
https://librarianphp.dev/
MIT License
134 stars 11 forks source link

Create command to output a static build #15

Closed erikaheidi closed 1 year ago

erikaheidi commented 2 years ago

This has always been in the plans but got forgotten.

Let's implement a command to output a static build of your content, so that you can host it within static sites services like GH Pages and Netlify.

Seems pretty feasible with Twig, so I will give it a try.

erikaheidi commented 1 year ago

This is done and merged with #19 . At the moment we depend on Twig, there is a chance we could ditch it and use only Stencil, but it will require some more work. I will open a separate issue to evaluate that.