aboutsummaryrefslogtreecommitdiffstats
path: root/root/template/header
blob: 13e215841a4f0b0ac96e9e47f61634cfc39e8259 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<p>[% template.title or site.title or c.config.apptitle %]</p>

<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><strong><a href="[% c.uri_for("/user") %]">[% c.user.username %]</a></strong></li>
        <li><a href="/user/logout">[% l('Log out') %]</a></li>
    [% END %]
    </ul>
</div>