diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2013-04-28 11:43:05 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2013-05-07 08:52:04 +0200 |
commit | af304ad01aabfd1c62f0cc5f3c6189c3bc2fa84f (patch) | |
tree | 3f8fbdd09aab710761470b296b5fa9a889d8b518 /theme | |
parent | fc5d0133e72b9f146bcc5e6998ea9162a1997409 (diff) |
New article on rst2odt usage
Diffstat (limited to 'theme')
-rwxr-xr-x | theme/templates/article.html | 23 |
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>À lire aussi :</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 :</h2> @@ -28,15 +40,4 @@ </div> {% endif %} - {% if article.related_posts and article.related_posts %} - - <h2>À lire aussi :</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 %} |