diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html | 2 | ||||
-rw-r--r-- | templates/template.html | 9 | ||||
-rw-r--r-- | templates/thoughts.html | 2 |
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> |