An example of getting started with 11ty in Termux
The first thing I did was watch some youtubes on static site generators and then I decided on one. I chose 11ty because it popular now and it is highly configurable with minimal opinions. I followed the instructuons from the Getting started guide https://www.11ty.dev/docs/getting-started/ You must use the Termux builtin storage and not shared Android storage because 11ty node install uses symlinks. Let me know if there is a way to circumvent this. It would be nice to use my android editor apps instead of vim. I removed index.html I removed README.md Created this file structure https://github.com/hassan-theitguy/poems/tree/main/poems I used python to create my poems.json file from a poem.dat file that was exported from Google Keep and @ prefixed to each title Make sure the field used for pagination is unique. I had 3 duplicates that I manually fixed but I will change my python code to include index in the json. The two main things I learnt was creating pagination in nunjucks and looping