I’m refactoring an existing site with 10 content types.
Each of the single.html pages within a content layout sometimes has code duplication similar to the other template files.
In total, there are 5 page layouts, some with variants, that would be needed for my 10 content types.
I understand the Hugo template hierarchy lookup.
It would be nice to have 5 “base” page layouts and variants for my content to inherit from.
Would I just put these 5 “base” page layouts in the _default directory and then inherit from them in my content pages as needed?
Is there a hugo friendly way to make this work how I want?