diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2021-03-25 23:17:35 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2021-03-25 23:17:35 +0000 |
commit | e204aaaa9c5155401ad3ab8bb7edec6588055fb0 (patch) | |
tree | c9a1af33ae205daf6d6ae3e08b98bf8c2cdfb681 /templates/index.html | |
parent | 0ccad16d5de0a9e8a5b651b13c60ef3abdb192c8 (diff) | |
download | boymoder.blog-e204aaaa9c5155401ad3ab8bb7edec6588055fb0.tar.gz boymoder.blog-e204aaaa9c5155401ad3ab8bb7edec6588055fb0.zip |
updated the css and html to be w3c valid
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/index.html b/templates/index.html index 91f7ded..1b4eda0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,11 +1,11 @@ {% extends "template.html" %} {% block content %} <aside> - <section id="recent thoughts"> + <section id="recent_thoughts"> <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> @@ -13,23 +13,23 @@ {{markdown|safe}} {% if tweets != None %} <section id="recent_tweets"> - <h1>recent tweets</h1> + <h3>recent tweets</h3> <ul> {% for text, url in tweets %} {% if text == None %} - <li><a href={{url}}>[image only]</a></li> + <li><a href="{{url}}">[image only]</a></li> {% else %} - <li><a href={{url}}>{{text}}</a></li> + <li><a href="{{url}}">{{text}}</a></li> {% endif %} {% endfor %} </ul> </section> {% endif %} - <section id="recent commits"> - <h1>recent git commits:</h4> + <section id="recent_commits"> + <h3>recent git commits:</h3> <ul> {% for commit in commits %} - <li><a href={{commit["url"]}}>{{"[%s] %s {+%i;-%i}" % (commit["repo"], commit["message"], commit["stats"]["additions"], commit["stats"]["deletions"])}}</a></li> + <li><a href="{{commit['url']}}">{{"[%s] %s {+%i;-%i}" % (commit["repo"], commit["message"], commit["stats"]["additions"], commit["stats"]["deletions"])}}</a></li> {% endfor %} </ul> </section> |