novaconium/twig/nav.html.twig

22 lines
485 B
Twig
Raw Normal View History

2024-08-30 07:48:44 +00:00
<div class="container">
<div id="logo"><a href="/">Logo Goes Here</a></div>
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/contact">Contact Us</a></li>
{% if loggedin|default(false) %}
<li><a href="/logout/">Logout</a></li>
{% else %}
<li><a href="/login/">Login</a></li>
{% endif %}
{% if admin|default(false) == 'admin' %}
<li><a href="/admin">Admin</a></li>
{% endif %}
</ul>
</nav>
</div>