<commit_before>{% extends "blog_base.html" %}
<!-- start main content -->
{% block content %}
    {% if heading %}
        <h1>{{ heading }}</h1>
    {% endif %}
    {% for post in posts.object_list %}
        <div id="story-title-{{ post.id }}" class="span-6">
            <h2><a href="{{ post.get_absolute_url }}">{{ post.title }}</a></h2>
            <hr />
        </div>
        <div id="story-body-{{ post.id }}" class="span-18">
            <div class="newnew-story">
                {{ post.body|safe }}
            </div>
            {% if post.photo_set %}
                <!-- The following courtesy of http://slideshow.triptracker.net/ -->
                <script type="text/javascript">
                    <!--
                    var viewer{{ post.id }} = new PhotoViewer();
                    {% for photo in post.photo_set.all|slice:"3" %}
                        viewer{{ post.id }}.add('{{ MEDIA_URL }}{{ photo.image }}');
                    {% endfor %}
                    // -->
                </script>
                {% for photo in post.photo_set.all|slice:"3" %}
                    <a href="{{ MEDIA_URL }}{{ photo.image }}" onclick="return viewer{{ post.id }}.show({{ forloop.counter0 }})"> <img width="100" height="100" src="{{ photo.image.thumb_url }}" alt="" /> </a>
                {% endfor %}
                <p><a href="{{ post.get_absolute_url }}">Click to see the rest of the gallery</a><p>
            {% endif %}

            <!-- stop social media -->
            <!-- start comments -->
            {% if post.enable_comments %}
                <hr />
                {% load get_setting %}
                {% get_setting "DJANGO_COMMENTS" "django_comments" %}
                {% if django_comments %}
                    <h1> should not see this! </h1>
                    {#           {#    {% load comments %}  #}#}
                    {#           {% get_comment_count for post as post_count %}#}
                    {#           <a href="{{ post.get_absolute_url }}">{{ post_count }} Comments</a>#}
                {% else %}
                    {% load disqus_tags %}
                    {% if forloop.first %}
                        {% load disqus_tags %}
                        {% disqus_show_comments %}
                    {% else %}
                        <a href="{{ post.get_absolute_url }}#disqus_thread">View Comments</a>

                        {% disqus_num_replies %}
                    {% endif %}
                {% endif %}
            {% endif %}
            <!-- end comments -->
            <hr class="newnew-divider"/>
            <p class="small">Updated {{ post.modified|date:"m/d/y @ h:iA T" }} by {{post.owner}}</p>
            <p class="story_cat"><u>Categories</u>:
                {% for x in post.category.all %}<a href="{{ x.get_absolute_url }}">{{ x }}</a> {% endfor %}
            </p>
            <!-- start tags -->
            <p><u>Tags</u>: {% for tag in post.get_tags %}
                <a href="/blog/tags/{{ tag }}">{{ tag }}</a>
            {% endfor %}</p>
            <!-- end tags -->
            <hr />
            <!-- start social media -->
            <p>
                <a href="http://reddit.com/submit?url={{ ROOT_URL }}{{ post.get_absolute_url }}amp;title={{ post.title
                        }}"><img src="http://images.neopets.com/backgrounds/sketch/800_mynci.jpg" alt="Reddit" /></a>
                <a href="http://digg.com/submit?phase=2amp;url={{ ROOT_URL }}{{ post.get_absolute_url }}"><img src="{{
                        MEDIA_URL }}images/digg.gif" alt="Digg it!" /></a>
                <a href="http://www.stumbleupon.com/submit?url={{ ROOT_URL }}{{ post.get_absolute_url }}amp;title={{
                        post.title }}"><img src="{{ MEDIA_URL }}images/stumble-upon.jpg" alt="StumbleUpon" /></a>
                <a href="http://del.icio.us/post?url={{ ROOT_URL }}{{ post.get_absolute_url }}amp;title={{ post.title
                        }}"><img src="{{ MEDIA_URL }}images/delicious.gif" alt="Delicious!" /></a>
            </p>
        </div>
        <hr />
    {% endfor %}
    <!-- start pagination -->
    <div class="pagination">
        <span class="step-links">
        {% if posts.has_previous %}<a href="?page={{ posts.previous_page_number }}" class="util-link">previous</a>{% endif %}
        {% if posts.has_next %}<a href="?page={{ posts.next_page_number }}" class="util-link">next</a>{% endif %}
        </span>
        <h3>Page {{ posts.number }} of {{ posts.paginator.num_pages }}</h3>
        <!-- end pagination -->
    </div>
{% endblock %}
<!-- end main content -->
<commit_msg>cartoons<commit_after>{% extends "blog_base.html" %}
<!-- start main content -->
{% block content %}
    {% if heading %}
        <h1>{{ heading }}</h1>
    {% endif %}
    {% for post in posts.object_list %}
        <div id="story-title-{{ post.id }}" class="span-6">
            <h2><a href="{{ post.get_absolute_url }}">{{ post.title }}</a></h2>
            <hr />
        </div>
        <div id="story-body-{{ post.id }}" class="span-18">
            <div class="newnew-story">
                {{ post.body|safe }}
            </div>
            {% if post.photo_set %}
                <!-- The following courtesy of http://slideshow.triptracker.net/ -->
                <script type="text/javascript">
                    <!--
                    var viewer{{ post.id }} = new PhotoViewer();
                    {% for photo in post.photo_set.all|slice:"3" %}
                        viewer{{ post.id }}.add('{{ MEDIA_URL }}{{ photo.image }}');
                    {% endfor %}
                    // -->
                </script>
                {% for photo in post.photo_set.all|slice:"3" %}
                    <a href="{{ MEDIA_URL }}{{ photo.image }}" onclick="return viewer{{ post.id }}.show({{ forloop.counter0 }})"> <img width="100" height="100" src="{{ photo.image.thumb_url }}" alt="" /> </a>
                {% endfor %}
                <p><a href="{{ post.get_absolute_url }}">Click to see the rest of the gallery</a><p>
            {% endif %}

            <!-- stop social media -->
            <!-- start comments -->
            {% if post.enable_comments %}
                <hr />
                {% load get_setting %}
                {% get_setting "DJANGO_COMMENTS" "django_comments" %}
                {% if django_comments %}
                    <h1> should not see this! </h1>
                    {#           {#    {% load comments %}  #}#}
                    {#           {% get_comment_count for post as post_count %}#}
                    {#           <a href="{{ post.get_absolute_url }}">{{ post_count }} Comments</a>#}
                {% else %}
                    {% load disqus_tags %}
                    {% if forloop.first %}
                        {% load disqus_tags %}
                        {% disqus_show_comments %}
                    {% else %}
                        <a href="{{ post.get_absolute_url }}#disqus_thread">View Comments</a>

                        {% disqus_num_replies %}
                    {% endif %}
                {% endif %}
            {% endif %}
            <!-- end comments -->
            <hr class="newnew-divider"/>
            <p class="small">Updated {{ post.modified|date:"m/d/y @ h:iA T" }} by {{post.owner}}</p>
            <p class="story_cat"><u>Categories</u>:
                {% for x in post.category.all %}<a href="{{ x.get_absolute_url }}">{{ x }}</a> {% endfor %}
            </p>
            <!-- start tags -->
            <p><u>Tags</u>: {% for tag in post.get_tags %}
                <a href="/blog/tags/{{ tag }}">{{ tag }}</a>
            {% endfor %}</p>
            <!-- end tags -->
            <hr />
            <!-- start social media -->
            <p>
                <a href="http://reddit.com/submit?url={{ ROOT_URL }}{{ post.get_absolute_url }}amp;title={{ post.title
                        }}"><img src="http://images.neopets.com/backgrounds/sketch/800_mynci.jpg" alt="Reddit" /></a>
                <a href="http://digg.com/submit?phase=2amp;url={{ ROOT_URL }}{{ post.get_absolute_url }}">
                    <img src="http://images.wikia.com/fairlyoddparents/en/images/archive/2/2f/20120123232652!FairlyOddParents_Cosmo_01.jpg" alt="Digg it!" /></a>
                <a href="http://www.stumbleupon.com/submit?url={{ ROOT_URL }}{{ post.get_absolute_url }}amp;title={{
                        post.title }}"><img src="http://mhsartgallerymac.wikispaces.com/file/view/Pablo-Picasso-Head-Of-A-Woman.jpg/338349984/533x640/Pablo-Picasso-Head-Of-A-Woman.jpg" alt="StumbleUpon" /></a>
                <a href="http://del.icio.us/post?url={{ ROOT_URL }}{{ post.get_absolute_url }}amp;title={{ post.title
                        }}"><img src="http://fc04.deviantart.net/fs71/f/2011/182/0/b/gorillaz_by_gsgill37-d3kofou.jpg" alt="Delicious!" /></a>
            </p>
        </div>
        <hr />
    {% endfor %}
    <!-- start pagination -->
    <div class="pagination">
        <span class="step-links">
        {% if posts.has_previous %}<a href="?page={{ posts.previous_page_number }}" class="util-link">previous</a>{% endif %}
        {% if posts.has_next %}<a href="?page={{ posts.next_page_number }}" class="util-link">next</a>{% endif %}
        </span>
        <h3>Page {{ posts.number }} of {{ posts.paginator.num_pages }}</h3>
        <!-- end pagination -->
    </div>
{% endblock %}
<!-- end main content -->

{'fraction_non_alphanumeric': 0.191030251745293, 'fraction_numerical': 0.010154431986460757, 'mean_word_length': 1.5595560368164592, 'pattern_counts': {'":': 0, '<': 167, '<?xml version=': 0, '>': 167, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5661231', 'n_tokens_mistral': 3066, 'n_tokens_neox': 2767, 'n_words': 540}