Added global_title()
to base template.
This commit is contained in:
parent
0d0445592e
commit
2e84873666
|
@ -2,7 +2,7 @@
|
||||||
<html style="direction: ltr;" xmlns="http://www.w3.org/1999/xhtml" lang="en-us">
|
<html style="direction: ltr;" xmlns="http://www.w3.org/1999/xhtml" lang="en-us">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||||
<title>Tailbone » ${capture(self.title)}</title>
|
<title>${self.global_title()} » ${capture(self.title)}</title>
|
||||||
<link rel="icon" type="image/x-icon" href="${request.static_url('tailbone:static/img/rattail.ico')}" />
|
<link rel="icon" type="image/x-icon" href="${request.static_url('tailbone:static/img/rattail.ico')}" />
|
||||||
|
|
||||||
${h.javascript_link(request.static_url('tailbone:static/js/lib/jquery-1.9.1.min.js'))}
|
${h.javascript_link(request.static_url('tailbone:static/js/lib/jquery-1.9.1.min.js'))}
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
<div id="body-wrapper">
|
<div id="body-wrapper">
|
||||||
|
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<h1>${h.link_to("Tailbone", url('home'))}</h1>
|
<h1>${h.link_to(capture(self.global_title), url('home'))}</h1>
|
||||||
<h1 class="title">» ${self.title()}</h1>
|
<h1 class="title">» ${self.title()}</h1>
|
||||||
<div class="login">
|
<div class="login">
|
||||||
% if request.user:
|
% if request.user:
|
||||||
|
@ -136,6 +136,8 @@
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
<%def name="global_title()">Tailbone</%def>
|
||||||
|
|
||||||
<%def name="title()"></%def>
|
<%def name="title()"></%def>
|
||||||
|
|
||||||
<%def name="head_tags()"></%def>
|
<%def name="head_tags()"></%def>
|
||||||
|
|
Loading…
Reference in a new issue