aboutsummaryrefslogtreecommitdiffstats
path: root/edaweb/templates/index.html.j2
blob: 0f9ce37c3ada1ea739cec576fcfe87a1d9e295ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends "template.html.j2" %}
{% block content %}
    <aside>
        <a><i>{{ "%d days since FFS" % days_since_ffs.days }}</i></a>
        <section id="recent_thoughts">
            <h4>recent blog posts:</h4>
            <ul>
                {% for id_, title in featured_thoughts %}
                    <li><a href="{{'/thought?id=%i' % id_}}">{{title}}</a></li>
                {% endfor %}
            </ul>
        </section>
        {# <img id="sidebar_img" alt="{{sidebar_img[0]}}" src="{{sidebar_img[1]}}"> #}
    </aside>
    {{markdown|safe}}
    <section id="recent_commits">
        <h3>recent git commits:</h3>
        <ul>
            {% for commit in commits %}
                <li>[<a href="{{commit['git_repo_url']}}">{{commit["repo"]}}</a>] {+{{commit["stats"]["additions"]}}; -{{commit["stats"]["deletions"]}}} <a href="{{commit['git_commit_url']}}">{{commit["message"]}}</a> - <a href="{{commit['github_commit_url']}}">github mirror</a></li>
            {% endfor %}
        </ul>
    </section>
{% endblock %}