blog_post_view.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © 2015-2017 Ihor Vansach (ihor@magefan.com). All rights reserved.
  5. * See LICENSE.txt for license details (http://opensource.org/licenses/osl-3.0.php).
  6. *
  7. * Glory to Ukraine! Glory to the heroes!
  8. */
  9. -->
  10. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
  11. <update handle="blog_default"/>
  12. <update handle="blog_post_opengraph" />
  13. <update handle="blog_post_richsnippets" />
  14. <body>
  15. <referenceContainer name="content">
  16. <block class="Magefan\Blog\Block\Post\View" name="blog.post" template="post/view.phtml">
  17. <block class="Magefan\Blog\Block\Post\Info" name="blog.post.info" template="post/info.phtml" />
  18. <action method="setPostInfoBlockName">
  19. <argument name="name" xsi:type="string">blog.post.info</argument>
  20. </action>
  21. <block class="\Magento\Framework\View\Element\Text\ListText" name="blog.post.bottom">
  22. <block class="Magefan\Blog\Block\Post\View\Gallery" name="blog.post.gallery" as="gallery" template="Magefan_Blog::post/view/gallery.phtml" />
  23. <block class="Magefan\Blog\Block\Post\View\NextPrev" name="blog.post.nextprev" as="nextprev" template="Magefan_Blog::post/view/nextprev.phtml" />
  24. <block class="Magefan\Blog\Block\Post\View\RelatedPosts" name="blog.post.relatedposts" as="relatedposts" template="Magefan_Blog::post/view/relatedposts.phtml" />
  25. <block class="Magefan\Blog\Block\Post\View\RelatedProducts" name="blog.post.relatedproducts" as="relatedproducts" template="Magefan_Blog::post/view/relatedproducts.phtml" />
  26. <block class="Magefan\Blog\Block\Post\View\Comments" name="blog.post.comments" template="post/view/comments.phtml" />
  27. <block class="Magefan\Blog\Block\Social\AddThis" name="addthis.js.init" as="addthisJs" template="Magefan_Blog::addthis-js.phtml"/>
  28. </block>
  29. </block>
  30. </referenceContainer>
  31. </body>
  32. </page>