From 0e8ada1eff8799437c9be1bc2af10d6198fa8cad Mon Sep 17 00:00:00 2001 From: jwansek Date: Tue, 29 Apr 2025 18:51:40 +0100 Subject: Added inline HTML into blogposts, refactored a bit --- templates/diary.html.j2 | 26 ------------ templates/discord.html.j2 | 5 --- templates/index.html.j2 | 24 ------------ templates/isocd.html.j2 | 32 --------------- templates/isocd_confirmation.html.j2 | 16 -------- templates/nhdl.html.j2 | 8 ---- templates/questions.html.j2 | 17 -------- templates/random.html.j2 | 22 ----------- templates/services.html.j2 | 59 ---------------------------- templates/template.html.j2 | 76 ------------------------------------ templates/thought.html.j2 | 29 -------------- templates/thoughts.html.j2 | 12 ------ 12 files changed, 326 deletions(-) delete mode 100755 templates/diary.html.j2 delete mode 100755 templates/discord.html.j2 delete mode 100755 templates/index.html.j2 delete mode 100755 templates/isocd.html.j2 delete mode 100755 templates/isocd_confirmation.html.j2 delete mode 100755 templates/nhdl.html.j2 delete mode 100644 templates/questions.html.j2 delete mode 100755 templates/random.html.j2 delete mode 100755 templates/services.html.j2 delete mode 100755 templates/template.html.j2 delete mode 100755 templates/thought.html.j2 delete mode 100755 templates/thoughts.html.j2 (limited to 'templates') diff --git a/templates/diary.html.j2 b/templates/diary.html.j2 deleted file mode 100755 index f6604f7..0000000 --- a/templates/diary.html.j2 +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "template.html.j2" %} -{% block content %} -

this page might not be up-to-date if my diary account is search banned

-

if in doubt check my diary account
check if i'm currently search banned

-
- {% for dt, entries in diary.items() %} -
{{ dt }}
-
-
    - {% for entry in entries %} - {% if entry["images"] != [] %} -
      - {% for img in entry["images"] %} -
    • - {% endfor %} -
    - {% endif %} -
  1. -

    {{ entry["text"] }}

    -
  2. - {% endfor %} -
-
- {% endfor %} -
-{% endblock %} diff --git a/templates/discord.html.j2 b/templates/discord.html.j2 deleted file mode 100755 index 597fb4b..0000000 --- a/templates/discord.html.j2 +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "template.html.j2" %} -{% block content %} -

You can contact me on discord (telegram preferred):

-

{{discord}}

- {% endblock %} \ No newline at end of file diff --git a/templates/index.html.j2 b/templates/index.html.j2 deleted file mode 100755 index d6c08d8..0000000 --- a/templates/index.html.j2 +++ /dev/null @@ -1,24 +0,0 @@ -{% extends "template.html.j2" %} -{% block content %} - - {{markdown|safe}} -
-

recent git commits:

- -
-{% endblock %} diff --git a/templates/isocd.html.j2 b/templates/isocd.html.j2 deleted file mode 100755 index 3c532c0..0000000 --- a/templates/isocd.html.j2 +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "template.html.j2" %} -{% block content %} -

As discussed here, I will post a GNU/Linux install CD to you for free (provided you live in the United Kingdom). Just fill out the form below:

-
- -

- -

-

Sadly there is an upper limit on ISOs of 700Mb coz thats what u can fit on a cd ;_; so big isos arent listed


- -

- -

- -

- -

- -

- -

- -
-

I make no promises how long this will actually take, but you might get a special present too uwu

-

btw if u abuse this service i'll just ignore u

-

Testimonials

- -{% endblock %} \ No newline at end of file diff --git a/templates/isocd_confirmation.html.j2 b/templates/isocd_confirmation.html.j2 deleted file mode 100755 index 81045a8..0000000 --- a/templates/isocd_confirmation.html.j2 +++ /dev/null @@ -1,16 +0,0 @@ -{% extends "template.html.j2" %} -{% block content %} -

