Parent: [67df1e] (diff)

Child: [58c359] (diff)

Download this file

theme_macros.html    28 lines (25 with data), 746 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
25
26
27
28
{%- macro header(username, userid, name, login_url, logout_url) %}
<header id="site-header">
<div class="wrapper">
<nav>
{% if userid %}
<a href="/account/">Account</a>
<a href="/users/{{username}}">{{name}}</a>
<a href="{{logout_url}}">Log Out</a>
{% else %}
<a href="/auth/create_account">Register</a>
<a href="{{login_url}}">Log In</a>
{% endif %}
</nav>
</div>
</header>
{%- endmacro %}
{%- macro footer(year) %}
<footer id="site-footer">
<nav>
This project is powered by <a href="http://sourceforge.net/p/allura/home/">Allura</a>.
</nav>
</footer>
{%- endmacro %}
{%- macro custom_js(path_to_static) %}
{%- endmacro %}