aboutsummaryrefslogtreecommitdiffstats
path: root/templates
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
parentf7243e089b88cbc113dc57a15f986083500004a7 (diff)
downloadboymoder.blog-ef58448458b3b31bec242f8e02babf761093d066.tar.gz
boymoder.blog-ef58448458b3b31bec242f8e02babf761093d066.zip
fixed new git linking
Diffstat (limited to 'templates')
-rw-r--r--templates/discord.jinja2
-rw-r--r--templates/index.jinja5
-rw-r--r--templates/nhdl.jinja2
-rw-r--r--templates/random.jinja2
-rw-r--r--templates/services.jinja2
-rw-r--r--templates/thoughts.jinja2
6 files changed, 7 insertions, 8 deletions
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>