Skip to content
Permalink
Browse files

Fix sections in jinja

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Sep 4, 2015
1 parent 6060f81 commit 096cd9ff97925bdcae7c24380aeed71c733f90d3
@@ -8,8 +8,11 @@
</header>
{% if items %}
<ul class="postlist">
{% for text, link in items %}
{% for text, link, count in items %}
<li><a href="{{ link }}">{{ text }}</a>
{% if count %}
({{ count }})
{% endif %}
{% endfor %}
</ul>
{% else %}
@@ -16,6 +16,6 @@
<p class="feedlink"><a href="{{ _link('section_index_atom', posts[0].section_slug()) }}" type="application/atom+xml">{{ messages('Updates') }}</a></p>
{% endif %}
</header>
{{ parent.content() }}
{{ super() }}
</article>
{% endblock %}
@@ -14,6 +14,7 @@
["{% if any(post.is_mathjax for post in posts) %}", '{% if posts|selectattr("is_mathjax")|list %}'],
["json.dumps(title)", "title|tojson"],
["{{ parent.extra_head() }}", "{{ super() }}"],
["{{ parent.content() }}", "{{ super() }}"],
["prefix='\\", "prefix='"],
["og: http://ogp.me/ns# \\", "og: http://ogp.me/ns#"],
["article: http://ogp.me/ns/article# \\", "article: http://ogp.me/ns/article#"],

0 comments on commit 096cd9f

Please sign in to comment.