summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-11-16 20:45:04 +1100
committerSavetheinternet <savetheinternet@tinyboard.org>2011-11-16 20:45:04 +1100
commit03f0d8f0f5389fb04215cd6970e78bed4051027c (patch)
tree34075a99f5b316ba8be9ee171f5bbf7b56bee619 /templates
parent0ba885d9c1026560fb7f1b7f818c641ecbb25c34 (diff)
More HTML5 microdata experimentation
Diffstat (limited to 'templates')
-rw-r--r--templates/post_reply.html2
-rw-r--r--templates/post_thread.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/post_reply.html b/templates/post_reply.html
index d91c1e15..e7b3411e 100644
--- a/templates/post_reply.html
+++ b/templates/post_reply.html
@@ -1,6 +1,6 @@
{% filter remove_whitespace %}
{# tabs and new lines will be ignored #}
-<div class="post reply" id="reply_{{ post.id }}" itemscope>
+<div class="post reply" id="reply_{{ post.id }}" itemscope itemid="/{{ board.uri }}/{{ post.id }}">
<p class="intro"{% if not index %} id="{{ post.id }}"{% endif %}>
<input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" />
diff --git a/templates/post_thread.html b/templates/post_thread.html
index b0cac726..de2d97e0 100644
--- a/templates/post_thread.html
+++ b/templates/post_thread.html
@@ -2,7 +2,7 @@
{# tabs and new lines will be ignored #}
{% if index %}
- <div id="thread_{{ post.id }}" itemscope>
+ <div id="thread_{{ post.id }}" itemscope itemid="/{{ board.uri }}/{{ post.id }}">
{% endif %}
{% if post.embed %}
@@ -47,7 +47,7 @@
{{ config.uri_thumb }}{{ post.thumb }}
{% endif %}" style="width:{{ post.thumbx }}px;height:{{ post.thumby }}px" alt="" /></a>
{% endif %}
-<div class="post op"{% if not index %} itemscope{% endif %}><p class="intro"{% if not index %} id="{{ post.id }}"{% endif %}>
+<div class="post op"{% if not index %} itemscope itemid="/{{ board.uri }}/{{ post.id }}"{% endif %}><p class="intro"{% if not index %} id="{{ post.id }}"{% endif %}>
<input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" />
<label for="delete_{{ post.id }}">
{% if post.subject|length > 0 %}