4 Improved question and Grammer fixes
source | link

I have createddeveloped a custom homepage layout, and applied it to the homepage. I've tried to add a block that i've created block in Magento_theme/templates/html/homepage.html but it won't show, canis not displaying. Can anyone see acheck problem within my code?

   <body>
    <update handle="empty"/>
    <referenceContainer name="page.wrapper">
        <container name="header.container" as="header_container" label="Page Header Container"  htmlTag="header" htmlClass="page-header" before="main.content"/>
        <container name="page.top" as="page_top" label="After Page Header" after="header.container"/>
        <container name="footer-container" as="footer" before="before.body.end" label="Page Footer Container" htmlTag="footer" htmlClass="page-footer" />
    </referenceContainer>

      <referenceContainer name="main.content">
          <block class="Magento\Framework\View\Element\Template" name="burgHomepage" template="Magento_Theme::html/homepage.phtml" />
      </referenceContainer>
    </body>

I have created a custom homepage layout, and applied it to the homepage. I've tried to add a block that i've created in Magento_theme/templates/html/homepage.html but it won't show, can anyone see a problem with my code?

   <body>
    <update handle="empty"/>
    <referenceContainer name="page.wrapper">
        <container name="header.container" as="header_container" label="Page Header Container"  htmlTag="header" htmlClass="page-header" before="main.content"/>
        <container name="page.top" as="page_top" label="After Page Header" after="header.container"/>
        <container name="footer-container" as="footer" before="before.body.end" label="Page Footer Container" htmlTag="footer" htmlClass="page-footer" />
    </referenceContainer>

      <referenceContainer name="main.content">
          <block class="Magento\Framework\View\Element\Template" name="burgHomepage" template="Magento_Theme::html/homepage.phtml" />
      </referenceContainer>
    </body>

I have developed a custom homepage layout and applied to the homepage. I've tried to add a created block in Magento_theme/templates/html/homepage.html but it is not displaying. Can anyone check problem in my code?

   <body>
    <update handle="empty"/>
    <referenceContainer name="page.wrapper">
        <container name="header.container" as="header_container" label="Page Header Container"  htmlTag="header" htmlClass="page-header" before="main.content"/>
        <container name="page.top" as="page_top" label="After Page Header" after="header.container"/>
        <container name="footer-container" as="footer" before="before.body.end" label="Page Footer Container" htmlTag="footer" htmlClass="page-footer" />
    </referenceContainer>

      <referenceContainer name="main.content">
          <block class="Magento\Framework\View\Element\Template" name="burgHomepage" template="Magento_Theme::html/homepage.phtml" />
      </referenceContainer>
    </body>
3 improved format
source | link

I have created a custom homepage layout, and applied it to the homepage. I've tried to add a block that i've created in Magento_theme/templates/html/homepage.html but it won't show, can anyone see a problem with my code?

   <body>
    <update handle="empty"/>
    <referenceContainer name="page.wrapper">
        <container name="header.container" as="header_container" label="Page Header Container"  htmlTag="header" htmlClass="page-header" before="main.content"/>
        <container name="page.top" as="page_top" label="After Page Header" after="header.container"/>
        <container name="footer-container" as="footer" before="before.body.end" label="Page Footer Container" htmlTag="footer" htmlClass="page-footer" />
    </referenceContainer>
<body>
      <referenceContainer name="main.content">
          <block class="Magento\Framework\View\Element\Template" name="burgHomepage" template="Magento_Theme::html/homepage.phtml" />
      </referenceContainer>
    </body>

I have created a custom homepage layout, and applied it to the homepage. I've tried to add a block that i've created in Magento_theme/templates/html/homepage.html but it won't show, can anyone see a problem with my code?

<update handle="empty"/>
<referenceContainer name="page.wrapper">
    <container name="header.container" as="header_container" label="Page Header Container"  htmlTag="header" htmlClass="page-header" before="main.content"/>
    <container name="page.top" as="page_top" label="After Page Header" after="header.container"/>
    <container name="footer-container" as="footer" before="before.body.end" label="Page Footer Container" htmlTag="footer" htmlClass="page-footer" />
</referenceContainer>
<body>
  <referenceContainer name="main.content">
      <block class="Magento\Framework\View\Element\Template" name="burgHomepage" template="Magento_Theme::html/homepage.phtml" />
  </referenceContainer>
</body>

I have created a custom homepage layout, and applied it to the homepage. I've tried to add a block that i've created in Magento_theme/templates/html/homepage.html but it won't show, can anyone see a problem with my code?

   <body>
    <update handle="empty"/>
    <referenceContainer name="page.wrapper">
        <container name="header.container" as="header_container" label="Page Header Container"  htmlTag="header" htmlClass="page-header" before="main.content"/>
        <container name="page.top" as="page_top" label="After Page Header" after="header.container"/>
        <container name="footer-container" as="footer" before="before.body.end" label="Page Footer Container" htmlTag="footer" htmlClass="page-footer" />
    </referenceContainer>

      <referenceContainer name="main.content">
          <block class="Magento\Framework\View\Element\Template" name="burgHomepage" template="Magento_Theme::html/homepage.phtml" />
      </referenceContainer>
    </body>
2 incomplete code
source | link

I have created a custom homepage layout, and applied it to the homepage. I've tried to add a block that i've created in Magento_theme/templates/html/homepage.html but it won't show, can anyone see a problem with my code?

<?xml<update version="1handle="empty"/>
<referenceContainer name="page.0"?wrapper">
    <container name="header.container" as="header_container" label="Page Header Container"  htmlTag="header" htmlClass="page-header" before="main.content"/>

     <container name="page.top" as="page_top" label="After Page Header" after="header.container"/>
    <container name="footer-container" as="footer" before="before.body.end" label="Page Footer Container" htmlTag="footer" htmlClass="page-footer" />
</referenceContainer>
<body>
  <referenceContainer name="maincontent">name="main.content">
      <block class="Magento\Framework\View\Element\Template" name="customHomepage"name="burgHomepage" template="Magento_Theme::html/homepage.phtml" />
  </referenceContainer>
</body>

 

I have created a custom homepage layout, and applied it to the homepage. I've tried to add a block that i've created in Magento_theme/templates/html/homepage.html but it won't show, can anyone see a problem with my code?

<?xml version="1.0"?>

     <container name="footer-container" as="footer" before="before.body.end" label="Page Footer Container" htmlTag="footer" htmlClass="page-footer" />
</referenceContainer>
<body>
  <referenceContainer name="maincontent">
      <block class="Magento\Framework\View\Element\Template" name="customHomepage" template="Magento_Theme::html/homepage.phtml" />
  </referenceContainer>
</body>

 

I have created a custom homepage layout, and applied it to the homepage. I've tried to add a block that i've created in Magento_theme/templates/html/homepage.html but it won't show, can anyone see a problem with my code?

<update handle="empty"/>
<referenceContainer name="page.wrapper">
    <container name="header.container" as="header_container" label="Page Header Container"  htmlTag="header" htmlClass="page-header" before="main.content"/>
    <container name="page.top" as="page_top" label="After Page Header" after="header.container"/>
    <container name="footer-container" as="footer" before="before.body.end" label="Page Footer Container" htmlTag="footer" htmlClass="page-footer" />
</referenceContainer>
<body>
  <referenceContainer name="main.content">
      <block class="Magento\Framework\View\Element\Template" name="burgHomepage" template="Magento_Theme::html/homepage.phtml" />
  </referenceContainer>
</body>
1
source | link