<commit_before>{% load static %}
{% load i18n %}

<!DOCTYPE html>
{% get_current_language as LANGUAGE_CODE %}
<html lang="{{ LANGUAGE_CODE }}" prefix="og: http://ogp.me/ns#">
    <head>
        <!-- Meta content -->
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />

        <!-- CSS -->
        <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}" />
        <link rel="stylesheet" href="{% static 'css/open-iconic-bootstrap.css' %}" />
        <link rel="stylesheet" href="{% static 'css/dissemin.css' %}" />

        <!-- JavaScript -->
        <script src="{% static 'js/jquery.min.js' %}"></script>
        <script src="{% static 'js/bootstrap.bundle.min.js' %}"></script>
        <script src="{% static 'js/dissemin.js' %}"></script>
        {% block scripts %}{% endblock %}

        <!-- Title -->
        {% comment %}
            Set a title with block title
        {% endcomment %}
        <title>{% block title %}{% endblock %} - Dissemin</title>

    </head>

    <body>
        <div class="container">
            {% include 'navbar.html' %}
            {% block content %}{% endblock %}
            {% include 'footer.html' %}
        </div>
    </body>

</html><commit_msg>Add beta ribbon for test and dev instances<commit_after>{% load static %}
{% load i18n %}

<!DOCTYPE html>
{% get_current_language as LANGUAGE_CODE %}
<html lang="{{ LANGUAGE_CODE }}" prefix="og: http://ogp.me/ns#">
    <head>
        <!-- Meta content -->
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />

        <!-- CSS -->
        <link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}" />
        <link rel="stylesheet" href="{% static 'css/open-iconic-bootstrap.css' %}" />
        <link rel="stylesheet" href="{% static 'css/dissemin.css' %}" />

        <!-- JavaScript -->
        <script src="{% static 'js/jquery.min.js' %}"></script>
        <script src="{% static 'js/bootstrap.bundle.min.js' %}"></script>
        <script src="{% static 'js/dissemin.js' %}"></script>
        {% block scripts %}{% endblock %}

        <!-- Title -->
        {% comment %}
            Set a title with block title
        {% endcomment %}
        <title>{% block title %}{% endblock %} - Dissemin</title>

    </head>

    <body>
        <div class="container">
            {% include 'navbar.html' %}
            {% block content %}{% endblock %}
            {% include 'footer.html' %}
            {% comment %}
                This is the beta ribbon, indicating, that it's not a production instance
            {% endcomment %}
            {% if settings.DISPLAY_BETA_RIBBON %}
                <img style="position:absolute; top:0; left:0; border:0; opacity: 0.8; pointer-events: none;" src="{% static "img/beta-ribbon.png" %}" alt="Beta version" />
            {% endif %}
        </div>
    </body>

</html>
{'fraction_non_alphanumeric': 0.19785738198861735, 'fraction_numerical': 0.004352192835621024, 'mean_word_length': 2.1923076923076925, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 0, '>': 56, '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': '2599455', 'n_tokens_mistral': 991, 'n_tokens_neox': 889, 'n_words': 213}