diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/aggregator/base.html | 24 | ||||
-rw-r--r-- | templates/aggregator/post_content.html | 36 | ||||
-rw-r--r-- | templates/aggregator/posts.html | 4 |
3 files changed, 37 insertions, 27 deletions
diff --git a/templates/aggregator/base.html b/templates/aggregator/base.html index 66ea7c0..8f752bd 100644 --- a/templates/aggregator/base.html +++ b/templates/aggregator/base.html @@ -12,16 +12,20 @@ <a href="/"><img src="/static/logo.png" id="logo"></a> - <h1 id="sitetitle"> - <span id="blue">ryu</span><span id="orange">slash</span> - </h1> - <div id="sitesubtitle"> - Will this ever really be my website? - {% for category in categories %} - <a class="category" - href="/{{ category.name|slugify }}/">{{ category.name }}</a> - {% endfor %} - </div> + <header> + <hgroup> + <h1 id="sitetitle"> + <span id="blue">ryu</span><span id="orange">slash</span> + </h1> + <h2 id="sitesubtitle"> + Will this ever really be my website? + {% for category in categories %} + <a class="category" + href="/{{ category.name|slugify }}/">{{ category.name }}</a> + {% endfor %} + </h2> + </hgroup> + </header> {% block menu %}{% endblock %} diff --git a/templates/aggregator/post_content.html b/templates/aggregator/post_content.html index 36b419d..fa1c654 100644 --- a/templates/aggregator/post_content.html +++ b/templates/aggregator/post_content.html @@ -1,20 +1,24 @@ <div class="post {{ post.feed.name|slugify }}"> - <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> + <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> + </header> <div class="postcontent"> {% autoescape off %} diff --git a/templates/aggregator/posts.html b/templates/aggregator/posts.html index 33a0b86..355399e 100644 --- a/templates/aggregator/posts.html +++ b/templates/aggregator/posts.html @@ -19,7 +19,9 @@ {% block content %} {% regroup list.object_list by updated.date as grouped_list %} {% for group in grouped_list %} - <h2>{{ group.grouper }}</h2> + <header> + <h2>{{ group.grouper }}</h2> + </header> {% for post in group.list %} {% include "aggregator/post_content.html" %} |