Building Pages from an API with Hugo
In this article we cover a workarkound to build pages from a remote API wth Hugo. It consists of using Hugo to grab our data from a remote source using resources.GetRemote
— Hugo’s own fetch
API —, keep using Hugo to generate markdown files using its resources.FromString
, and finally build our Hugo project with the aforementioned content files.