Mercurial > hg > Blog
view themes/tuxlite_tbs/templates/pelican_comment_system.html @ 74:8de1cc117d89 pelican_comment_system
merge changes from default branch
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 03 Jan 2016 00:54:02 +0100 |
parents | c2b99e876559 |
children |
line wrap: on
line source
{% if article.comments %} {% for comment in article.comments recursive %} {% if loop.depth0 == 0 %} {% set marginLeft = 0 %} {% else %} {% set marginLeft = 50 %} {% endif %} <article id="comment-{{comment.slug}}" style="border: 1px solid #DDDDDD; padding: 5px 0px 0px 5px; margin: 0px -1px 5px {{marginLeft}}px;"> <a href="{{ SITEURL }}/{{ article.url }}#comment-{{comment.slug}}" rel="bookmark" title="Permalink to this comment">Permalink</a> <h4>{{ comment.author }}</h4> <p>Posted on <abbr class="published" title="{{ comment.date.isoformat() }}">{{ comment.locale_date }}</abbr></p> {{ comment.metadata['my_custom_metadata'] }} {{ comment.content }} {% if comment.replies %} {{ loop(comment.replies) }} {% endif %} </article> {% endfor %} {% else %} <p>There are no comments yet.<p> {% endif %}