Hi !
I’ve found bug with marketing templates.
<!--
templateType: email_backup_unsubscribe_page
isAvailableForNewContent: true
label: DE-CIX Email Unsubscribe
-->
{% extends "../layouts/base.html" %}
{% set header = "simple" %}
{% block body %}
<section class="test">
{% module "email_backup_unsubscribe_page_template_backup_unsubscribe" path="@hubspot/email_simple_subscription" label="Backup Unsubscribe"
header="Test" %}
</section>
{% endblock body %}
and preferences template
<!--
templateType: email_subscription_preferences_page
isAvailableForNewContent: true
label: DE-CIX Subscription Preferences
-->
{% extends "../layouts/base.html" %}
{% set header = "simple" %}
{% block body %}
<section class="email-pref bg-circles">
<div class="container">
{% module "email_subscription_preferences_page_template_subscription_preferences" path="@hubspot/email_subscriptions" label="Subscription Preferences"
button_text="UPDATE NOW"
%}
</div>
<div class="date-comp-name"><p>2023 DE-CIX</p></div>
</section>
<script src="/hs/hsstatic/SubscriptionPreferences/static-1.1/subscription_preferences_asset.js"></script>
{% endblock body %}
Everything is set correctly:
Now live page html:
- Preferences.
and unsubscribe template
As you can see, in both cases page render preferences template html with bg-circles and email-prefs classes. I can’t change title of unsubscribe page and layout, anything.If I’ll add random text in preferences html, it will appear also in unsubscribe template. Am I dumb or it’s badly programmed ?
You can test it in above link.
How can I make a completely different layout in unsubscribe template. If I can’t why we need 3 email templates?



