summaryrefslogtreecommitdiffstats
path: root/templates/news
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-03-02 04:43:52 +0100
committerDan McGee <dan@archlinux.org>2010-03-02 04:43:52 +0100
commit8777ccf001374460a573bd1e417b0996a633f6bb (patch)
treee2a19c18792384daa4c56611009a8551265ccbf3 /templates/news
parent6e9477ca630ebee48b3836cdc39bf5cd743e8084 (diff)
downloadarchweb-8777ccf001374460a573bd1e417b0996a633f6bb.tar.gz
archweb-8777ccf001374460a573bd1e417b0996a633f6bb.tar.xz
Fix up HTML titles on a lot of pages
We didn't include them on many pages, or the ones we did weren't always useful. Also try to keep the boilerplate to a minimum so you can see the important bits in the title. 'Arch Linux - ' comes first in all titles, and from there it can be filled in with something useful. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/news')
-rw-r--r--templates/news/add.html1
-rw-r--r--templates/news/delete.html1
-rw-r--r--templates/news/view.html1
3 files changed, 3 insertions, 0 deletions
diff --git a/templates/news/add.html b/templates/news/add.html
index daa7587..ef3f211 100644
--- a/templates/news/add.html
+++ b/templates/news/add.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% block title %}Arch Linux - {% if form.instance.id %}Edit{% else %}Add{% endif %} News{% endblock %}
{% block content %}
<div class="greybox">
diff --git a/templates/news/delete.html b/templates/news/delete.html
index 0f48f8b..c3824a2 100644
--- a/templates/news/delete.html
+++ b/templates/news/delete.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% block title %}Arch Linux - Delete News{% endblock %}
{% block content %}
<div class="greybox">
diff --git a/templates/news/view.html b/templates/news/view.html
index 281d8a7..2f7c3d8 100644
--- a/templates/news/view.html
+++ b/templates/news/view.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+{% block title %}Arch Linux - {{ news.title }}{% endblock %}
{% block content %}
<div class="box">