Hi All,
I’m trying to add a new section to my hugo site, now the most part it will be content with parmas added, but one section I will need to do through data files for ease of use.
For context, each page will have some data as below
Office one
Completed projects 19-20
Completed projects 18-19
Completed projects 17-18
Office two
Completed projects 19-20
Completed projects 18-19
Completed projects 17-18
Essentially what I want to do is have these where I can easily update the data once per year.
I have looked into using the data and it seems pretty straight forward, however with me using office one / office two it gets a bit more complicated.
In my head I need to use
range .Site.Data.offices. with .Params.office
From there I can then render out the completed projects for each office?
thanks
S