all repos — nasg @ 49bcb80e27f1a17c3d75f6c1dd866bc8f73c027d

templates/Comment.html (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
<li class="h-entry p-comment">
{% if 'webmention' != comment.type %}
    <span class="reaction">
        <a class="u-url" href="{{ comment.source }}">{{ comment.type }} </a>
    </span>
{% endif %}
    <time class="dt-published" datetime="{{ comment.pubtime }}">
        {{ comment.pubdate }}
    </time> from
    <span class="p-author h-card">
    {% if comment.author.url %}
        <a class="url u-url" href="{{ comment.author.url }}">
            <span class="p-name fn">{{ comment.author.name }}</span>
        </a>
    {% else %}
        <span class="p-name fn">{{ comment.author.name }}</span>
    {% endif %}
    </span><br />
{% if 'webmention' == comment.type %}
    <span class="source">
        <svg class="icon" width="16" height="16">
            <use xlink:href="#icon-link"></use>
        </svg>
        <a class="u-url" href="{{ comment.source }}">{{ comment.source }}</a>
    </span>
{% endif %}
</li>