<?xml version="1.0"?>
<data name="Tags List" priority="3" inherit_id="website_blog.sidebar_blog_index" active="True">
    <xpath expr="//div[@id='o_wblog_sidebar']" position="inside">

        <div t-if="other_tags or tag_category" class="o_wblog_sidebar_block pb-5">
            <div>
                <h6 class="text-uppercase pb-2 mb-4 border-bottom fw-bold">Tags</h6>
            </div>
            <div class="h5">
                <t t-foreach="tag_category" t-as="nav_tag_category">
                    <t t-call="website_blog.tags_list">
                        <t t-set="categ_title" t-value="nav_tag_category.name"/>
                        <t t-set="tags" t-value="nav_tag_category.tag_ids"/>
                        <t t-set="showInactive" t-value="True"/>
                    </t>
                </t>
                <t t-call="website_blog.tags_list">
                    <t t-set="hide_title" t-value="not len(tag_category)"/>
                    <t t-set="categ_title">Others</t>
                    <t t-set="tags" t-value="other_tags"/>
                    <t t-set="showInactive" t-value="True"/>
                </t>
            </div>
        </div>

        <div t-else="" groups="website.group_website_designer" class="o_wblog_sidebar_block pb-5">
            <h6 class="text-uppercase pb-2 mb-4 border-bottom fw-bold">Tags</h6>
            <em t-ignore="True" class="text-muted">No tags defined yet.</em>
        </div>
        <div class="oe_structure" id="oe_structure_blog_sidebar_index_5"/>
    </xpath>
</data>


