<?xml version="1.0"?>
<data inherit_id="website.snippet_options" name="Blog snippet options">
    <xpath expr="." position="inside">
        <div data-js="BlogPostTagSelection" data-selector=".o_wblog_post_page_cover[data-res-model='blog.post']" data-target="#o_wblog_post_name" data-no-check="true">
            <we-many2many string="Tags" data-no-preview="true" data-model="blog.post" data-m2o-field="tag_ids" data-set-tags="" data-create-method="createTag"/>
        </div>
        <!-- Blog Posts page  -->
        <div data-selector="main:has(#o_wblog_index_content)" data-page-options="true" groups="website.group_website_designer" data-no-check="true" string="Blogs Page">
            <we-checkbox string="Top Banner" data-name="blog_cover_opt" data-customize-website-views="website_blog.opt_blog_cover_post" data-no-preview="true" data-reload="/"/>
            <we-checkbox string="Full-Width" class="o_we_sublevel_1" data-customize-website-views="website_blog.opt_blog_cover_post_fullwidth_design" data-dependencies="blog_cover_opt" data-no-preview="true" data-reload="/"/>
            <we-select string="Layout" data-no-preview="true" data-reload="/">
                <we-button data-customize-website-views="">Grid</we-button>
                <we-button data-customize-website-views="website_blog.opt_blog_list_view">List</we-button>
            </we-select>
            <we-checkbox string="Cards" class="o_we_sublevel_1" data-customize-website-views="website_blog.opt_blog_cards_design" data-no-preview="true" data-reload="/"/>
            <we-checkbox string="Increase Readability" class="o_we_sublevel_1" data-customize-website-views="website_blog.opt_blog_readable" data-no-preview="true" data-reload="/"/>
            <we-checkbox string="Sidebar" data-name="blog_posts_sidebar_opt" data-customize-website-views="website_blog.opt_blog_sidebar_show" data-no-preview="true" data-reload="/"/>
            <we-checkbox string="Archives" class="o_we_sublevel_1" data-dependencies="blog_posts_sidebar_opt" data-customize-website-views="website_blog.opt_sidebar_blog_index_archives" data-no-preview="true" data-reload="/"/>
            <we-checkbox string="Follow Us" class="o_we_sublevel_1" data-dependencies="blog_posts_sidebar_opt" data-customize-website-views="website_blog.opt_sidebar_blog_index_follow_us" data-no-preview="true" data-reload="/"/>
            <we-checkbox string="Tags List" class="o_we_sublevel_1" data-dependencies="blog_posts_sidebar_opt" data-customize-website-views="website_blog.opt_sidebar_blog_index_tags" data-no-preview="true" data-reload="/"/>
            <we-select string="Posts List" data-no-preview="true" data-reload="/">
                <we-button data-customize-website-views="">No Cover</we-button>
                <we-button data-customize-website-views="website_blog.opt_posts_loop_show_cover">Cover</we-button>
            </we-select>
            <we-checkbox string="Author" class="o_we_sublevel_1" data-customize-website-views="website_blog.opt_posts_loop_show_author" data-no-preview="true" data-reload="/"/>
            <we-checkbox string="Comments/Views Stats" class="o_we_sublevel_1" data-customize-website-views="website_blog.opt_posts_loop_show_stats" data-no-preview="true" data-reload="/"/>
            <we-checkbox string="Teaser &amp; Tags" class="o_we_sublevel_1" data-customize-website-views="website_blog.opt_posts_loop_show_teaser" data-no-preview="true" data-reload="/"/>
        </div>
        <!-- Blog Post page  -->
        <div data-selector="main:has(#o_wblog_post_main)" data-page-options="true" groups="website.group_website_designer" data-no-check="true" string="Blog Page">
            <we-select string="Layout" data-no-preview="true" data-reload="/">
                <we-button data-customize-website-views="website_blog.opt_blog_post_regular_cover">Title Above Cover</we-button>
                <we-button data-customize-website-views="">Title Inside Cover</we-button>
            </we-select>
            <we-checkbox string="Increase Readability" class="o_we_sublevel_1" data-customize-website-views="website_blog.opt_blog_post_readable" data-no-preview="true" data-reload="/"/>
            <we-checkbox string="Sidebar" data-name="blog_post_sidebar_opt" data-customize-website-views="website_blog.opt_blog_post_sidebar" data-no-preview="true" data-reload="/"/>
            <we-checkbox string="Archive" class="o_we_sublevel_1" data-dependencies="blog_post_sidebar_opt" data-customize-website-views="website_blog.opt_blog_post_archive_display" data-no-preview="true" data-reload="/"/>
            <we-checkbox string="Author" class="o_we_sublevel_1" data-dependencies="blog_post_sidebar_opt" data-customize-website-views="website_blog.opt_blog_post_author_avatar_display" data-no-preview="true" data-reload="/"/>
            <we-checkbox string="Blogs List" class="o_we_sublevel_1" data-dependencies="blog_post_sidebar_opt" data-customize-website-views="website_blog.opt_blog_post_blogs_display" data-no-preview="true" data-reload="/"/>
            <we-checkbox string="Share Links" class="o_we_sublevel_1" data-dependencies="blog_post_sidebar_opt" data-customize-website-views="website_blog.opt_blog_post_share_links_display" data-no-preview="true" data-reload="/"/>
            <we-checkbox string="Tags" class="o_we_sublevel_1" data-dependencies="blog_post_sidebar_opt" data-customize-website-views="website_blog.opt_blog_post_tags_display" data-no-preview="true" data-reload="/"/>
            <we-checkbox string="Breadcrumb" data-customize-website-views="website_blog.opt_blog_post_breadcrumb" data-no-preview="true" data-reload="/"/>
            <we-row string="Bottom" class="o_we_full_row">
                <we-button string="Next Article" data-customize-website-views="website_blog.opt_blog_post_read_next" data-no-preview="true" data-reload="/"/>
                <we-button string="Comments" data-customize-website-views="website_blog.opt_blog_post_comment" data-no-preview="true" data-reload="/"/>
            </we-row>
        </div>
    </xpath>
    <xpath expr="//*[@data-js='anchor']" position="attributes">
        <attribute name="data-exclude" add=".o_wblog_post_content_field &gt; :not(div, section)" separator=","/>
    </xpath>

    <!-- Hides ContainerWidth option for content in blog posts -->
    <xpath expr="//div[@data-js='ContainerWidth']" position="attributes">
        <attribute name="data-exclude" add="#o_wblog_post_content *" separator=","/>
    </xpath>
</data>

