{% extends "layout.html" %}
{% block body %}
<h1>All commits from {{ start }} to {{ end }}</h1>
{% for user, user_commits in commits.items() %}
<h4>{{ user }}</h4>
<table class="table table-striped table-bordered table-condensed">
    <tr>
        <th>Author</th>
        <th>Project</th>
        <th>Datetime</th>
        <th>Inserts</th>
        <th>Deletes</th>
        <th>Files</th>
    </tr>
    {% for commit in user_commits %}
    <tr>
        <td>{{ commit.author }}</td>
        <td>{{ commit.repo }}</td>
        <td>{{ commit.datetime.isoformat() }}</td>
        <td>{{ commit.inserts }}</td>
        <td>{{ commit.deletes }}</td>
        <td>{{ commit.files }}</td>
    </tr>
    {% endfor %}
</table>
{% endfor %}
{% endblock %}

{% extends "layout.html" %}
{% block body %}
<h1>All commits from {{ start.date() }} to {{ end.date() }}</h1>
<ul>
    {% for user in commits.keys() %}
    <li><a href="#{{ user }}">{{ user }}</a></li>
    {% endfor %}
</ul>

{% for user, user_commits in commits.items() %}
<a name="{{ user }}"><h4>{{ user }}</h4></a>
<table class="table table-striped table-bordered table-condensed">
    <tr>
        <th>Author</th>
        <th>Project</th>
        <th>Datetime</th>
        <th>Inserts</th>
        <th>Deletes</th>
        <th>Files</th>
    </tr>
    {% for commit in user_commits %}
    <tr>
        <td>{{ commit.author }}</td>
        <td>{{ commit.repo }}</td>
        <td>{{ commit.datetime.isoformat() }}</td>
        <td>{{ commit.inserts }}</td>
        <td>{{ commit.deletes }}</td>
        <td>{{ commit.files }}</td>
    </tr>
    {% endfor %}
</table>
{% endfor %}
{% endblock %}

Add anchor links like a table of contents
Add anchor links like a table of contents

Makes it way easier to jump to a particular developer
