Skip to content

Commit

Permalink
[bug 1081934] Include microdata for Google
Browse files Browse the repository at this point in the history
  • Loading branch information
rehandalal committed Nov 12, 2014
1 parent 9a9930e commit 3300459
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions kitsune/questions/templates/questions/question_details.html
Expand Up @@ -33,7 +33,7 @@ <h1>{{ _('Support Forum') }}</h1>

{% block content %}
<article>
<div class="question grid_9">
<div class="question grid_9" itemscope itemtype="http://schema.org/Question">
{% if question.is_locked or question.is_archived %}
<div class="notice">
{% if question.is_locked and not question.is_archived %}
Expand All @@ -50,7 +50,7 @@ <h1>{{ _('Support Forum') }}</h1>
</div>
{% endif %}

<h2 class="summary">{{ question.title }}</h2>
<h2 class="summary" itemprop="headline">{{ question.title }}</h2>

<div class="question-meta">
<ul class="cf">
Expand Down Expand Up @@ -85,7 +85,7 @@ <h2 class="summary">{{ question.title }}</h2>
{{ _('Last reply by {user}')|f(user=display_name(question.last_answer.creator)) }}
</a>
<span class="last-answer-date">
{{ question.last_answer.created|timesince }}
<time itemprop="dateModified" datetime="{{ question.last_answer.created }}">{{ question.last_answer.created|timesince }}</time>
</span>
</li>
{% endif %}
Expand All @@ -110,12 +110,12 @@ <h2 class="summary">{{ question.title }}</h2>
</div>
<div class="asked-on">
{{ _('Posted') }}<br>
{{ datetimeformat(question.created) }}
<time itemprop="dateCreated" datetime="{{ question.created }}">{{ datetimeformat(question.created) }}</time>
</div>
</div>

<div class="main-content">
{{ question.content_parsed|safe }}
<div itemprop="text">{{ question.content_parsed|safe }}</div>

{% if question.updated_by %}
<p class="edited">
Expand Down

0 comments on commit 3300459

Please sign in to comment.