aboutsummaryrefslogtreecommitdiffstats
path: root/root/template/header
diff options
context:
space:
mode:
Diffstat (limited to 'root/template/header')
-rw-r--r--root/template/header16
1 files changed, 16 insertions, 0 deletions
diff --git a/root/template/header b/root/template/header
new file mode 100644
index 0000000..11ca573
--- /dev/null
+++ b/root/template/header
@@ -0,0 +1,16 @@
+<!-- BEGIN template/header -->
+<div class="masthead">
+<h1>[% c.config.apptitle %]</h1>
+</div>
+<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">Log out</a></li>
+[% END %]
+</ul>
+</div>
+<!-- END template/header -->