Add BlogPosting microformat to news feed
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
{% block title %}News - {{item.title}}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="item">
|
||||
<h2><a href="{{post.get_absolute_url}}">{{item.title}}</a></h2>
|
||||
<div class="byline">By {{item.author}}</div>
|
||||
<div class="content">
|
||||
<div class="item" itemscope itemtype="http://schema.org/BlogPosting">
|
||||
<h2><a href="{{post.get_absolute_url}}" itemprop="name">{{item.title}}</a></h2>
|
||||
<div class="byline">By <span itemprop="author">{{item.author}}</span></div>
|
||||
<div class="content" itemprop="articleBody">
|
||||
{{item.body|markdown}}
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user