<?xml version="1.0"?>
<data name="Top banner - Name / Latest Post" inherit_id="website_blog.blog_post_short" active="True" priority="17">
    <xpath expr="//div[@id='o_wblog_blog_top_droppable']" position="replace">
        <div class="container">
            <div class="row py-4">
                <t t-if="blog">
                    <div t-attf-class="mb-3 mb-md-0 #{'col-md-5' if (not opt_blog_list_view and not opt_blog_sidebar_show) else 'col-md-6'}">
                        <t t-call="website.record_cover">
                            <t t-set="_record" t-value="blog"/>
                            <t t-set="additionnal_classes" t-value="'h-100 py-5 py-md-0 overflow-hidden rounded shadow'"/>
                        </t>
                    </div>
                    <div t-att-class="'col-md-7' if (not opt_blog_list_view and not opt_blog_sidebar_show) else 'col-md-6'">
                        <div class="container position-relative h-100 d-flex flex-column justify-content-around pt-1 pb-2">
                            <div t-attf-class="o_wblog_post_title">
                                <span t-field="blog.name" class="h1 d-block" placeholder="Blog's Title"/>
                                <div t-field="blog.subtitle" class="h4" placeholder="Subtitle"/>
                            </div>
                        </div>
                    </div>
                </t>
                <t t-else="">
                    <div class="h1" style="text-align:center;">Our Latest Posts</div>
                </t>
                <div class="col-12 mt-3"> <hr/> </div>
            </div>
        </div>
    </xpath>
</data>

