aboutsummaryrefslogtreecommitdiffstats
path: root/templates/index.jinja
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2021-12-22 20:00:42 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2021-12-22 20:00:42 +0000
commitef58448458b3b31bec242f8e02babf761093d066 (patch)
tree79720a5885716b2945354ebe2614275abf56abab /templates/index.jinja
parentf7243e089b88cbc113dc57a15f986083500004a7 (diff)
downloadboymoder.blog-ef58448458b3b31bec242f8e02babf761093d066.tar.gz
boymoder.blog-ef58448458b3b31bec242f8e02babf761093d066.zip
fixed new git linking
Diffstat (limited to 'templates/index.jinja')
-rw-r--r--templates/index.jinja5
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/index.jinja b/templates/index.jinja
index 0bb9604..5a2acb7 100644
--- a/templates/index.jinja
+++ b/templates/index.jinja
@@ -1,4 +1,4 @@
-{% extends "template.html" %}
+{% extends "template.jinja" %}
{% block content %}
<aside>
<section id="recent_thoughts">
@@ -29,8 +29,7 @@
<h3>recent git commits:</h3>
<ul>
{% for commit in commits %}
- <li><a href="{{commit['url']}}">{{"[%s] %s {+%i;-%i}" % (commit["repo"], commit["message"], commit["stats"]["additions"], commit["stats"]["deletions"])}}</a></li>
- <!-- <li>[<a href="{{https://git.eda.gay + commit['repo']}}">{{commit["repo"]}}</a>] {+{{commit["stats"]["additions"]}}; -{{commit["stats"]["deletions"])}}} <a href="{{commit['url'].replace('github.com', 'git.eda.gay') + '.html'}}">{{commit["message"]}}</a> - <a href="{{commit['url']}}">Backup link</a></li> -->
+ <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>