From 5e151da366b6ec9e309400e4f7a9b6a7d17d1861 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Mon, 11 Jul 2016 14:36:21 +0200 Subject: [PATCH] show nice title for village list and detail --- villages/templates/village_detail.html | 4 ++++ villages/templates/village_list.html | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/villages/templates/village_detail.html b/villages/templates/village_detail.html index 7ab7a9ed..79925536 100644 --- a/villages/templates/village_detail.html +++ b/villages/templates/village_detail.html @@ -1,6 +1,10 @@ {% extends 'base.html' %} {% load commonmark %} +{% block title %} +Village: {{ village.name }} | {{ block.super }} +{% endblock %} + {% block content %}

{{ village.name }}

diff --git a/villages/templates/village_list.html b/villages/templates/village_list.html index 45c9e7ff..baf8103d 100644 --- a/villages/templates/village_list.html +++ b/villages/templates/village_list.html @@ -1,5 +1,9 @@ {% extends 'base.html' %} +{% block title %} +Villages | {{ block.super }} +{% endblock %} + {% block content %}