<commit_before><?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <data>
        <!-- customize_show allow to disable or enable the customization in the website.
            TODO We should have a way to enable the customization only on wanted pages!
        -->
        <template id="participant_social_share" name="Remove default FB title" inherit_id="website.layout" active="True" customize_show="True" >
            <!-- This will remove the og:title feature that will be set manually in the header -->
            <xpath expr="//meta[contains(@property, 'og:')]" position="replace"/>
        </template>

        <template id="participant_details" name="Muskathlon participant page">
            <!-- Add social share information for Facebook and Twitter -->
            <t t-set="sport" t-value="registration.sport_discipline_id"/>
            <t t-set="share_url">https://muskathlon-kenya.ch/en_US<t t-esc="registration.website_url"/></t>
            <t t-set="share_content">Support me! I will be <t t-esc="sport.sport.lower()"/><t t-if="registration.event_id.country_id"> in <t t-esc="registration.event_id.country_id.name"/></t> - <t t-esc="registration.partner_firstname"/> <t t-esc="registration.partner_lastname"/></t>
            <t t-set="image_url">https://muskathlon-kenya.ch/en_US/web/image/muskathlon.registration/<t t-esc="registration.id"/>/ambassador_picture_1</t>
            <t t-set="head">
                <meta property="og:title"  t-att-content="share_content" />
                <meta property="og:url"    t-att-content="share_url" />
                <meta property="og:description" t-att-content="registration.ambassador_quote"/>
                <meta property="og:image" t-att-content="image_url"/>
                <meta property="og:type" content="fitness.course"/>
            </t>
            <t t-call="website.layout">
                <!-- Facebook social share feature -->
                <div id="fb-root"></div>
                <script>(function(d, s, id) {
                    var js, fjs = d.getElementsByTagName(s)[0];
                    if (d.getElementById(id)) return;
                    js = d.createElement(s); js.id = id;
                    js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v3.0";<commit_msg>FIX share title<commit_after><?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <data>
        <!-- customize_show allow to disable or enable the customization in the website.
            TODO We should have a way to enable the customization only on wanted pages!
        -->
        <template id="participant_social_share" name="Remove default FB title" inherit_id="website.layout" active="True" customize_show="True" >
            <!-- This will remove the og:title feature that will be set manually in the header -->
            <xpath expr="//meta[contains(@property, 'og:')]" position="replace"/>
        </template>

        <template id="participant_details" name="Muskathlon participant page">
            <!-- Add social share information for Facebook and Twitter -->
            <t t-set="sport" t-value="registration.sport_discipline_id"/>
            <t t-set="share_url">https://muskathlon-kenya.ch/en_US<t t-esc="registration.website_url"/></t>
            <t t-set="share_content">Support me! <t t-esc="sport.page_title"/><t t-if="registration.event_id.country_id"> in <t t-esc="registration.event_id.country_id.name"/></t> - <t t-esc="registration.partner_firstname"/> <t t-esc="registration.partner_lastname"/></t>
            <t t-set="image_url">https://muskathlon-kenya.ch/en_US/web/image/muskathlon.registration/<t t-esc="registration.id"/>/ambassador_picture_1</t>
            <t t-set="head">
                <meta property="og:title"  t-att-content="share_content" />
                <meta property="og:url"    t-att-content="share_url" />
                <meta property="og:description" t-att-content="registration.ambassador_quote"/>
                <meta property="og:image" t-att-content="image_url"/>
                <meta property="og:type" content="fitness.course"/>
            </t>
            <t t-call="website.layout">
                <!-- Facebook social share feature -->
                <div id="fb-root"></div>
                <script>(function(d, s, id) {
                    var js, fjs = d.getElementsByTagName(s)[0];
                    if (d.getElementById(id)) return;
                    js = d.createElement(s); js.id = id;
                    js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v3.0";
{'fraction_non_alphanumeric': 0.15578993627774115, 'fraction_numerical': 0.0035157108327840037, 'mean_word_length': 2.482785003825555, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 2, '>': 77, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '527364', 'n_tokens_mistral': 1402, 'n_tokens_neox': 1341, 'n_words': 274}