Mercurial > hg > Blog
view themes/tuxlite_tbs/templates/pelican_comment_system.html @ 109:ee048ed76ea1
Datums- und Syntex Fix
author | Dirk Olmes <dirk.olmes@codedo.de> |
---|---|
date | Fri, 18 Jun 2021 07:24:04 +0200 |
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 %}