Parent: [01796f] (diff)

Child: [ac2a07] (diff)

Download this file

theme_macros.html    37 lines (29 with data), 857 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
29
30
31
32
33
34
35
36
{%- macro header(username, userid, name, login_url, logout_url) %}
<header id="site-header">
<div class="wrapper">
<nav>
{% if userid %}
<a href="/auth/prefs/">Account</a>
<a href="/u/{{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 %}
{%- macro custom_ga_js(user) %}
{%- endmacro %}
{%- macro extra_header(path_to_static) %}
{%- endmacro %}