<commit_before>{% extends "admin/index.html" %}
{% load adminmedia %}
{% load url from future %}


{% block extrahead %}
    {{block.super}}
    <script type="text/javascript" src="{% admin_media_prefix %}js/jquery.min.js"></script>
    <script type="text/javascript" src="{% admin_media_prefix %}js/jquery.init.js"></script>
    <script type="text/javascript" src="{{STATIC_URL}}cms/js/jquery.cms.js"></script>
{% endblock %}



{% block sidebar %}
    {% if "cms.apps.pages" in settings.INSTALLED_APPS %}
        <div id="content-related">
            {% if perms.pages.change_page %}
                <div id="sitemap-panel">
                    <div id="sitemap-module" class="module">
                        <h2>Sitemap</h2>
                        <noscript>
                            <p>Please turn on javascript to activate the sitemap.</p>
                        </noscript>
                    </div>
                    <script type="text/javascript">
                        (function($) {
                            $("#sitemap-module").cms("sitemap");
                        }(django.jQuery));
                    </script>
                </div>
            {% endif %}
        </div>
    {% else %}
        {{block.super}}
    {% endif %}
{% endblock %}<commit_msg>Further admin page backend integration<commit_after>{% extends "admin/index.html" %}
{% load adminmedia %}
{% load url from future %}


{% block extrahead %}
    {{block.super}}
    <script type="text/javascript" src="{% admin_media_prefix %}js/jquery.min.js"></script>
    <script type="text/javascript" src="{% admin_media_prefix %}js/jquery.init.js"></script>
    <script type="text/javascript" src="{{STATIC_URL}}cms/js/jquery.cms.js"></script>
{% endblock %}



{% block sidebar %}
    {% if request.pages %}
        <div id="content-related">
            <div id="sitemap-panel">
                <div id="sitemap-module" class="module">
                    <h2>Sitemap</h2>
                    <noscript>
                        <p>Please turn on javascript to activate the sitemap.</p>
                    </noscript>
                </div>
                <script type="text/javascript">
                    (function($) {
                        $("#sitemap-module").cms("sitemap");
                    }(django.jQuery));
                </script>
            </div>
        </div>
    {% else %}
        {{block.super}}
    {% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.1651676206050695, 'fraction_numerical': 0.001635322976287817, 'mean_word_length': 1.6831140350877194, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '511001', 'n_tokens_mistral': 762, 'n_tokens_neox': 662, 'n_words': 131}