all repos — nasg @ e9899b3e3301c038e51a7494594640c4eface810

block_comments.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
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
<section class="comments h-feed">
	{% if post.replies|length > 0 %}
	<h6 class="comments-replies"><a name="replies"></a>Replies</h6>
	<ol>
		{% for reply in post.replies %}
			<li class="h-entry p-comment">
				<a class="u-url u-uuid" href="{{ site.url }}/{{ site.commentspath }}/{{ reply.fname }}/" name="{{ reply.fname }}"></a>
				<header>
					<p class="p-author h-card">
						{% if reply.author.url %}
							<a class="url u-url" href="{{ reply.author.url }}">
								<span class="p-name fn">{{ reply.author.name }}</span>
							</a>
						{% else %}
							<span class="p-name fn">{{ reply.author.name }}</span>
						{% endif %}
					</p>
					<p>
					<time class="dt-published" datetime="{{ reply.published|date('c') }}">
						{{ reply.published|date('%Y-%m-%d %H:%M') }}
					</time>
					{% if reply.source|length > 0 %}
					<a href="{{ reply.source }}" class="u-repost-of">{{ reply.source }}</a>
					{% endif %}
					</p>
				</header>
				<div class="e-content">
					{{ reply.html }}
				</div>
			</li>
		{% endfor %}
		</ol>
	{% endif %}

	{% if post.reacjis|length > 0 %}
	<h6 class="comments-reacji"><a name="reacji"></a>Reactions</h6>
	<dl>
	{% for reacji, replies in post.reacjis.items() %}
		<dt><a name="{{ reacji }}"></a>{{ reacji }}</dt>
		<dd>
			<ul>
			{% for reply in replies %}
				<li class="p-comment h-entry ">
					<a class="u-url u-uuid" href="{{ site.url }}/{{ site.commentspath }}/{{ reply.fname }}/" name="{{ reply.fname }}"></a>
					<time class="dt-published" datetime="{{ reply.published|date('c') }}">
						{{ reply.published|date('%Y-%m-%d %H:%M') }}
					</time>
					<span class="p-author h-card">
						{% if reply.author.url %}
							<a class="url u-url" href="{{ reply.author.url }}">
								<span class="p-name fn">{{ reply.author.name }}</span>
							</a>
						{% else %}
							<span class="p-name fn">{{ reply.author.name }}</span>
						{% endif %}
					</span>
					<a href="{{ reply.source }}" class="u-repost-of" title="{{ reply.source }}">
						<svg class="icon"><use xlink:href="#icon-link" /></svg>
					</a>
				</li>
			{% endfor %}
			</ul>
		</dd>
		{% endfor %}
	</dl>
	{% endif %}
</section>