Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
[#853] Site title for Index in templates
Browse files Browse the repository at this point in the history
  • Loading branch information
brew committed Feb 6, 2017
1 parent 436a940 commit 213a018
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion census/views/base.html
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Open Knowledge">
<title>{% block title%}{{title}}{% endblock %} - {{ site.settings.title }}</title>
<title>{% block title%}{{ title }}{% endblock %} - {{ site.settings.title or site_title }}</title>
<!--[if lt IE 9]>
<script src="/bower_components/html5shiv/dist/html5shiv.min.js"></script>
<![endif]-->
Expand Down
4 changes: 1 addition & 3 deletions census/views/overview.html
@@ -1,8 +1,6 @@
{% extends "base.html" %}

{% block title %}
{{ this.title }}
{% endblock %}
{% block title %}{{ this.title }}{% endblock %}

{% block body_class %}home{% endblock %}

Expand Down
5 changes: 0 additions & 5 deletions census/views/page.html
@@ -1,11 +1,6 @@
{% extends "base.html" %}
{% from "macros/breadcrumb.html" import breadcrumb %}

{% block title %}
{{ title }}
{% endblock %}


{% block breadcrumb %}
{% if breadcrumbTitle %}
{{ breadcrumb(breadcrumbTitle, gettext) }}
Expand Down

0 comments on commit 213a018

Please sign in to comment.