From 0e8ada1eff8799437c9be1bc2af10d6198fa8cad Mon Sep 17 00:00:00 2001 From: jwansek <eddie.atten.ea29@gmail.com> Date: Tue, 29 Apr 2025 18:51:40 +0100 Subject: Added inline HTML into blogposts, refactored a bit --- templates/random.html.j2 | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100755 templates/random.html.j2 (limited to 'templates/random.html.j2') 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 %} - <aside id="tags"> - <h1>current search tags: (click to remove)</h1> - <ul> - {% for tag in sbi.searchTags %} - <li><a href={{"/random?tags=" + "+".join(sbi.remove_tag(tag))}}>{{tag}}</a></li> - {% endfor %} - </ul> - <h1>this image's tags:</h1> - <ul> - {% for tag in sbi.tags %} - <li><a href={{"/random?tags=" + "+".join(sbi.searchTags + [tag])}}>{{tag}}</a></li> - {% endfor %} - </ul> - </aside> - <section id="randomImage"> - <a href={{sbi.source}}><img src={{localimg}}></a> - <h1><a href={{"/random?tags=" + "+".join(sbi.searchTags)}}>generate another</a></h1> - <h2><a href={{sbi.source}}>artist link</a></h2> - </section> -{% endblock %} \ No newline at end of file -- cgit v1.2.3