Parent: [c11e9c] (diff)

Child: [26aad4] (diff)

Download this file

theme_macros.html    24 lines (23 with data), 613 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{%- macro header(u, login_url) %}
<header id="site-header">
<hgroup>
<nav>
{% if u and u._id %}
<a href="/account/">Account</a>
<a href="/users/{{u.username}}">{{u.display_name}}</a>
<a href="/auth/logout">Log Out</a>
{% else %}
<a href="/auth/create_account">Register</a>
<a href="{{login_url}}">Log In</a>
{% endif %}
</nvv>
</hgroup>
</header>
{%- endmacro %}
{%- macro footer() %}
<footer id="site-footer">
<nav>
This project is powered by <a href="http://sourceforge.net/p/allura/home/">Allura</a>.
</nav>
</footer>
{%- endmacro %}