-
Notifications
You must be signed in to change notification settings - Fork 0
/
comment.html
53 lines (52 loc) · 1.4 KB
/
comment.html
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
<div
class="comment"
id="{{mypostUID}}-comment-{% increment count %}">
<div
class="comment-header">
<a
class="pat-inject"
data-pat-inject="history: record; scroll: #main"
href="/users/{{ comment.user | slugify }}">
<span
class="pat-avatar">
<img
src="/media/users/{{ comment.user | slugify }}.jpg"
alt="" />
</span>
<h4
class="name">{{ comment.user }}</h4>
<time
class="modification-date pat-display-time"
data-pat-display-time="from-now: true; locale: {{ site.data.config.lang }}"
datetime="{{ comment.datestamp | date: '%Y-%m-%d' }}T09:42Z"
title="{{ comment.datestamp | date_to_long_string }}, 9:42">{{ comment.datestamp | date_to_long_string }}, 9:42</time>
</a>
{% if comment.user == 'Daniel E. Cornelis Kolbach' %}
<a
href="/feedback/comment-menu.html#panel-content"
class="options iconified icon-cog pat-tooltip"
data-pat-tooltip="source: ajax">Options</a>
{% endif %}
</div>
<section
class="comment-content">
<p>{{ comment.text }}</p>
</section>
{% if comment.preview %}
<section
class="preview">
<figure>
{% if comment.preview_url %}
<a
href="{{comment.preview_url}}">
{% endif %}
<img
src="{{comment.preview }}"
alt="" />
{% if comment.preview_url %}
</a>
{% endif %}
</figure>
</section>
{% endif %}
</div>