aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django')
-rw-r--r--bn_django/templates/frontpage.html41
1 files changed, 14 insertions, 27 deletions
diff --git a/bn_django/templates/frontpage.html b/bn_django/templates/frontpage.html
index f19699e..26b369d 100644
--- a/bn_django/templates/frontpage.html
+++ b/bn_django/templates/frontpage.html
@@ -35,43 +35,30 @@ Other sites: <br />
<br />
<br />
-<div class="col_right">
-<div class="col_title">Latest knowledge items</div>
-{% if newitems %}
-{% include "git_wiki/newitems_table" %}
+
+<h2 class="ruled">Photos!</h2>
+{% if latest_photos %}
+{% for photo in latest_photos %}
+<a href="{{ photo.get_absolute_url }}"><img src="{{ photo.thumburl }}"
+ alt="{{ photo.title }}" /></a>&nbsp;&nbsp;&nbsp;
+{% endfor %}
{% else %}
-None yet!
+<br/><br />None yet!
{% endif %}
-<br />
-<div class="col_title">Latest knowledge commits</div>
-{% if latest_knowledge %}
-{% include "newknowldge_table" %}
+
+<h2 class="ruled">Knowledge!</h2>
+{% if newitems %}
+{% include "git_wiki/newitems_table" %}
{% else %}
None yet!
{% endif %}
-</div>
-<div class="col_center">
-<div class="col_title">Latest comments</div>
+<h2 class="ruled">Comments!</h2>
{% if latest_comments %}
{% include "newcomments_table" %}
{% else %}
None yet!
{% endif %}
-</div>
-<div class="col_left">
-<div class="col_title">Latest photos</div>
-{% if latest_photos %}
-<div class="centerize">
-{% for photo in latest_photos %}
-<a href="{{ photo.get_absolute_url }}"><img src="{{ photo.thumburl }}"
- alt="{{ photo.title }}" /></a>
-<br />
-{% endfor %}
-</div>
-{% else %}
-<br/><br />None yet!
-{% endif %}
-</div>
{% endblock %}
+