From 1f8697b0b4680a146a23e451238c7d76239b97b3 Mon Sep 17 00:00:00 2001 From: jwansek <eddie.atten.ea29@gmail.com> Date: Wed, 22 Dec 2021 19:27:02 +0000 Subject: added other git server to git links --- templates/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 1b4eda0..07488fe 100644 --- a/templates/index.html +++ b/templates/index.html @@ -29,7 +29,8 @@ <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="{{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> {% endfor %} </ul> </section> -- cgit v1.2.3