<commit_before>{% extends "base.html" %}
{% block content %}

{% if articles %}
{% for article in (articles_page.object_list if articles_page else articles) %}
<div class='article'>
	<h2>{{ article.title }}</h2>
	<div class="well small">{% include "metadata.html" %}</div>
	<div class="summary">{{ article.summary }} <a class="btn primary xsmall" href="{{ SITEURL }}/{{ article.url }}">more…</a>
	</div>
</div>	
{% endfor %}
{%endif%}

{% if articles_page and articles_paginator.num_pages > 1 %}
<div class="pagination">
<ul>
	{% if articles_page.has_previous() %}
		{% set num = articles_page.previous_page_number() %}
		<li class="prev"><a href="{{ SITEURL }}/{{ page_name }}{{ num if num > 1 else '' }}.html">&larr; Previous</a></li>
	{% else %}
		<li class="prev disabled"><a href="#">&larr; Previous</a></li>
	{% endif %}
	{% for num in range( 1, 1 + articles_paginator.num_pages ) %}
		<li class="{{ 'active' if num == articles_page.number else '' }}"><a href="{{ SITEURL }}/{{ page_name }}{{ num if num > 1 else '' }}.html">{{ num }}</a></li>
	{% endfor %}
	{% if articles_page.has_next() %}
		<li class="next"><a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">Next &rarr;</a></li>
	{% else %}
		<li class="next disabled"><a href="#">&rarr; Next</a></li>
	{% endif %}
</ul>
</div>
{% endif %}

{% endblock %}
<commit_msg>Replaced listings with a grid system (Fixes #5)<commit_after>{% extends "base.html" %}
{% block content %}

{% if articles %}
<div class="row">
  {% for article in articles %}
  <div class="span4">
    <div class="thumbnail">
      <a href="{{article.url}}">
        <h3>{{article.title}}</h3>
        <img src="{{article.icon}}" style="border: 1px solid black"/>
      </a>
      <div>
        <a class="btn primary xsmall" href="{{ SITEURL }}/{{ article.url }}">info…</a>
        <a href="https://cloud.online.net/#/servers/new?image={{ article.uuid }}" class="btn success xsmall" target="_blank">Create server</a>
      </div>
    </div>
  </div>
  {% endfor %}
</div>
{% endif %}

{% if articles_page and articles_paginator.num_pages > 1 %}
<div class="pagination">
<ul>
	{% if articles_page.has_previous() %}
		{% set num = articles_page.previous_page_number() %}
		<li class="prev"><a href="{{ SITEURL }}/{{ page_name }}{{ num if num > 1 else '' }}.html">&larr; Previous</a></li>
	{% else %}
		<li class="prev disabled"><a href="#">&larr; Previous</a></li>
	{% endif %}
	{% for num in range( 1, 1 + articles_paginator.num_pages ) %}
		<li class="{{ 'active' if num == articles_page.number else '' }}"><a href="{{ SITEURL }}/{{ page_name }}{{ num if num > 1 else '' }}.html">{{ num }}</a></li>
	{% endfor %}
	{% if articles_page.has_next() %}
		<li class="next"><a href="{{ SITEURL }}/{{ page_name }}{{ articles_page.next_page_number() }}.html">Next &rarr;</a></li>
	{% else %}
		<li class="next disabled"><a href="#">&rarr; Next</a></li>
	{% endif %}
</ul>
</div>
{% endif %}

{% endblock %}

{'fraction_non_alphanumeric': 0.24366339979722879, 'fraction_numerical': 0.005745184183845894, 'mean_word_length': 4.183887915936952, 'pattern_counts': {'":': 0, '<': 78, '<?xml version=': 0, '>': 84, 'https://': 1, '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': '2957527', 'n_tokens_mistral': 1144, 'n_tokens_neox': 1034, 'n_words': 258}