aboutsummaryrefslogtreecommitdiffstats
path: root/templates/random.html.j2
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2025-04-29 18:51:40 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2025-04-29 18:51:40 +0100
commit0e8ada1eff8799437c9be1bc2af10d6198fa8cad (patch)
tree65d40b0c83fc2477306d561d8b98741e8e6585c6 /templates/random.html.j2
parent9e077a790919e2980111262fbde500a5cee828f8 (diff)
downloadeda.gay-0e8ada1eff8799437c9be1bc2af10d6198fa8cad.tar.gz
eda.gay-0e8ada1eff8799437c9be1bc2af10d6198fa8cad.zip
Added inline HTML into blogposts, refactored a bit
Diffstat (limited to 'templates/random.html.j2')
-rwxr-xr-xtemplates/random.html.j222
1 files changed, 0 insertions, 22 deletions
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