44 lines
1.4 KiB
HTML

{% extends "base.html" %}
{% block page %}
<div id="categories">
{% if title %}
<a href="{{url_for("blog_default")}}">All</a>
{% else %}
All
{% endif %}
{% for tag in tags %}
{% if tag == title %}
-
{{ tag }}
{% else %}
-
<a href="{{url_for("tag", tag=tag)}}">{{ tag }}</a>
{% endif %}
{% endfor %}
</div>
<div class="content">
<ol class="content-list">
{% for post in posts %}
<li class="content">
<h3 class="postTitle"><a href="{{ post.url }}">{{ post.title }}</a></h3><p class="postDate">{{ post.datestr }}</p><p class="postSubTitle">{{ post.subtitle }}<br>
<a href="{{ post.url }}#disqus_thread" data-disqus-identifier="{{ post.url[:-1] }}"></a></p>
</li>
{% endfor %}
</ol>
</div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'thomasloven'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
{% endblock page %}