<commit_before>{% extends 'base.html' %}
{% comment %}
Copyright (c) 2008 Participatory Culture Foundation
See LICENSE for details.
{% endcomment %}
{% load i18n channels  cg_helpers %}
{% block head-extra %}<link rel="StyleSheet" type="text/css" href="{{ STATIC_BASE_URL }}css/cobranding.css?nonce={{ style_nonce }}">
{% if cobrand.css_url %}
<link rel="StyleSheet" type="text/css" href="{{ cobrand.css_url }}">
{% endif %}
{% if cobrand.favicon_url %}
<link rel="shortcut icon" type="image/x-icon" href="{{ cobrand.favicon_url }}">
{% endif %}
<script type="text/javascript">
function _redirectToSubscription(request) {
    if (isMiro()) {
        url = /url1=(.*)&/.exec(request.subscribe_url)[0];
        window.location.href = 'action:addFeed?selected=1&url=' + url;
    } else {
        window.location.href = request.subscription_url;
    }
}
</script>{% endblock %}
{% block title %}{{ cobrand.html_title }}{%endblock %}
{% block navigation %}{% endblock %}
{% block underwriting %}{% endblock %}
{% block content %}
<div class="channel-list-page cobranding">
    <h1>
        {{ cobrand.page_title }}
    </h1>
    {% if cobrand.icon_url %}
    <div class="icon">
        <img src="{{ cobrand.icon_url }}" alt="Icon for {{ cobrand.page_title }}">
    </div>
    {% endif %}
    <div class="description">{{ cobrand.description }}</div>
    <div class="info">
        <ul>
            <li>Website: <a href="{{ cobrand.url }}">{{ cobrand.url }}</a></li>
            {% if cobrand.link1_text %}
            <li>{% if cobrand.link1_url %}<a href="{{ cobrand.link1_url }}">{% endif %}{{ cobrand.link1_text }}{% if cobrand.link1_url %}</a>{% endif %}</li>
            {% endif %}
            {% if cobrand.link2_text %}
            <li>{% if cobrand.link2_url %}<a href="{{ cobrand.link2_url }}">{% endif %}{{ cobrand.link2_text }}{% if cobrand.link2_url %}</a>{% endif %}</li>
            {% endif %}<commit_msg>use the right part of the match<commit_after>{% extends 'base.html' %}
{% comment %}
Copyright (c) 2008 Participatory Culture Foundation
See LICENSE for details.
{% endcomment %}
{% load i18n channels  cg_helpers %}
{% block head-extra %}<link rel="StyleSheet" type="text/css" href="{{ STATIC_BASE_URL }}css/cobranding.css?nonce={{ style_nonce }}">
{% if cobrand.css_url %}
<link rel="StyleSheet" type="text/css" href="{{ cobrand.css_url }}">
{% endif %}
{% if cobrand.favicon_url %}
<link rel="shortcut icon" type="image/x-icon" href="{{ cobrand.favicon_url }}">
{% endif %}
<script type="text/javascript">
function _redirectToSubscription(request) {
    if (isMiro()) {
        url = /url1=(.*)&/.exec(request.subscribe_url)[1];
        window.location.href = 'action:addFeed?selected=1&url=' + url;
    } else {
        window.location.href = request.subscription_url;
    }
}
</script>{% endblock %}
{% block title %}{{ cobrand.html_title }}{%endblock %}
{% block navigation %}{% endblock %}
{% block underwriting %}{% endblock %}
{% block content %}
<div class="channel-list-page cobranding">
    <h1>
        {{ cobrand.page_title }}
    </h1>
    {% if cobrand.icon_url %}
    <div class="icon">
        <img src="{{ cobrand.icon_url }}" alt="Icon for {{ cobrand.page_title }}">
    </div>
    {% endif %}
    <div class="description">{{ cobrand.description }}</div>
    <div class="info">
        <ul>
            <li>Website: <a href="{{ cobrand.url }}">{{ cobrand.url }}</a></li>
            {% if cobrand.link1_text %}
            <li>{% if cobrand.link1_url %}<a href="{{ cobrand.link1_url }}">{% endif %}{{ cobrand.link1_text }}{% if cobrand.link1_url %}</a>{% endif %}</li>
            {% endif %}
            {% if cobrand.link2_text %}
            <li>{% if cobrand.link2_url %}<a href="{{ cobrand.link2_url }}">{% endif %}{{ cobrand.link2_text }}{% if cobrand.link2_url %}</a>{% endif %}</li>
            {% endif %}
{'fraction_non_alphanumeric': 0.2047817047817048, 'fraction_numerical': 0.010914760914760915, 'mean_word_length': 3.429228998849252, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3007473', 'n_tokens_mistral': 1401, 'n_tokens_neox': 1288, 'n_words': 278}