3 ms·
No mention of Eleventy [1] here. Definitely worth a look, my personal view is it nails the balance of simplicity, power and flexibility. I have used it for all
by possibleworlds 6y ago
No mention of Eleventy [1] here. Definitely worth a look, my personal view is it nails the balance of simplicity, power and flexibility. I have used it for all sorts of projects, from marketing websites to quick client docs and presentations. For non-trivial usage in a project see google web.dev [2].
[1] https://www.11ty.dev https://www.11ty.dev
[2] https://github.com/GoogleChrome/web.dev https://github.com/GoogleChrome/web.dev
- mtm7 6y agoI tried both Eleventy and Zola along with a few other SSGs for my blog [1], and ended up going with Eleventy. I love that it's flexible with my directory structure, that I can write shortcodes with JavaScript (without adding JS to the client), and preview my site from my phone without any extra setup. (It gives you a URL when you start up the development server! Magic!) It was almost trivial for me to add a social sharing image generator for my posts. [2] That's something I never thought my SSG would be able to do. Definitely check it out if you're looking at static generators. Zola too, which is amazing in its own right. [1] https://mtm.dev/static https://mtm.dev/static [2] https://mtm.dev/eleventy-social-sharing-images https://mtm.dev/eleventy-social-sharing-images
- benatkin 6y agoThe main template engine 11ty suggests is Nunjucks, which requires you to trust the template author. https://www.11ty.dev/docs/layouts/ https://www.11ty.dev/docs/layouts/ https://mozilla.github.io/nunjucks/templating.html#user-defined-templates-warning https://mozilla.github.io/nunjucks/templating.html#user-defi... Zola uses a similar template language called Tera that seems to be a lot safer.