Skip to content

Commit

Permalink
Fixed titles on pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Jan 27, 2015
1 parent 78d7cf2 commit b1ed4a3
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
3 changes: 2 additions & 1 deletion ttlib/about/index.tt
@@ -1,4 +1,5 @@
[% WRAPPER page.tt -%]
[% WRAPPER page.tt
title = 'About' -%]
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="container">
Expand Down
5 changes: 3 additions & 2 deletions ttlib/constituencies.tt
@@ -1,4 +1,5 @@
[% WRAPPER page.tt -%]
[% WRAPPER page.tt
title = 'Constituencies' -%]
[% prev_letter = '';
letters = [];
FOREACH c IN constits;
Expand Down Expand Up @@ -34,4 +35,4 @@
</div>
</div>
</div>
[% END -%]
[% END -%]
3 changes: 2 additions & 1 deletion ttlib/constituency.tt
@@ -1,4 +1,5 @@
[% WRAPPER page.tt -%]
[% WRAPPER page.tt
title = c.name -%]
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion ttlib/page.tt
Expand Up @@ -8,7 +8,7 @@
<meta name="google-site-verification" content="HLLWtUo79tD2Q-IdJGZxpGmwygtSUjSgFsLSQYaWH9w" />
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>TwittElection: [% c.name %]</title>
<title>TwittElection[% IF title; ': ' _ title; END %]</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">

Expand Down
3 changes: 2 additions & 1 deletion ttlib/parties.tt
@@ -1,4 +1,5 @@
[% WRAPPER page.tt -%]
[% WRAPPER page.tt
title = 'Parties' -%]
[% prev_letter = '';
letters = [];
FOREACH p IN parties.sort('name');
Expand Down
3 changes: 2 additions & 1 deletion ttlib/party.tt
@@ -1,5 +1,6 @@
[% USE Dumper -%]
[% WRAPPER page.tt -%]
[% WRAPPER page.tt
title = p.name -%]
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="container">
Expand Down

0 comments on commit b1ed4a3

Please sign in to comment.