Your order has been placed. Expect a confirmation email to {{ email }} when I can be bothered to sort it out.

-
-

Your order/reference id is {{ id_ }}

-
-

The details were as follows:

- - {% for k, v in req.items() %} - - - - - {% endfor %} -
{{ k.upper() }}{{ v }}
-{% endblock %} \ No newline at end of file diff --git a/templates/nhdl.html.j2 b/templates/nhdl.html.j2 deleted file mode 100755 index 5ab62c2..0000000 --- a/templates/nhdl.html.j2 +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "template.html.j2" %} -{% block content %} -
- -

- -
-{% endblock %} \ No newline at end of file diff --git a/templates/questions.html.j2 b/templates/questions.html.j2 deleted file mode 100644 index eb58380..0000000 --- a/templates/questions.html.j2 +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "template.html.j2" %} -{% block content %} -

ask a question!

-
- {% for id_, link, dt, question, answer, host in qnas %} - {% if host == "curiouscat" %} -
{{ dt.isoformat() }} - {{ host }}
- {% else %} -
{{ dt.isoformat() }} - {{ host }}
- {% endif %} -
-

{{ question }}

-

{{ answer }}

- - {% endfor %} -
-{% endblock %} diff --git a/templates/random.html.j2 b/templates/random.html.j2 deleted file mode 100755 index 76b433b..0000000 --- a/templates/random.html.j2 +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "template.html.j2" %} -{% block content %} - -
- -

generate another

-

artist link

-
-{% endblock %} \ No newline at end of file diff --git a/templates/services.html.j2 b/templates/services.html.j2 deleted file mode 100755 index 9f42c7f..0000000 --- a/templates/services.html.j2 +++ /dev/null @@ -1,59 +0,0 @@ -{% extends "template.html.j2" %} -{% block content %} -
-
-

docker

-
    - {% for host, containers in docker["containers"].items() %} -

    {{ "%s - %s" % (host[0], host[1]) }}

    - - {% for name, status, image in containers %} - - - {% if "Up" in status %} - - {% else %} - - {% endif %} - - - {% endfor %} -
    {{ name }}{{ status }}{{ status }}{{ image }}
    - {% endfor %} -
-

{{ docker["cachetime"] }}

-
- -
-

transmission

- {% if trans == None %} -

Couldn't access the transmission API. Is docker container running?

- {% else %} - - {% for k, v in trans.items() %} - - - - - {% endfor %} -
{{ k }}{{ v }}
- {% endif %} -
- -
-

pihole

- {% if pihole == None %} -

Couldn't access the pihole API. Is docker container running?

- {% else %} - - {% for k, v in pihole.items() %} - - - - - {% endfor %} -
{{ k }}{{ v }}
- {% endif %} -
-
-{% endblock %} \ No newline at end of file diff --git a/templates/template.html.j2 b/templates/template.html.j2 deleted file mode 100755 index 86618bc..0000000 --- a/templates/template.html.j2 +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - eda.gay :: {{title}} - - - - - - - -
-
- -
-
-

{{title}}

- -
- - {{image[0]}} - -
-
-
- {% block content %} - {% endblock %} -
- -
- - diff --git a/templates/thought.html.j2 b/templates/thought.html.j2 deleted file mode 100755 index 2a5b519..0000000 --- a/templates/thought.html.j2 +++ /dev/null @@ -1,29 +0,0 @@ -{% extends "template.html.j2" %} -{% block content %} - - {{ md_html|safe }} -{% endblock %} \ No newline at end of file diff --git a/templates/thoughts.html.j2 b/templates/thoughts.html.j2 deleted file mode 100755 index bf06f57..0000000 --- a/templates/thoughts.html.j2 +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "template.html.j2" %} -{% block content %} - {% for category_name, thoughts in tree.items() %} -

{{category_name}}

-
- {% for id_, title, dt in thoughts %} -
{{title}}
-
{{dt}}
- {% endfor %} -
- {% endfor %} -{% endblock %} \ No newline at end of file -- cgit v1.2.3