add p-name and u-url
[anoweco.git] / data / templates / post-reply.htm
1 <html xmlns="http://www.w3.org/1999/xhtml">
2  <head>
3   <meta charset="utf-8"/>
4   <title>Comment to {{attribute(json, 'in-reply-to').0}}</title>
5  </head>
6  <body class="h-entry">
7   <h1>Comment #{{crow.comment_id}}</h1>
8   <p>
9    {% spaceless %}
10    <a class="p-author h-card" href="{{author.url}}">
11     <img class="u-photo" src="{{author.imageurl}}" alt="" width="32" height="32" />
12     {{author.name}}</a>
13    {% endspaceless %}
14    <a href="{{postUrl}}" class="u-url">wrote</a>
15    the following reply to
16    <a rel="in-reply-to u-in-reply-to"
17       href="{{attribute(json, 'in-reply-to').0}}">{{attribute(json, 'in-reply-to').0}}</a>:
18   </p>
19   <div class="e-content p-name">{{htmlContent|raw}}</div>
20   <p>
21    <a href="{{replyUrl}}">Reply to this comment</a>
22   </p>
23  </body>
24 </html>