aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-04-05 03:02:39 +0200
committerGravatar Tom Willemsen2012-04-05 03:02:39 +0200
commita30dc6c1c9e9d823e58c19d15b00a972c7789dd3 (patch)
treeac983ba814ecb42dbddcc19a5f8af3ef96fc018a
parent109ce58492b91b7562995188d5e69dcafb488de1 (diff)
downloadryuslash.org-a30dc6c1c9e9d823e58c19d15b00a972c7789dd3.tar.gz
ryuslash.org-a30dc6c1c9e9d823e58c19d15b00a972c7789dd3.zip
Add article tag
-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>