stelcodes / nuzzle

A functional static site generator so smol you won't even notice it's there 🐈
Eclipse Public License 2.0
17 stars 1 forks source link

Make render-content pure to avoid reprocessing (#115) #117

Closed stelcodes closed 2 years ago

stelcodes commented 2 years ago

Previously the render-content functions would process the content files every time they were called. Now the content files are computed once and calling the functions return the precomputed values. This not only is more efficient but also ensures that the content does not change between calls.