<commit_before>{% extends "layout.twig.html" %}
{% block content %}
	<h2>view {% if page.tag_latest %}recently added {% endif %}tags</h2>

{% if tags -%}
	{#
	<div class="tag-list">
	{%- for tag in tags %}
	{% spaceless %}
	<div class="btn-group tag-set">
		<a class="btn btn-mini" href="{{ url.tag_edit(tag.id) }}">edit</a>
		<a class="btn disabled btn-mini tag tag-{{ tag.getType() }}" href="{{ url.search_tag(tag.title|url_encode) }}" title="{{ tag.getDescription() }}">{{ tag.title }}</a>
		<a class="btn btn-mini" href="{{ url.tag_alias(tag.id) }}">alias</a></div>
	{% endspaceless %}
	{% endfor -%}
	</div>
	#}
	<div class="pull-left">
		<table class="table table-condensed table-striped tag-list">
		{% for tag in tags %}
			{% if loop.index is odd %}
			<tr>
				<td class="span4"><a class="tag-text tag-text-{{ tag.getType() }}" href="{{ url.search_tag(tag.title|url_encode) }}" title="{{ tag.getDescription() }}">{{ tag.title }}</a></td>
				<td>{{ tag.tag_count }} entr{% if tag.tag_count != 1 %}ies{% else %}y{% endif %}</td>
				<td><a class="btn btn-mini" href="{{ url.tag_edit(tag.id) }}">Edit</a></td>
			</tr>
			{% endif %}
		{% endfor %}
		</table>
	</div>
	<div class="pull-right">
		<table class="table table-condensed table-striped tag-list">
		{% for tag in tags %}
			{% if loop.index is even %}
			<tr>
				<td class="span4"><a class="tag-text tag-text-{{ tag.getType() }}" href="{{ url.search_tag(tag.title|url_encode) }}" title="{{ tag.getDescription() }}">{{ tag.title }}</a></td>
				<td>{{ tag.tag_count }} entr{% if tag.tag_count != 1 %}ies{% else %}y{% endif %}</td>
				<td><a class="btn btn-mini" href="{{ url.tag_edit(tag.id) }}">Edit</a></td>
			</tr>
			{% endif %}
		{% endfor %}
		</table>
	</div>
	<div class="clear"></div>
{% else %}
	<div class="shana"><img src="{{ asset.image.shana_hmph }}" alt="hmph!"></div>
	<h3 class="caption">Nothing to see here yet.<br>  Move along or <a href="{{ url.submit() }}">submit something</a>.</h3>
{% endif %}<commit_msg>Tag view cleanup<commit_after>{% extends "layout.twig.html" %}
{% block content %}
	<h2>view {% if page.tag_latest %}recently added {% endif %}tags</h2>

{% if tags -%}
	{% for i in 0..1 %}
	{% set l = loop %}
	<div class="pull-{% if loop.index is even %}left{% else %}right{% endif %}">
		<table class="table table-condensed table-striped tag-list">
		{% for tag in tags %}
			{% if (l.index is even and loop.index is odd) or (l.index is odd and loop.index is even) %}
			<tr>
				<td class="span3"><a class="tag-text tag-text-{{ tag.getType() }}" href="{{ url.search_tag(tag.title|url_encode) }}" title="{{ tag.getDescription() }}">{{ tag.title|replace({'_':' '}) }}</a></td>
				<td>{{ tag.tag_count }} entr{% if tag.tag_count != 1 %}ies{% else %}y{% endif %}</td>
				<td><span class="btn-group">
					<a class="btn btn-mini" href="{{ url.tag_edit(tag.id) }}">Edit</a>
					<a class="btn btn-mini" href="{{ url.tag_alias(tag.id) }}">Alias</a> <a class="btn btn-mini btn-danger" href="{{ url.tag_delete(tag.id) }}">Delete</a>
				</span></td>
			</tr>
			{% endif %}
		{% endfor %}
		</table>
	</div>
	{% endfor %}
	<div class="clear"></div>
{% else %}
	<div class="shana"><img src="{{ asset.image.shana_hmph }}" alt="hmph!"></div>
	<h3 class="caption">Nothing to see here yet.<br>  Move along or <a href="{{ url.submit() }}">submit something</a>.</h3>
{% endif %}
{'fraction_non_alphanumeric': 0.2540861812778603, 'fraction_numerical': 0.00475482912332838, 'mean_word_length': 3.94273127753304, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, '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': '2200956', 'n_tokens_mistral': 1433, 'n_tokens_neox': 1246, 'n_words': 305}