nasg/templates/Comment.html
Peter Molnar a506d9d18f - added special templates option per category
- changed layout for journal/articles: single page, per year grouping
- adaptimg wide view
2018-03-28 14:19:14 +00:00

28 lines
791 B
HTML

<li class="h-entry p-comment">
<span>
<time class="dt-published" datetime="{{ comment.pubtime }}">
{{ comment.pubdate }}
</time>
</span>
<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>
{% 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>
{% else %}
<span class="reaction">
<a class="u-url" href="{{ comment.source }}">{{ comment.type }} </a>
</span>
{% endif %}
</li>