Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Refactor templates and partials to use baseof template #1115
This PR updates the layout templates and partials to use the Hugo
I am doing a ton of local customization on the site I am building and updating 14-16 separate templates (and one pseudo-template, the widget_page partial) to modify header and navbar behavior was going to introduce bugs. At the same time, it would make it difficult for me to keep my theme version up to date with any upstream modifications.
I quickly realized that it was better to centralize most of the layout template boilerplate first, using baseof, but to avoid the previously mentioned fragmentation issue, I figured I would submit these changes back to the project first.