summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-09-10 15:42:19 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-09-10 15:42:19 +0200
commit5758e7c9094597585c160173ebde194d70ac558a (patch)
tree237131c2cc1d3b057b784e8306f35b1c6d44a6b3
parent4d8139fbbdcbaaac2d6b8e0b7ad379cc4d0eb62d (diff)
KB56 Hide wiki when not logged in.
Change-Id: I060766a74bf941705ebc9653632b60bd7a248cc4
-rw-r--r--src/main/resources/templates/tags/navbar.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/resources/templates/tags/navbar.html b/src/main/resources/templates/tags/navbar.html
index 0259362..4774576 100644
--- a/src/main/resources/templates/tags/navbar.html
+++ b/src/main/resources/templates/tags/navbar.html
@@ -4,7 +4,10 @@
<li class='{#if siteSection == "All Posts"}this-page{/}' data-site-section="All Posts"><a href="/posts">All Posts</a></li>
<li class='{#if siteSection == "Bookmarks"}this-page{/} indented' data-site-section="Bookmarks"><a href="/bookmarks">Bookmarks</a></li>
<li class='{#if siteSection == "Lazy Chat"}this-page{/} indented' data-site-section="Lazy Chat"><a href="/lazychat">Lazy Chat</a></li>
+
+ {#if inject:LoginStatus.loggedIn}
<li class='{#if siteSection == "Wiki"}this-page{/}' data-site-section="Wiki"><a href="/wiki/Home">Wiki</a></li>
+ {/if}
<li class='{#if siteSection == "About"}this-page{/}' data-site-section="About"><a href="/about">Contact Info</a></li>