Re:Hugo v0.15 releasedL Higher performance, Jekyll import, t...
by cyri on Wednesday November 25, 2015 @11:56AM
(#10628083)
What would you like to do? 1-2 concrete examples please.
[ Parent
| on HN ]
Re:Hugo v0.15 releasedL Higher performance, Jekyll import, t...
by kodablah on Wednesday November 25, 2015 @12:20PM
(#10628260)
I have not used it so it is a bit unfair to ask for concrete examples of what I would need that it doesn't do. But in general, something like using the GitHub API (as my user) to obtain a list of recent commits to format a certain way could be an example.
But in all honesty my question was also wondering if this had a good story around runtime Go compilation since I am building a Go project that could be construed as a "static-binary generator" for an orchestration and configuration management system.
Re:Hugo v0.15 releasedL Higher performance, Jekyll import, t...
by cyri on Wednesday November 25, 2015 @12:37PM
(#10628354)
I've implemented the getJSON Feature http://gohugo.io/extras/datadrivencontent/ and this should be what you are looking for ;-)
Re:Hugo v0.15 releasedL Higher performance, Jekyll import, t...
by eric_bullington on Wednesday November 25, 2015 @05:03PM
(#10630053)
One thing that I'd love to be able to do with Hugo (I'd probably switch from Middleman if this was possible): dynamic proxy pages:
https://middlemanapp.com/advanced/dynamic_pages/
"Middleman has the ability to generate pages which do not have a one-to-one relationship with their template files. What this means is that you can have a single template which generates multiple files based on variables."
So I can take a JSON file with an array of data, and generate a file dynamically for each object in the array.
Last I looked, I couldn't figure out how to do this with Hugo. Is it possible now?