Author
|
Tristan B. Kildaire <deavmi@disroot.org>
2017-10-02 07:45:38
|
Committer
|
Tristan B. Kildaire <deavmi@disroot.org>
2017-10-02 07:45:38
|
Commit
|
9eb551c
(patch)
|
Tree
|
89d908f
|
Parent(s)
|
|
I need two
I need two of these because with the state of the site we are either logged in or logged out and therefore with this current branch statement we will need the two for the two states (logged in/out).
commits diff:
b69dcba..9eb551c
1 file changed,
1 insertion,
0 deletions
—
download
Diffstat
Diff options
+1/-0
M template/header.twig
55
|
55
|
|
|
56
|
56
|
|
<a href="{{ 'logout'|docroot }}" class="flex-item">Log out</a>
|
57
|
57
|
|
{% else %}
|
|
58
|
+ |
<a href="{{ 'about'|docroot }}" class="flex-item">About</a>
|
58
|
59
|
|
<a href="{{ 'login'|docroot }}" class="flex-item">Log in</a>
|
59
|
60
|
|
{% endif %}
|
60
|
61
|
|
</div>
|