<?xml version="1.0"?>

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <update handle="customer_account"/>
    <head>
        <script src="Dotdigitalgroup_Email::js/newsletterPreferences.js"/>
    </head>
    <body>
        <referenceBlock name="page.main.title">
            <action method="setPageTitle">
                <argument translate="true" name="title" xsi:type="string">Newsletter Subscriptions</argument>
            </action>
        </referenceBlock>
        <referenceContainer name="content">
            <block class="Dotdigitalgroup\Email\Block\Customer\Account\Books" name="ddg_preference_centre"
                   template="Dotdigitalgroup_Email::email/newsletter-preferences.phtml" after="-" cacheable="false">
            </block>
        </referenceContainer>
    </body>
</page>