aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2021-03-06 21:51:06 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2021-03-06 21:51:06 +0000
commit2a0d3c4ccb287282974856b5f20f67a078149cb8 (patch)
tree604f111e1445dfed221507522584ee0f6fcdae32 /templates
parentdd073f7256bd53162e1ee93c6777ba6c7e97f3ca (diff)
downloadeda.gay-2a0d3c4ccb287282974856b5f20f67a078149cb8.tar.gz
eda.gay-2a0d3c4ccb287282974856b5f20f67a078149cb8.zip
added dockerfile, similar thoughts
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html2
-rw-r--r--templates/template.html9
-rw-r--r--templates/thoughts.html2
3 files changed, 10 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html
index fd0bae1..91f7ded 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -5,7 +5,7 @@
<h4>recent thoughts:</h4>
<ul>
{% for id_, title in featured_thoughts %}
- <li><a href={{"/thought?id=%i" % id_}}>title</a></li>
+ <li><a href={{"/thought?id=%i" % id_}}>{{title}}</a></li>
{% endfor %}
</ul>
</section>
diff --git a/templates/template.html b/templates/template.html
index fd65cdb..d72cd0f 100644
--- a/templates/template.html
+++ b/templates/template.html
@@ -45,6 +45,12 @@
<ul>
<li><b><a href={{'/thoughts#'+category.replace(' ', '_')}}>{{category}}</a></b></li>
</ul>
+ <h5>related thoughts:</h5>
+ <ul>
+ {% for id_, title, dt, category in related %}
+ <li><a href={{"/thought?id=%i" % id_}}>{{title}}</a></li>
+ {% endfor %}
+ </ul>
<h5>other categories:</h5>
{% for category_name in othercategories %}
<ul>
@@ -58,7 +64,8 @@
{% endblock %}
</article>
<footer>
- <p>Web design is my passion</p>
+ <p>this site is <a href="/thought?id=3">javascript free</a></p>
+ <a href="https://github.com/jwansek/edaweb">sauce code released under gplv3</a>
</footer>
</div>
</body>
diff --git a/templates/thoughts.html b/templates/thoughts.html
index 8717299..0d768e4 100644
--- a/templates/thoughts.html
+++ b/templates/thoughts.html
@@ -4,7 +4,7 @@
<h2 id={{category_name.replace(' ', '_')}}>{{category_name}}</h2>
<dl>
{% for id_, title, dt in thoughts %}
- <dt><a href={{'/thought?id=%i' % id_}}>title</a></dt>
+ <dt><a href={{'/thought?id=%i' % id_}}>{{title}}</a></dt>
<dd>{{dt}}</dd>
{% endfor %}
</dl>