<?xml version="1.0"?>
<t name="Blog post content" t-name="website_blog.blog_post_content">
    <t t-if="opt_blog_post_breadcrumb and not opt_blog_post_regular_cover" t-call="website_blog.post_breadcrumbs">
        <t t-set="additionnal_classes" t-value="'mb-3 bg-transparent'"/>
    </t>
    <t t-if="not opt_blog_post_regular_cover">
        <t t-call="website_blog.blog_post_info"/>
    </t>
    <t t-set="editor_message">WRITE HERE OR DRAG BUILDING BLOCKS</t>
    <div t-field="blog_post.content" t-att-data-editor-message="editor_message" t-attf-class="o_wblog_post_content_field #{'o_wblog_read_text' if opt_blog_post_readable else ''}"/>

    <div t-if="len(blogs) &gt; 1 or len(blog_post.tag_ids) &gt; 0" class="css_editable_mode_hidden text-muted">
        <div t-if="len(blogs) &gt; 1">in <a t-attf-href="#{blog_url(blog=blog_post.blog_id)}"><b t-field="blog.name"/></a></div>
        <div t-if="len(blog_post.tag_ids) &gt; 0">#
            <t t-foreach="blog_post.tag_ids" t-as="one_tag">
                <a t-attf-class="badge me-1 o_tag o_color_#{one_tag.color} post_link" t-attf-href="#{blog_url(tag=slug(one_tag), date_begin=False, date_end=False)}" t-esc="one_tag.name"/>
            </t>
        </div>
    </div>
</t>


