blinkk / amagaki

A high-performance TypeScript static website generator for building highly-interactive websites. Localization inbuilt. Flexible URLs. Content managed and templates separated.
https://amagaki.dev
MIT License
36 stars 2 forks source link

fix: Update nunjucks to use async for render functions. #217

Closed Zoramite closed 1 year ago

Zoramite commented 1 year ago

Switches out the render functions in the nunjucks plugin to use async functions. Removes some of the nested callbacks to make the logic simpler.