summaryrefslogtreecommitdiff
path: root/templates/post_reply.html
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-11-17 15:24:39 +1100
committerSavetheinternet <savetheinternet@tinyboard.org>2011-11-17 15:24:39 +1100
commit6d82894b825549f6c72ae98ef0d86462646d816e (patch)
treee6d9f071492f2c4428569d6f64c1edefe6bffe94 /templates/post_reply.html
parentb2f083be306b604dc213ae35539119de1abc53fb (diff)
...
Diffstat (limited to 'templates/post_reply.html')
-rw-r--r--templates/post_reply.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/post_reply.html b/templates/post_reply.html
index 934cc018..c115da82 100644
--- a/templates/post_reply.html
+++ b/templates/post_reply.html
@@ -1,6 +1,7 @@
{% filter remove_whitespace %}
{# tabs and new lines will be ignored #}
-<div class="post reply" id="reply_{{ post.id }}" itemscope itemid="/{{ board.uri }}/{{ post.id }}">
+<div class="post reply" id="reply_{{ post.id }}" itemprop="comment" itemscope itemid="/{{ board.uri }}/{{ post.id }}" itemtype="http://schema.org/UserComments"
+ {% if not index %} itemref="/{{ board.uri }}/{{ post.thread }}"{% endif %}>
<p class="intro"{% if not index %} id="{{ post.id }}"{% endif %}>
<input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" />
@@ -28,13 +29,13 @@
{% if post.mod and post.mod|hasPermission(config.mod.show_ip, board.uri) %}
[<a style="margin:0;" href="?/IP/{{ post.ip }}">{{ post.ip }}</a>]
{% endif %}
- {{ post.time|date(config.post_date) }}
+ <time itemprop="commentTime" datetime="{{ post.time|date('c') }}">{{ post.time|date(config.post_date) }}</time>
</label>
{% if config.poster_ids %}
ID: {{ post.ip|poster_id(post.thread) }}
{% endif %}
<a itemprop="url" class="post_no" {% if not index %}onclick="highlightReply({{ post.id }})" {% endif %}href="{{ post.link }}">No.</a>
- <a class="post_no"
+ <a itemprop="replyToUrl" class="post_no"
{% if not index %}
onclick="citeReply({{ post.id }});"
{% endif %}