<?xml version="1.0"?>
<t t-name="website_blog.post_author">
    <div t-attf-class="o_not_editable align-items-center position-relative #{additionnal_classes or ''}">
        <div t-if="blog_post.author_avatar" t-field="blog_post.author_avatar" style="line-height:1" t-options="{&quot;widget&quot;: &quot;image&quot;, &quot;class&quot;: &quot;rounded-circle &quot; + &quot;o_wblog_author_avatar me-1&quot; if hide_date else  &quot;o_wblog_author_avatar_date me-2&quot;}"/>
        <div t-att-class="not hide_date and 'small fw-bold'" style="line-height:1">
            <span t-if="editable" t-field="blog_post.author_id" t-options="{ &quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;name&quot;]}"/>
            <span t-else="" t-esc="blog_post.author_name"/>
            <small t-if="not hide_date" t-field="blog_post.post_date" t-options="{'format': 'long', 'date_only': 'true'}"/>
        </div>
    </div>
</t>

