aboutsummaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2013-04-28 11:43:05 +0200
committerSébastien Dailly <sebastien@chimrod.com>2013-05-07 08:52:04 +0200
commitaf304ad01aabfd1c62f0cc5f3c6189c3bc2fa84f (patch)
tree3f8fbdd09aab710761470b296b5fa9a889d8b518 /theme
parentfc5d0133e72b9f146bcc5e6998ea9162a1997409 (diff)
New article on rst2odt usage
Diffstat (limited to 'theme')
-rwxr-xr-xtheme/templates/article.html23
1 files changed, 12 insertions, 11 deletions
diff --git a/theme/templates/article.html b/theme/templates/article.html
index 044c386..b53962d 100755
--- a/theme/templates/article.html
+++ b/theme/templates/article.html
@@ -13,6 +13,18 @@
</article>
+ {% if article.related_posts and article.related_posts %}
+
+ <h2>&Agrave; lire aussi&nbsp;:</h2>
+
+ <ul>
+ {% for related_post in article.related_posts %}
+ <li><a href="{{ SITEURL }}/{{ related_post.url }}">{{ related_post.title }}</a></li>
+ {% endfor %}
+ </ul>
+ {% endif %}
+
+
{% if DISQUS_SITENAME %}
<div class="comments">
<h2>Commentaires&nbsp;:</h2>
@@ -28,15 +40,4 @@
</div>
{% endif %}
- {% if article.related_posts and article.related_posts %}
-
- <h2>&Agrave; lire aussi&nbsp;:</h2>
-
- <ul>
- {% for related_post in article.related_posts %}
- <li><a href="{{ SITEURL }}/{{ related_post.url }}">{{ related_post.title }}</a></li>
- {% endfor %}
- </ul>
- {% endif %}
-
{% endblock %}