<commit_before>{% extends "base.html" %}
{% block content %}
	{% if current_user.is_authenticated() %}
	<p>Entries: {{entry_count}}</p>
  <p>Feeds: {{feed_count}}</p>
  <p>Authors: {{author_count}}</p>
  {% else %}
  <h2><a href="{{ url_for_security('register') }}">Register</a></h2>
  {% endif %}
{% endblock %}<commit_msg>Added new item buttons to index<commit_after>{% extends "base.html" %}
{% block content %}
	{% if current_user.is_authenticated() %}
  <div>
    <button class="btn btn-primary"value="New Entry" href="{{ url_for('new_feed') }}" ><i class="fa fa-plus fa-fw"></i>  New Feed</button>
    Feeds: {{feed_count}}
  </div>
  <br/>
  <div>
    <button class="btn btn-primary"value="New Entry" href="{{ url_for('new_entry') }}" ><i class="fa fa-plus fa-fw"></i>  New Entry</button>
    Entries: {{entry_count}}
  </div>
  <br/>
  <div>
    <button class="btn btn-primary"value="New Entry" href="{{ url_for('new_author') }}" ><i class="fa fa-plus fa-fw"></i>  New Author</button>
    Authors: {{author_count}}
  </div>
  {% else %}
  <h2><a href="{{ url_for_security('register') }}">Register</a></h2>
  {% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.23905429071803852, 'fraction_numerical': 0.0035026269702276708, 'mean_word_length': 4.548543689320389, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '7369393', 'n_tokens_mistral': 448, 'n_tokens_neox': 415, 'n_words': 89}