I am trying to load a phtml file like this:
File /app/design/frontend/name/themename/Magento_Theme/layout/default.xml
<referenceContainer name="page.top">
<block class="Magento\Framework\View\Element\Template" name="startphoto" template="html/startphotos.phtml">
<arguments>
<argument name="section" xsi:type="string">homepage</argument>
<argument name="position" xsi:type="number">0</argument>
</arguments>
</block>
</referenceContainer>
I want to load it only on homepage, but it is still loading on every page. The arguments seems to be ignored.