So, I wrote a Go package that makes plugins easier to write for Go applications. I think Hugo could get a huge benefit out of this, as everyone always has their pet feature that they want to see implemented.
I’d like to get people’s ideas on what kinds of things they’d like to add to Hugo that could be done via plugins. Loading plugins and all that stuff is easy, but figuring out where we need to add hooks to support extension via plugins is another matter.
Some obvious examples:
- Custom content types (latex, etc)
- Custom shortcodes (highlighting, etc)
Some less obvious and more tricky examples:
- Adding values to the data passed to templates
- Adding functions to the data passed to templates
I’m sure there’s 1000 other things I’m missing, so please help out by posting what you’d like to customize about Hugo.
Note: I started an issue on the Hugo repo, but I think discussion works better here.