<% if content_for?(:heading) %> - <%= render "govuk_publishing_components/components/title", { + <%= render "govuk_publishing_components/components/heading", { + text: yield(:heading), context: yield(:context), - title: yield(:heading), - margin_top: 0 + font_size: "xl", + heading_level: 1, + margin_bottom: 8 } %> <% end %> <%= yield %>