<commit_before>{% extends "layout.html" %}
{% block content %}
<div class="container">
    <div class="row">
        <div class="col-md-6">
            {{ pagination.info }}
        </div>
        <div class="col-md-6 text-right">
            {% if current_user.is_authenticated %}
                <a class="text-muted" href="{{ url_for('bookmarks.list_') }}">all</a>&nbsp;⸱&nbsp;
                <a class="text-muted" href="{{ url_for('bookmarks.list_') + 'private' }}">private</a>&nbsp;⸱&nbsp;
                <a class="text-muted" href="{{ url_for('bookmarks.list_') + 'public' }}">public</a>&nbsp;⸱&nbsp;
                <a class="text-muted" href="{{ url_for('bookmarks.list_') + 'unread' }}">unread</a>
            {% endif %}
        </div>
    </div>
    <br />
    <div class="row">
        <div class="col-md-12 text-right">
            <form method="GET">
                <div class="form-inline">
                    <input type="text" name="query" class="form-control" />
                    <button type="submit" class="btn btn-default">Search</button>
                </div>
            </form>
        </div>
    </div>
    <br />
    <div class="row">
        <div class="col-md-8">
            {{ pagination.links }}
        </div>
    </div>
    <br />
    <div class="row">
        <div class="col-md-8">
            <ul class="list-group">
            {% for bookmark in bookmarks %}
                <li class="list-group-item">
                    <a href="#">
                        <h4 class="list-group-item-heading">
                            <a href="{{ bookmark.href }}">{{ bookmark.title }}</a>
                        </h4>
                        <p class="list-group-item-text">
                            <div class="text-muted">{{ bookmark.description }}</div>
                            <div>{% for tag in bookmark.tags %}<a href="{{ url_for('bookmarks.list_', tag=tag.text) }}">{{ tag.text }}&nbsp;</a>{% endfor %}</div>
                            {{ bookmark.time | datetime }}<commit_msg>Display the selected tags/search term.<commit_after>{% extends "layout.html" %}
{% block content %}
<div class="container">
    <div class="row">
        <div class="col-md-6">
            {{ pagination.info }}
        </div>
        <div class="col-md-6 text-right">
            {% if current_user.is_authenticated %}
                <a class="text-muted" href="{{ url_for('bookmarks.list_') }}">all</a>&nbsp;⸱&nbsp;
                <a class="text-muted" href="{{ url_for('bookmarks.list_') + 'private' }}">private</a>&nbsp;⸱&nbsp;
                <a class="text-muted" href="{{ url_for('bookmarks.list_') + 'public' }}">public</a>&nbsp;⸱&nbsp;
                <a class="text-muted" href="{{ url_for('bookmarks.list_') + 'unread' }}">unread</a>
            {% endif %}
        </div>
    </div>
    <br />
    <div class="row">
        <div class="col-md-6">
            {% if tag %}
                <span class="glyphicon glyphicon-tags" aria-hidden="true"></span>&nbsp;&nbsp;{{ tag }}
            {% endif %}
            {% if query %}
                <span class="glyphicon glyphicon-search" aria-hidden="true"></span>&nbsp;&nbsp;{{ query }}
            {% endif %}
        </div>
        <div class="col-md-6 text-right">
            <form method="GET">
                <div class="form-inline">
                    <input type="text" name="query" class="form-control" />
                    <button type="submit" class="btn btn-default">Search</button>
                </div>
            </form>
        </div>
    </div>
    <br />
    <div class="row">
        <div class="col-md-8">
            {{ pagination.links }}
        </div>
    </div>
    <br />
    <div class="row">
        <div class="col-md-8">
            <ul class="list-group">
            {% for bookmark in bookmarks %}
                <li class="list-group-item">
                    <a href="#">
                        <h4 class="list-group-item-heading">
                            <a href="{{ bookmark.href }}">{{ bookmark.title }}</a>
                        </h4>
                        <p class="list-group-item-text">
                            <div class="text-muted">{{ bookmark.description }}</div>
                            <div>{% for tag in bookmark.tags %}<a href="{{ url_for('bookmarks.list_', tag=tag.text) }}">{{ tag.text }}&nbsp;</a>{% endfor %}</div>
                            {{ bookmark.time | datetime }}
{'fraction_non_alphanumeric': 0.19396939693969398, 'fraction_numerical': 0.0036003600360036, 'mean_word_length': 1.6317347542924807, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 107, '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': '4801986', 'n_tokens_mistral': 1393, 'n_tokens_neox': 1323, 'n_words': 259}