aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-04-05 02:35:54 +0200
committerGravatar Tom Willemsen2012-04-05 02:49:05 +0200
commit109ce58492b91b7562995188d5e69dcafb488de1 (patch)
treed548c1ddd389852d33a4260804728362ba970637
parent0f827b264413cbb035aee908dba5955bbd396f07 (diff)
downloadryuslash.org-109ce58492b91b7562995188d5e69dcafb488de1.tar.gz
ryuslash.org-109ce58492b91b7562995188d5e69dcafb488de1.zip
Add header tags, hope I did it right.
-rw-r--r--static/main.css1
-rw-r--r--templates/aggregator/base.html24
-rw-r--r--templates/aggregator/post_content.html36
-rw-r--r--templates/aggregator/posts.html4
4 files changed, 38 insertions, 27 deletions
diff --git a/static/main.css b/static/main.css
index e60a570..c972cb5 100644
--- a/static/main.css
+++ b/static/main.css
@@ -100,6 +100,7 @@ pre {
height: 30px;
line-height: 30px;
border-top: 1px #808080 solid;
+ font-size: 16px;
}
#content {
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" %}