Twig: page-title-example.twig
{% embed '@mixtape/layout/src/section-background.twig' with {
layout_class: 'section--xl',
modifier_class: 'section--dark'
} %}
{% block content %}
{% embed "@mixtape/page/src/page-title.twig" with { modifier_class: 'page-title--hero' } %}
{% block return %}{% endblock %}
{% block title %}
<h1 class="headline">Always put your best foot forward.</h1>
{% endblock %}
{% block subtitle %}
<p class="text--m">Make the most of the opportunity by encouraging an action and keeping your copy clear and concise.</p>
<a href="#" class="button button--large button--primary">Call to action</a>
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}