Browse Source

...

pull/40/head
Savetheinternet 13 years ago
parent
commit
629e3ec547
  1. 6
      templates/post_thread.html

6
templates/post_thread.html

@ -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 itemid="/{{ board.uri }}/{{ post.id }}" itemtype="http://schema.org/Article"> <div id="thread_{{ post.id }}" itemscope itemid="/{{ board.uri }}/{{ post.id }}" itemtype="http://schema.org/CreativeWork">
{% endif %} {% endif %}
{% if post.embed %} {% if post.embed %}
@ -104,7 +104,7 @@
{% endif %} {% endif %}
{{ post.postControls }} {{ post.postControls }}
</p> </p>
<p itemprop="articleBody" class="body"> <p itemprop="description" class="body">
{% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %} {% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}
</p> </p>
{% if post.omitted or post.omitted_images %} {% if post.omitted or post.omitted_images %}
@ -128,7 +128,7 @@
{% endif %} omitted. Click reply to view. {% endif %} omitted. Click reply to view.
</span> </span>
{% endif %} {% endif %}
<meta itemprop="articleSection" content="{{ board.uri }}" /> <meta itemprop="genre" content="/{{ board.uri }}/" />
{% if not index %} {% if not index %}
<meta itemprop="interactionCount" content="UserComments:{{ post.posts|count }}" /> <meta itemprop="interactionCount" content="UserComments:{{ post.posts|count }}" />
{% endif %} {% endif %}

Loading…
Cancel
Save