aboutsummaryrefslogtreecommitdiffstats
path: root/root/template/header
blob: 84b795dbf5b9b9f84c51b96b2f943da6805b4c0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<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>[ <a href="[% c.uri_for("/user") %]">[% c.user.username %]</a> ]<a href="/user/logout">[% l('Log out') %]</a></li>
    [% END %]
    </ul>
</div>