It's my execute method from controller:
It's my layout inside the <page>:
<body> <referenceContainer name="content"> <block class="Magento\Framework\View\Element\Template" name="printshipment_index_index" template="Module_PrintShipment::print_shipment.phtml"/> </referenceContainer> </body>
In this case I have default Magento layout with header, footer etc. And I need fully empty page. I have tried to add
but then my block doesn't appear. What can you advise me?