From 0ba885d9c1026560fb7f1b7f818c641ecbb25c34 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Wed, 16 Nov 2011 20:41:16 +1100 Subject: Attempt at using HTML5 microdata --- templates/post_reply.html | 12 ++++++------ templates/post_thread.html | 20 +++++++++++++------- 2 files changed, 19 insertions(+), 13 deletions(-) (limited to 'templates') 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 #} -
+

{{ post.file }} ( @@ -91,7 +91,7 @@ {% endif %} {{ post.postControls }} -

+

{% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}

diff --git a/templates/post_thread.html b/templates/post_thread.html index 48f57c6d..b0cac726 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -1,10 +1,14 @@ {% filter remove_whitespace %} {# tabs and new lines will be ignored #} +{% if index %} +
+{% endif %} + {% if post.embed %} {{ post.embed }} {% elseif post.file == 'deleted' %} - + {% elseif post.file and post.file %}

File: {{ post.file }} ( @@ -43,18 +47,18 @@ {{ config.uri_thumb }}{{ post.thumb }} {% endif %}" style="width:{{ post.thumbx }}px;height:{{ post.thumby }}px" alt="" /> {% endif %} -

+