aboutsummaryrefslogtreecommitdiffstats
path: root/root/template/header
blob: 4812ea75aeb99c585c4f0312d07b068ce1c4ee8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<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">[% l('Log out') %]</a></li>
    [% END %]
    </ul>
</div>