diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2022-08-25 14:19:10 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2022-08-25 14:19:10 +0000 |
commit | 787a9421d1a61229b838dcbf17734c42172800f7 (patch) | |
tree | 014297140526a59232dbc5a23e5d89e374289a59 /templates/index.html.j2 | |
parent | a86a5fa2f075ec455aa5101acff9c3fda290294d (diff) | |
download | boymoder.blog-787a9421d1a61229b838dcbf17734c42172800f7.tar.gz boymoder.blog-787a9421d1a61229b838dcbf17734c42172800f7.zip |
Renamed template files, added active for torrents
Diffstat (limited to 'templates/index.html.j2')
-rwxr-xr-x | templates/index.html.j2 | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/templates/index.html.j2 b/templates/index.html.j2 new file mode 100755 index 0000000..31c6207 --- /dev/null +++ b/templates/index.html.j2 @@ -0,0 +1,36 @@ +{% extends "template.html.j2" %} +{% block content %} + <aside> + <section id="recent_thoughts"> + <h4>recent thoughts:</h4> + <ul> + {% for id_, title in featured_thoughts %} + <li><a href="{{'/thought?id=%i' % id_}}">{{title}}</a></li> + {% endfor %} + </ul> + </section> + </aside> + {{markdown|safe}} + {% if tweets != None %} + <section id="recent_tweets"> + <h3>recent tweets</h3> + <ul> + {% for text, url in tweets %} + {% if text == None %} + <li><a href="{{url}}">[image only]</a></li> + {% else %} + <li><a href="{{url}}">{{text}}</a></li> + {% endif %} + {% endfor %} + </ul> + </section> + {% endif %} + <section id="recent_commits"> + <h3>recent git commits:</h3> + <ul> + {% for commit in commits %} + <li>[<a href="{{'https://git.eda.gay/' + commit['repo'] + '/about.html'}}">{{commit["repo"]}}</a>] {+{{commit["stats"]["additions"]}}; -{{commit["stats"]["deletions"]}}} <a href="{{commit['url'].replace('github.com/jwansek', 'git.eda.gay') + '.html'}}">{{commit["message"]}}</a> - <a href="{{commit['url']}}">backup link</a></li> + {% endfor %} + </ul> + </section> +{% endblock %}
\ No newline at end of file |