News for hackers. Stuff that matters.
Re:Hugo v0.15 releasedL Higher performance, Jekyll import, t... by stereosteve on Wednesday November 25, 2015 @01:18PM (#10628607)
I am working on porting a mostly-data site to hugo now, and it has been a nice experience.

I did find myself wanting to introduce custom logic - like custom helper funcs for the Go templates - but there is no way to do this short of modifying and rebuilding hugo.

Specifically I wanted to use some functions from here: https://github.com/dustin/go-humanize

In the short run, it was fine. Since most of the data is structured I could write a script to modify the input data to prepare for output without modification.

Not sure about hugo's longterm plan for this type of thing, but overall it is an awesome project and would highly recommend over every other static site generator.

Re:Hugo v0.15 releasedL Higher performance, Jekyll import, t... by dradtke on Wednesday November 25, 2015 @01:26PM (#10628667)
I know that Go is looking to add support for loading code at runtime, so a plugin system doesn't seem out of the question once it's landed.

https://docs.google.com/document/d/1nr-TQHw_er6GOQRsF6T43GGh...