3 ms·
>Faced with the problem of generating a static part for my website, I just used Django to "print" the static part. Sounds way more involved compared to what yo
by coldtea 9y ago
>Faced with the problem of generating a static part for my website, I just used Django to "print" the static part.
Sounds way more involved compared to what you'd do with just a static site generator -- especially one that's a single binary.
- seertaak 9y agoThe website is a commercial one which accepts payments and vends licenses (https://zenaud.io https://zenaud.io). So some kind of dynamic website is necessary. Printing to static html is a file (51 LOC) with a single function definition. I'm pretty sure just reading the docs on the Hugo or whatever takes longer than it took me to write the it :)