More HTML5 microdata experimentation

This commit is contained in:
Savetheinternet 2011-11-16 20:45:04 +11:00
parent 0ba885d9c1
commit 03f0d8f0f5
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{% filter remove_whitespace %} {% filter remove_whitespace %}
{# tabs and new lines will be ignored #} {# 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 %}> <p class="intro"{% if not index %} id="{{ post.id }}"{% endif %}>
<input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" /> <input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" />

View File

@ -2,7 +2,7 @@
{# tabs and new lines will be ignored #} {# tabs and new lines will be ignored #}
{% if index %} {% if index %}
<div id="thread_{{ post.id }}" itemscope> <div id="thread_{{ post.id }}" itemscope itemid="/{{ board.uri }}/{{ post.id }}">
{% endif %} {% endif %}
{% if post.embed %} {% if post.embed %}
@ -47,7 +47,7 @@
{{ config.uri_thumb }}{{ post.thumb }} {{ config.uri_thumb }}{{ post.thumb }}
{% endif %}" style="width:{{ post.thumbx }}px;height:{{ post.thumby }}px" alt="" /></a> {% endif %}" style="width:{{ post.thumbx }}px;height:{{ post.thumby }}px" alt="" /></a>
{% endif %} {% 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 }}" /> <input type="checkbox" class="delete" name="delete_{{ post.id }}" id="delete_{{ post.id }}" />
<label for="delete_{{ post.id }}"> <label for="delete_{{ post.id }}">
{% if post.subject|length > 0 %} {% if post.subject|length > 0 %}