funkybob / gilbert

A simple static site generator.
https://gilbert.readthedocs.io/en/latest/
MIT License
10 stars 4 forks source link

Add lifecycle hooks #15

Closed funkybob closed 5 years ago

funkybob commented 5 years ago

I was just considering adding auto-tagging to my blog page type, but realised I would need to collect all the tags from all the blog posts first.

This would best be handled after all the pages are loaded.

Clearly a way to hook into lifecycle events (on start, on render, on pages loaded, on page render...) would be a flexible way to handle this.