HubSpot / cms-theme-boilerplate

A straight-forward starting point for building a great website on the HubSpot CMS
https://boilerplate.hubspotcms.com
Other
355 stars 355 forks source link

Move main element to base.html #384

Closed jasonnrosa closed 3 years ago

jasonnrosa commented 3 years ago

Types of change

Description

Per suggestion of @jevenson we found that the main element and HubL comment above it was repeated for every template in boilerplate therefore to simplify the code it was moved to the base.html file. Per suggestion of @johnsfuller if someone wanted to add an aside that is adjacent to the main element they could add a new block for aside in base.html (example in linked GitHub issue below).

Relevant links

Fixes #361

Checklist

People to notify CC: @TheWebTech and @ajlaporte