uk-tre / hugo-website

A transition to a more formal website based on Hugo
0 stars 1 forks source link

Create structure for 'Resources' Page #4

Closed harisood closed 7 months ago

harisood commented 8 months ago

I’m struggling to think of a good way to structure the resources page - i.e. effectively signpost to resources so users can easily find and discover what they’re after. Current thoughts:

Any thoughts?

manics commented 8 months ago

We don't have that on the existing website so we can leave it for later?

Ideally I think we should store the resources in a structured file (e.g. YAML), and generate templated HTML pages from that. That also means we can easily generate multiple pages with different views from the same data source. I know how to do it with Jekyll, https://jekyllrb.com/docs/datafiles/ I'm happy to have a go with Hugo at some point if you want.

harisood commented 7 months ago

store the resources in a structured file (e.g. YAML)

I have a simple version of that atm but have also left room for MarkDown, e.g. https://github.com/uk-tre/hugo-website/blob/main/content/community_resources/code/turing_tre/index.md?plain=1

Would be up for going to purely YAML content and rendering templates, though it does make it possible sliiiightly more inaccessible (YAML configuration vs Markdown writing) for contributions

Either way the cataloguing issue still remains. Atm I am just using two different classes of tags but sure there's a better way!

@manics I also wonder if at some point it's worth us sitting down and going through the hugo architecture? Looks p much the same as Jekyll so shouldn't take too long?

Davsarper commented 7 months ago

Agreement on getting it done, and if there are issues in the future address them.

KirstieJane commented 7 months ago

I think these look great - and I feel quite strongly that trying to optomise this further is not the highest priority for a very young community.

My proposal is that if the community are using the resources page and there are so many that they're getting confused then that's a HUGE WIN for the UK TRE community and we can open a new issue when that moment arises 🚀

So I'm a vote for approve and close the issue 💪 Great thought already put in and sufficient in my opinion!

harisood commented 7 months ago

Happy with this as initial structure