diff --git a/src/templates/contact.html b/src/templates/contact.hubl.html
similarity index 74%
rename from src/templates/contact.html
rename to src/templates/contact.hubl.html
index e56eaf961..72063afe5 100644
--- a/src/templates/contact.html
+++ b/src/templates/contact.hubl.html
@@ -4,7 +4,7 @@
label: Contact
screenshotPath: ../images/template-previews/contact.png
-->
-{% extends './layouts/base.html' %}
+{% extends './layouts/base.hubl.html' %}
{% block body %}
{% dnd_area 'dnd_area'
@@ -14,7 +14,7 @@
{# Cards #}
- {% include_dnd_partial path='../sections/cards.html' %}
+ {% include_dnd_partial path='../sections/cards.hubl.html' %}
{% end_dnd_area %}
{% endblock body %}
\ No newline at end of file
diff --git a/src/templates/home.html b/src/templates/home.hubl.html
similarity index 85%
rename from src/templates/home.html
rename to src/templates/home.hubl.html
index b02ec3290..afadb2d26 100644
--- a/src/templates/home.html
+++ b/src/templates/home.hubl.html
@@ -4,7 +4,7 @@
label: Home
screenshotPath: ../images/template-previews/home.png
-->
-{% extends "./layouts/base.html" %}
+{% extends "./layouts/base.hubl.html" %}
{% block body %}
@@ -17,11 +17,11 @@
{# Hero banner #}
- {% include_dnd_partial path='../sections/hero-banner.html' %}
+ {% include_dnd_partial path='../sections/hero-banner.hubl.html' %}
{# Two column image right #}
- {% include_dnd_partial path='../sections/multi-row-content.html' %}
+ {% include_dnd_partial path='../sections/multi-row-content.hubl.html' %}
{# Two column image left #}
@@ -54,11 +54,11 @@
{# Call to action #}
- {% include_dnd_partial path='../sections/call-to-action.html' %}
+ {% include_dnd_partial path='../sections/call-to-action.hubl.html' %}
{# Three column image with text #}
- {% include_dnd_partial path='../sections/multi-column-content.html' %}
+ {% include_dnd_partial path='../sections/multi-column-content.hubl.html' %}
{% end_dnd_area %}
{% endblock body %}
diff --git a/src/templates/hubdb.html b/src/templates/hubdb.hubl.html
similarity index 99%
rename from src/templates/hubdb.html
rename to src/templates/hubdb.hubl.html
index 7537d8371..26111fc27 100644
--- a/src/templates/hubdb.html
+++ b/src/templates/hubdb.hubl.html
@@ -9,7 +9,7 @@
{# Before getting started with using HubDB we highly recommend you read through our HubDB documentation (https://developers.hubspot.com/docs/cms/features/hubdb) #}
-{% extends './layouts/base.html' %}
+{% extends './layouts/base.hubl.html' %}
{# Testing config #}
diff --git a/src/templates/landing-page.html b/src/templates/landing-page.hubl.html
similarity index 75%
rename from src/templates/landing-page.html
rename to src/templates/landing-page.hubl.html
index b180ac523..06a96e4f8 100644
--- a/src/templates/landing-page.html
+++ b/src/templates/landing-page.hubl.html
@@ -4,10 +4,10 @@
label: Landing page
screenshotPath: ../images/template-previews/landing-page.png
-->
-{% extends './layouts/base.html' %}
+{% extends './layouts/base.hubl.html' %}
{% block header %}
- {% global_partial path='./partials/header-no-navigation.html' %}
+ {% global_partial path='./partials/header-no-navigation.hubl.html' %}
{% endblock header %}
{% block body %}
@@ -19,7 +19,7 @@
{# Hero banner #}
{% include_dnd_partial
- path='../sections/hero-banner.html'
+ path='../sections/hero-banner.hubl.html'
context={
'content': '
Download your free eBook Use this space to tell everyone what your eBook is all about.
',
}
@@ -28,7 +28,7 @@
{# Three column image with text #}
{% include_dnd_partial
- path='../sections/multi-column-content.html',
+ path='../sections/multi-column-content.hubl.html',
context={
'background_color': '#FFFFFF'
}
diff --git a/src/templates/layouts/base.html b/src/templates/layouts/base.hubl.html
similarity index 83%
rename from src/templates/layouts/base.html
rename to src/templates/layouts/base.hubl.html
index 072bafded..399a6543b 100644
--- a/src/templates/layouts/base.html
+++ b/src/templates/layouts/base.hubl.html
@@ -8,19 +8,19 @@
{% if page_meta.html_title || pageTitle %}
{{ page_meta.html_title || pageTitle }} {% endif %}
{% if site_settings.favicon_src %}
{% endif %}
- {{ require_css(get_asset_url("../../css/main.css")) }}
+ {{ require_css(get_asset_url("../../css/main.hubl.css")) }}
{# This is intended to be used if a template requires template specific style sheets #}
{% if template_css %}
{{ require_css(get_asset_url(template_css)) }}
{% endif %}
- {{ require_css(get_asset_url("../../css/theme-overrides.css")) }}
+ {{ require_css(get_asset_url("../../css/theme-overrides.hubl.css")) }}
{# To see a full list of what is included via standard_header_includes please reference this article: https://developers.hubspot.com/docs/cms/hubl/variables#required-page-template-variables #}
{{ standard_header_includes }}
{% block header %}
- {% global_partial path='../partials/header.html' %}
+ {% global_partial path='../partials/header.hubl.html' %}
{% endblock header %}
{# The main-content ID is used for the navigation skipper in the header.html file. More information on the navigation skipper can be found here: https://github.com/HubSpot/cms-theme-boilerplate/wiki/Accessibility #}
@@ -31,10 +31,10 @@
{% block footer %}
- {% global_partial path='../partials/footer.html' %}
+ {% global_partial path='../partials/footer.hubl.html' %}
{% endblock footer %}
- {{ require_js(get_asset_url('../../js/main.js')) }}
+ {{ require_js(get_asset_url('../../js/main.hubl.js')) }}
{# To see a full list of what is included via standard_footer_includes please reference this article: https://developers.hubspot.com/docs/cms/hubl/variables#required-page-template-variables #}
{{ standard_footer_includes }}
diff --git a/src/templates/partials/footer.html b/src/templates/partials/footer.hubl.html
similarity index 100%
rename from src/templates/partials/footer.html
rename to src/templates/partials/footer.hubl.html
diff --git a/src/templates/partials/header-no-navigation.html b/src/templates/partials/header-no-navigation.hubl.html
similarity index 100%
rename from src/templates/partials/header-no-navigation.html
rename to src/templates/partials/header-no-navigation.hubl.html
diff --git a/src/templates/partials/header.html b/src/templates/partials/header.hubl.html
similarity index 100%
rename from src/templates/partials/header.html
rename to src/templates/partials/header.hubl.html
diff --git a/src/templates/pricing.html b/src/templates/pricing.hubl.html
similarity index 74%
rename from src/templates/pricing.html
rename to src/templates/pricing.hubl.html
index b7fce24a5..eabd11e78 100644
--- a/src/templates/pricing.html
+++ b/src/templates/pricing.hubl.html
@@ -4,7 +4,7 @@
label: Pricing
screenshotPath: ../images/template-previews/pricing.png
-->
-{% extends './layouts/base.html' %}
+{% extends './layouts/base.hubl.html' %}
{% block body %}
{% dnd_area 'dnd_area'
@@ -14,7 +14,7 @@
{# Pricing #}
- {% include_dnd_partial path='../sections/pricing.html' %}
+ {% include_dnd_partial path='../sections/pricing.hubl.html' %}
{% end_dnd_area %}
{% endblock body %}
diff --git a/src/templates/qa-test.html b/src/templates/qa-test.hubl.html
similarity index 97%
rename from src/templates/qa-test.html
rename to src/templates/qa-test.hubl.html
index 1be025198..96214f46f 100644
--- a/src/templates/qa-test.html
+++ b/src/templates/qa-test.hubl.html
@@ -4,7 +4,7 @@
label: QA test
screenshotPath: ../images/template-previews/qa-test.png
-->
-{% extends './layouts/base.html' %}
+{% extends './layouts/base.hubl.html' %}
{% block body %}
{% dnd_area 'dnd_area'
@@ -523,7 +523,7 @@
Call to action
{% end_dnd_column %}
{% end_dnd_section %}
- {% include_dnd_partial path='../sections/call-to-action.html' %}
+ {% include_dnd_partial path='../sections/call-to-action.hubl.html' %}
{# Cards #}
@@ -547,7 +547,7 @@
Cards
{% end_dnd_column %}
{% end_dnd_section %}
- {% include_dnd_partial path='../sections/cards.html' %}
+ {% include_dnd_partial path='../sections/cards.hubl.html' %}
{# Hero banner #}
@@ -571,7 +571,7 @@
Hero banner
{% end_dnd_column %}
{% end_dnd_section %}
- {% include_dnd_partial path='../sections/hero-banner.html' %}
+ {% include_dnd_partial path='../sections/hero-banner.hubl.html' %}
{# Multi-column content #}
@@ -595,7 +595,7 @@
Multi-column content
{% end_dnd_column %}
{% end_dnd_section %}
- {% include_dnd_partial path='../sections/multi-column-content.html' %}
+ {% include_dnd_partial path='../sections/multi-column-content.hubl.html' %}
{# Multi-row content #}
@@ -619,7 +619,7 @@
Multi-row content
{% end_dnd_column %}
{% end_dnd_section %}
- {% include_dnd_partial path='../sections/multi-row-content.html' %}
+ {% include_dnd_partial path='../sections/multi-row-content.hubl.html' %}
{# Pricing #}
@@ -643,7 +643,7 @@
Pricing
{% end_dnd_column %}
{% end_dnd_section %}
- {% include_dnd_partial path='../sections/pricing.html' %}
+ {% include_dnd_partial path='../sections/pricing.hubl.html' %}
{% end_dnd_area %}
{% endblock body %}
diff --git a/src/templates/system/404.html b/src/templates/system/404.hubl.html
similarity index 88%
rename from src/templates/system/404.html
rename to src/templates/system/404.hubl.html
index 1eba084a5..3122fc175 100644
--- a/src/templates/system/404.html
+++ b/src/templates/system/404.hubl.html
@@ -4,8 +4,8 @@
label: Boilerplate - 404 error
screenshotPath: ../../images/template-previews/404.png
-->
-{% set template_css = '../../css/templates/system.css' %}
-{% extends '../layouts/base.html' %}
+{% set template_css = '../../css/templates/system.hubl.css' %}
+{% extends '../layouts/base.hubl.html' %}
{# pageTitle is used on system templates for setting a value for the title tag #}
{% set pageTitle = "Error 404 | Page not found" %}
diff --git a/src/templates/system/500.html b/src/templates/system/500.hubl.html
similarity index 85%
rename from src/templates/system/500.html
rename to src/templates/system/500.hubl.html
index ef75c919a..950974d28 100644
--- a/src/templates/system/500.html
+++ b/src/templates/system/500.hubl.html
@@ -4,8 +4,8 @@
label: Boilerplate - 500 error
screenshotPath: ../../images/template-previews/500.png
-->
-{% set template_css = '../../css/templates/system.css' %}
-{% extends '../layouts/base.html' %}
+{% set template_css = '../../css/templates/system.hubl.css' %}
+{% extends '../layouts/base.hubl.html' %}
{# pageTitle is used on system templates for setting a value for the title tag #}
{% set pageTitle = "Error 500 | Server error" %}
diff --git a/src/templates/system/backup-unsubscribe.html b/src/templates/system/backup-unsubscribe.hubl.html
similarity index 84%
rename from src/templates/system/backup-unsubscribe.html
rename to src/templates/system/backup-unsubscribe.hubl.html
index 9a6a272c6..1959f679c 100644
--- a/src/templates/system/backup-unsubscribe.html
+++ b/src/templates/system/backup-unsubscribe.hubl.html
@@ -4,8 +4,8 @@
label: Boilerplate - email backup unsubscribe
screenshotPath: ../../images/template-previews/backup-unsubscribe.png
-->
-{% set template_css = '../../css/templates/system.css' %}
-{% extends '../layouts/base.html' %}
+{% set template_css = '../../css/templates/system.hubl.css' %}
+{% extends '../layouts/base.hubl.html' %}
{# pageTitle is used on system templates for setting a value for the title tag #}
{% set pageTitle = "Unsubscribe" %}
diff --git a/src/templates/system/membership-login.html b/src/templates/system/membership-login.hubl.html
similarity index 92%
rename from src/templates/system/membership-login.html
rename to src/templates/system/membership-login.hubl.html
index 3eb79989f..8a143f327 100644
--- a/src/templates/system/membership-login.html
+++ b/src/templates/system/membership-login.hubl.html
@@ -4,8 +4,8 @@
label: Boilerplate - membership login
screenshotPath: ../../images/template-previews/membership-login.png
-->
-{% set template_css = '../../css/templates/system.css' %}
-{% extends '../layouts/base.html' %}
+{% set template_css = '../../css/templates/system.hubl.css' %}
+{% extends '../layouts/base.hubl.html' %}
{# pageTitle is used on system templates for setting a value for the title tag #}
{% set pageTitle = "Membership | Login" %}
diff --git a/src/templates/system/membership-register.html b/src/templates/system/membership-register.hubl.html
similarity index 92%
rename from src/templates/system/membership-register.html
rename to src/templates/system/membership-register.hubl.html
index f0c0b4cdf..edaada17f 100644
--- a/src/templates/system/membership-register.html
+++ b/src/templates/system/membership-register.hubl.html
@@ -4,8 +4,8 @@
label: Boilerplate - membership registration
screenshotPath: ../../images/template-previews/membership-register.png
-->
-{% set template_css = '../../css/templates/system.css' %}
-{% extends '../layouts/base.html' %}
+{% set template_css = '../../css/templates/system.hubl.css' %}
+{% extends '../layouts/base.hubl.html' %}
{# pageTitle is used on system templates for setting a value for the title tag #}
{% set pageTitle = "Membership | Register" %}
diff --git a/src/templates/system/membership-reset-password-request.html b/src/templates/system/membership-reset-password-request.hubl.html
similarity index 92%
rename from src/templates/system/membership-reset-password-request.html
rename to src/templates/system/membership-reset-password-request.hubl.html
index 72cb6df15..dd69aa97b 100644
--- a/src/templates/system/membership-reset-password-request.html
+++ b/src/templates/system/membership-reset-password-request.hubl.html
@@ -4,8 +4,8 @@
label: Boilerplate - reset password request
screenshotPath: ../../images/template-previews/membership-reset-password-request.png
-->
-{% set template_css = '../../css/templates/system.css' %}
-{% extends '../layouts/base.html' %}
+{% set template_css = '../../css/templates/system.hubl.css' %}
+{% extends '../layouts/base.hubl.html' %}
{# pageTitle is used on system templates for setting a value for the title tag #}
{% set pageTitle = "Membership | Reset password request" %}
diff --git a/src/templates/system/membership-reset-password.html b/src/templates/system/membership-reset-password.hubl.html
similarity index 92%
rename from src/templates/system/membership-reset-password.html
rename to src/templates/system/membership-reset-password.hubl.html
index 155776e54..dd504d996 100644
--- a/src/templates/system/membership-reset-password.html
+++ b/src/templates/system/membership-reset-password.hubl.html
@@ -4,8 +4,8 @@
label: Boilerplate - reset password
screenshotPath: ../../images/template-previews/membership-reset-password.png
-->
-{% set template_css = '../../css/templates/system.css' %}
-{% extends '../layouts/base.html' %}
+{% set template_css = '../../css/templates/system.hubl.css' %}
+{% extends '../layouts/base.hubl.html' %}
{# pageTitle is used on system templates for setting a value for the title tag #}
{% set pageTitle = "Membership | Reset password" %}
diff --git a/src/templates/system/password-prompt.html b/src/templates/system/password-prompt.hubl.html
similarity index 87%
rename from src/templates/system/password-prompt.html
rename to src/templates/system/password-prompt.hubl.html
index 18d903452..4e2be47b2 100644
--- a/src/templates/system/password-prompt.html
+++ b/src/templates/system/password-prompt.hubl.html
@@ -4,8 +4,8 @@
label: Boilerplate - password prompt
screenshotPath: ../../images/template-previews/password-prompt.png
-->
-{% set template_css = '../../css/templates/system.css' %}
-{% extends '../layouts/base.html' %}
+{% set template_css = '../../css/templates/system.hubl.css' %}
+{% extends '../layouts/base.hubl.html' %}
{# pageTitle is used on system templates for setting a value for the title tag #}
{% set pageTitle = "This page is private | Enter password" %}
diff --git a/src/templates/system/search-results.html b/src/templates/system/search-results.hubl.html
similarity index 88%
rename from src/templates/system/search-results.html
rename to src/templates/system/search-results.hubl.html
index 04849f8ea..7d5919632 100644
--- a/src/templates/system/search-results.html
+++ b/src/templates/system/search-results.hubl.html
@@ -4,8 +4,8 @@
label: Boilerplate - search results
screenshotPath: ../../images/template-previews/search-results.png
-->
-{% set template_css = '../../css/templates/system.css' %}
-{% extends '../layouts/base.html' %}
+{% set template_css = '../../css/templates/system.hubl.css' %}
+{% extends '../layouts/base.hubl.html' %}
{# pageTitle is used on system templates for setting a value for the title tag #}
{% set pageTitle = "Search results" %}
diff --git a/src/templates/system/subscription-preferences.html b/src/templates/system/subscription-preferences.hubl.html
similarity index 84%
rename from src/templates/system/subscription-preferences.html
rename to src/templates/system/subscription-preferences.hubl.html
index d7481e351..2301935b9 100644
--- a/src/templates/system/subscription-preferences.html
+++ b/src/templates/system/subscription-preferences.hubl.html
@@ -4,8 +4,8 @@
label: Boilerplate - email subscription preferences
screenshotPath: ../../images/template-previews/subscription-preferences.png
-->
-{% set template_css = '../../css/templates/system.css' %}
-{% extends '../layouts/base.html' %}
+{% set template_css = '../../css/templates/system.hubl.css' %}
+{% extends '../layouts/base.hubl.html' %}
{# pageTitle is used on system templates for setting a value for the title tag #}
{% set pageTitle = "Subscription preferences" %}
diff --git a/src/templates/system/subscriptions-confirmation.html b/src/templates/system/subscriptions-confirmation.hubl.html
similarity index 84%
rename from src/templates/system/subscriptions-confirmation.html
rename to src/templates/system/subscriptions-confirmation.hubl.html
index 6a7ebb4ef..4f92759a6 100644
--- a/src/templates/system/subscriptions-confirmation.html
+++ b/src/templates/system/subscriptions-confirmation.hubl.html
@@ -4,8 +4,8 @@
label: Boilerplate - email subscriptions confirmation
screenshotPath: ../../images/template-previews/subscriptions-confirmation.png
-->
-{% set template_css = '../../css/templates/system.css' %}
-{% extends '../layouts/base.html' %}
+{% set template_css = '../../css/templates/system.hubl.css' %}
+{% extends '../layouts/base.hubl.html' %}
{# pageTitle is used on system templates for setting a value for the title tag #}
{% set pageTitle = "Confirm subscriptions" %}