aboutsummaryrefslogtreecommitdiffstats
path: root/root/template/header
diff options
context:
space:
mode:
Diffstat (limited to 'root/template/header')
-rw-r--r--root/template/header27
1 files changed, 13 insertions, 14 deletions
diff --git a/root/template/header b/root/template/header
index a80c079..9bfe555 100644
--- a/root/template/header
+++ b/root/template/header
@@ -1,16 +1,15 @@
-<!-- BEGIN template/header -->
-<div class="masthead">
-<h1>[% c.config.apptitle %]</h1>
-</div>
+<p>[% template.title or site.title or c.config.apptitle %]</p>
+
<div class="hnav">
-<!--div class="hnav" -->
-<ul class="hnav">
-[% FOREACH page IN pages %]
-<li><a href="[% c.uri_for(page.page) %]">[% page.title %]</a></li>
-[% END %]
-[% IF c.user.username %]
-<li>[ <a href="[% c.uri_for("/user") %]">[% c.user.username %]</a> ]<a href="/user/logout">[% l('Log out') %]</a></li>
-[% END %]
-</ul>
+ <ul class="hnav">
+ [% FOREACH page IN pages %]
+ <li><a href="[% c.uri_for(page.page) %]">[% page.title %]</a></li>
+ [% END %]
+ [% IF c.user.username %]
+ <li><strong><a href="[% c.uri_for("/user") %]">[% c.user.username %]</a></strong></li>
+ <li><a href="/user/logout">[% l('Log out') %]</a></li>
+ [% ELSE %]
+ <li><a href="/">[% l('Login') %]</a></li>
+ [% END %]
+ </ul>
</div>
-<!-- END template/header -->