In the CMS Boilerplate, what is the filename of the common template used as the foundation for all page templates?

Question: In the CMS Boilerplate, what is the filename of the common template used as the foundation for all page templates?

  • layout.html
  • index.html
  • home.html
  • base.html

Explanation

HubSpot’s template documentation uses template inheritance to show a shared foundation file that other page templates extend through defined block regions. In the boilerplate examples, that shared parent template is identified as base.html, which serves as the structural starting point for multiple page templates. The same naming appears in HubSpot’s boilerplate and template references when describing the common layout used across pages. That makes it the standard foundation file in the CMS Boilerplate rather than a page-specific or generic entry file. HubSpot Developers+2HubSpot Developers+2

Why the other options are incorrect

layout.html is not the HubSpot-documented shared parent template filename used as the boilerplate foundation. HubSpot Developers+1

index.html is not identified by HubSpot as the common base template in the boilerplate structure. HubSpot Developers+1

home.html is a page template in the boilerplate, not the shared parent template for all page templates. GitHub+1

Source for verification

https://developers.hubspot.com/docs/cms/start-building/building-blocks/templates/html-hubl-templates

https://developers.hubspot.com/docs/cms/start-building/building-blocks/themes/hubspot-cms-boilerplate

The answer(s) to the question is highlighted in the BOLD text above. You can also find more questions and answers related to the exams on the "HubSpot CMS for Developers II" page.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top