diff options
Diffstat (limited to 'theme/templates/article.html')
-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 %} |