Page-metadata-banner in Custom Theme

Hi guys,

in the main.vmd of Confluence we found the part that loads to page banner with this line of code:

$!sitemeshPage.getProperty("page.page-metadata-banner")

In my custom theme I don’t see any new DOM-elements which leads me to my question:
Which ressources are missing to display the metadata-banner?

I tried so many different approaches but have not been successful:

#requireResourcesForContext("global")
#requireResourcesForContext("page")
#requireResource("com.atlassian.confluence")
#requireResource("com.atlassian.confluence.plugins.confluence-page-banner")
#requireResource("com.atlassian.confluence.plugins.confluence-page-banner:soy-resources")
#requireResource("com.atlassian.confluence.plugins.confluence-page-banner:page-banner-common-resources")
#requireResource("atl.page.metadata.banner")
#requireResource("atl.page")

Is there someone who can help me out?

Cheers,
Thomas

Could solve it myself.

This is needed in page.vmd:

#if ($mode == "view")
    <content tag="page-metadata-banner">
        #skiplink("page-banner", $i18n.getText("assistive.skiplink.to.banner.start"), $i18n.getText("assistive.skiplink.to.banner.end"))
            #webPanelForLocation("atl.page.metadata.banner", {"action": $action})
        #end
    </content>
#end