<commit_before>{% block body %}
    {% autoescape false %}
        <div style="font-family: sans-serif; background: #eee; padding-top: 30px; padding-bottom: 30px; font-size: 16px; color: #333; line-height: 1.5">
            <div style="max-width: 600px; margin: 20px auto;">
                <div style="margin-bottom: 30px; text-align: center;">
                    <a href="{{ absolute_url(path('sylius_shop_homepage')) }}">
                        <img src="{{ absolute_url(asset('assets/admin/img/logo.png')) }}" alt="Sylius" style="width: 170px">
                    </a>
                </div>

                <div style="background: #fff; padding: 40px 30px;">
                    {% block content %}{% endblock %}
                </div>

                <div style="text-align: center; padding: 20px 0;">
                    <a href="{{ absolute_url(path('sylius_shop_homepage')) }}" style="color: #1abb9c; text-decoration: none;">
                        sylius.com
                    </a>
                </div>
            </div>
        </div>
    {% endautoescape %}
{% endblock %}<commit_msg>[Email] Use channel hostname in urls<commit_after>{% block body %}
    {% autoescape false %}
        {% set logo = channel.hostname is not null ? 'http://' ~ channel.hostname ~ asset('assets/admin/img/logo.png') : absolute_url(asset('assets/admin/img/logo.png')) %}

        <div style="font-family: sans-serif; background: #eee; padding-top: 30px; padding-bottom: 30px; font-size: 16px; color: #333; line-height: 1.5">
            <div style="max-width: 600px; margin: 20px auto;">
                <div style="margin-bottom: 30px; text-align: center;">
                    {% if sylius_bundle_loaded_checker('SyliusShopBundle') %}
                        {% set url = channel.hostname is not null ? 'http://' ~ channel.hostname ~ path('sylius_shop_homepage', {'_locale': localeCode}) : url('sylius_shop_homepage', {'_locale': localeCode}) %}
                        <a href="{{ url|raw }}">
                            <img src="{{ logo }}" alt="Sylius" style="width: 170px">
                        </a>
                    {% else %}
                        <img src="{{ logo }}" alt="Sylius" style="width: 170px">
                    {% endif %}
                </div>

                <div style="background: #fff; padding: 40px 30px;">
                    {% block content %}{% endblock %}
                </div>

                <div style="text-align: center; padding: 20px 0;">
                    {% if sylius_bundle_loaded_checker('SyliusShopBundle') %}
                        {% set url = channel.hostname is not null ? 'http://' ~ channel.hostname ~ path('sylius_shop_homepage', {'_locale': localeCode}) : url('sylius_shop_homepage', {'_locale': localeCode}) %}
                        <a href="{{ url|raw }}" style="color: #1abb9c; text-decoration: none;">sylius.com</a>
                    {% else %}
                        <div style="color: #1abb9c; text-decoration: none;">sylius.com</div>
                    {% endif %}
                </div>
            </div>
        </div>
    {% endautoescape %}
{% endblock %}
{'fraction_non_alphanumeric': 0.16375198728139906, 'fraction_numerical': 0.02066772655007949, 'mean_word_length': 1.82152466367713, 'pattern_counts': {'":': 0, '<': 36, '<?xml version=': 0, '>': 36, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5270904', 'n_tokens_mistral': 1023, 'n_tokens_neox': 884, 'n_words': 204}