From ef58448458b3b31bec242f8e02babf761093d066 Mon Sep 17 00:00:00 2001
From: jwansek <eddie.atten.ea29@gmail.com>
Date: Wed, 22 Dec 2021 20:00:42 +0000
Subject: fixed new git linking

---
 templates/discord.jinja  | 2 +-
 templates/index.jinja    | 5 ++---
 templates/nhdl.jinja     | 2 +-
 templates/random.jinja   | 2 +-
 templates/services.jinja | 2 +-
 templates/thoughts.jinja | 2 +-
 6 files changed, 7 insertions(+), 8 deletions(-)

(limited to 'templates')

diff --git a/templates/discord.jinja b/templates/discord.jinja
index b4504a2..73d6ea3 100644
--- a/templates/discord.jinja
+++ b/templates/discord.jinja
@@ -1,4 +1,4 @@
-{% extends "template.html" %}
+{% extends "template.jinja" %}
 {% block content %}
    <p>You can contact me on discord (telegram preferred):</p>
    <h1>{{discord}}</h1>
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>
diff --git a/templates/nhdl.jinja b/templates/nhdl.jinja
index 6702113..a4e4d56 100644
--- a/templates/nhdl.jinja
+++ b/templates/nhdl.jinja
@@ -1,4 +1,4 @@
-{% extends "template.html" %}
+{% extends "template.jinja" %}
 {% block content %}
     <form action="/nhdlredirect" method="POST">
         <label for="nhentai">nHentai.net number:</label>
diff --git a/templates/random.jinja b/templates/random.jinja
index b6e7f64..1bc7eb8 100644
--- a/templates/random.jinja
+++ b/templates/random.jinja
@@ -1,4 +1,4 @@
-{% extends "template.html" %}
+{% extends "template.jinja" %}
 {% block content %}
     <aside id="tags">
         <h1>current search tags: (click to remove)</h1>
diff --git a/templates/services.jinja b/templates/services.jinja
index 9ea1d3f..8044437 100644
--- a/templates/services.jinja
+++ b/templates/services.jinja
@@ -1,4 +1,4 @@
-{% extends "template.html" %}
+{% extends "template.jinja" %}
 {% block content %}
 <article id=statusTables>
     <section id=docker>
diff --git a/templates/thoughts.jinja b/templates/thoughts.jinja
index bdbe854..0a1e4de 100644
--- a/templates/thoughts.jinja
+++ b/templates/thoughts.jinja
@@ -1,4 +1,4 @@
-{% extends "template.html" %}
+{% extends "template.jinja" %}
 {% block content %}
     {% for category_name, thoughts in tree.items() %}
         <h3 id="{{category_name.replace(' ', '_')}}">{{category_name}}</h3>
-- 
cgit v1.2.3