Hi everyone,
I am trying to build a site where different sections of content need to be organized in a clean & reusable way. I have a few categories of articles that should each have their own layouts; yet they still share some common elements such as a header & footer. I have been reading the documentation but I am confused about how to properly set up content folders & define layouts for each section without repeating too much code.
I want to know about the best way to handle partials when multiple sections require slight variations. Do most of you use conditional logic inside the template or is it better to create multiple partials? My site will include tutorials on different tech subjects such as ReactJS Training; so I want it to be scalable from the beginning. Also i have check this Content-Security-Policy vs Hugo's syntax highlighting in code blocks still need help.
Thank you..