PageHeader

In order to further customize the page header on a modern page, the PageHeader element can be added.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
<Site Url="{url}" Title="{title}" OwnerLogin="{siteowner}" Template="STS#3" LCID="1033" StorageQuota="1024" TimeZoneId="4">
    <RootWeb Title="{title}" Url="{url}" Description="{description}" LCID="1033">
        <Properties>
            <Property Name="WebTemplate">ModernSite</Property>
            <Property Name="WebTemplateVersion">1.0.0.0</Property>
        </Properties>
        <ClientSidePages>
            <ClientSidePage Name="ModernPage1.aspx" >
                <PageHeader Alignment="Center" HeaderAuthor="megan.bowen@contoso.onmicrosoft.com" HeaderImageUrl="/sites/sampleSite/SiteAssets/sample-image.jpg " 
                            ShowTopicHeader="true" HeaderLayout="FullWidthImage" ShowPublishDate="true" Title="Lorem Ipsum" TopicHeader="page topic header"/>
            </ClientSidePage>
        </ClientSidePages>
    </RootWeb>
</Site>
What's on this Page