aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/aggregator/post_content.html42
1 files changed, 22 insertions, 20 deletions
diff --git a/templates/aggregator/post_content.html b/templates/aggregator/post_content.html
index fa1c654..e47de93 100644
--- a/templates/aggregator/post_content.html
+++ b/templates/aggregator/post_content.html
@@ -1,23 +1,25 @@
-<div class="post {{ post.feed.name|slugify }}">
+<article class="post {{ post.feed.name|slugify }}">
<header>
- <h3>
- <a href="/post/{{ post.pk }}/">
- <img src="{{ post.feed.get_favicon_url }}" />
- </a>
- <a href="/post/{{ post.pk }}/">
- {% if post.feed.uses_title %}
- {{ post.title }}
- {% else %}
- {{ post.updated }}
- {% endif %}
- </a>
- </h3>
- <div class="postsubtitle">
- Via
- <a href="{{ post.feed.base_url }}">{{ post.feed.name }}</a>
- (<a href="{{ post.feed.get_profile_url }}">profile</a>,
- <a href="{{ post.remote_url }}">origin</a>)
- </div>
+ <hgroup>
+ <h1>
+ <a href="/post/{{ post.pk }}/">
+ <img src="{{ post.feed.get_favicon_url }}" />
+ </a>
+ <a href="/post/{{ post.pk }}/">
+ {% if post.feed.uses_title %}
+ {{ post.title }}
+ {% else %}
+ {{ post.updated }}
+ {% endif %}
+ </a>
+ </h1>
+ <h2 class="postsubtitle">
+ Via
+ <a href="{{ post.feed.base_url }}">{{ post.feed.name }}</a>
+ (<a href="{{ post.feed.get_profile_url }}">profile</a>,
+ <a href="{{ post.remote_url }}">origin</a>)
+ </h2>
+ </hgroup>
</header>
<div class="postcontent">
@@ -29,4 +31,4 @@
{% endif %}
{% endautoescape %}
</div>
-</div>
+</article>