summaryrefslogtreecommitdiff
path: root/templates/post_reply.html
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-11-16 20:41:16 +1100
committerSavetheinternet <savetheinternet@tinyboard.org>2011-11-16 20:41:16 +1100
commit0ba885d9c1026560fb7f1b7f818c641ecbb25c34 (patch)
treeef3b3323af0bd69a3670540bf2718ad7e8137810 /templates/post_reply.html
parent3733162e0a66fdb8569471df1fa4cf377da26594 (diff)
Attempt at using HTML5 microdata
Diffstat (limited to 'templates/post_reply.html')
-rw-r--r--templates/post_reply.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/post_reply.html b/templates/post_reply.html
index eaa92a74..d91c1e15 100644
--- a/templates/post_reply.html
+++ b/templates/post_reply.html
@@ -1,19 +1,19 @@
{% filter remove_whitespace %}
{# tabs and new lines will be ignored #}
-<div class="post reply" id="reply_{{ post.id }}">
+<div class="post reply" id="reply_{{ post.id }}" itemscope>
<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 %}
{# show subject #}
- <span class="subject">{{ post.subject }}</span>
+ <span itemprop="title" class="subject">{{ post.subject }}</span>
{% endif %}
{% if post.email|length > 0 %}
{# start email #}
- <a class="email" href="mailto:{{ post.email }}">
+ <a itemprop="email" class="email" href="mailto:{{ post.email }}">
{% endif %}
- <span class="name">{{ post.name }}</span>
+ <span itemprop="name" class="name">{{ post.name }}</span>
{% if post.trip|length > 0 %}
<span class="trip">{{ post.trip }}</span>
{% endif %}
@@ -49,7 +49,7 @@
{% if post.embed %}
{{ post.embed }}
{% elseif post.file == 'deleted' %}
- <img src="{{ config.image_deleted }}" alt="" />
+ <img itemprop="image" src="{{ config.image_deleted }}" alt="" />
{% elseif post.file and post.file %}
<p class="fileinfo">File: <a href="{{ config.uri_img }}{{ post.file }}">{{ post.file }}</a> <span class="unimportant">
(
@@ -91,7 +91,7 @@
</a>
{% endif %}
{{ post.postControls }}
- <p class="body">
+ <p itemprop="desc" class="body">
{% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}
</p>
</div>