• #dev 2024-05-25
  • Prev
    Next
  • #indieweb
  • #dev
  • #wordpress
  • #meta
  • #stream
  • #microformats
  • #known
  • #events
#dev ≡
  • ←
  • →
2024-05-25 UTC
# 18:07
capjamesg[d]
Suppose you have two folders: `posts` and `templates`. My generator reads all the posts then saves them in memory in a Python program. Then, each template is read. Where there is logic like a list of posts, the list of posts that were read from `posts` are added to the template then saved to a new place: `site`. Then all the posts are saved in `site` too. Then that folder is made public.