Web: Make navigation bar formatting dynamic.
Change-Id: I65068a6837c325cd4d649696c709d2b6d2b4b3ef
diff --git a/src/main/resources/templates/base.html b/src/main/resources/templates/base.html
index 8619f3e..aec554a 100644
--- a/src/main/resources/templates/base.html
+++ b/src/main/resources/templates/base.html
@@ -19,9 +19,9 @@
<nav>
<ol>
- <li><a href="/bookmarx">Bookmarks</a></li>
- <li><a href="/lafargue">Remarks</a></li>
- <li class="this-page"><a href="/wiki">Wiki</a></li>
+ <li class="{#insert bookMarxClass}{/}" data-site-section="Book Marx"><a href="/bookmarx">Bookmarks</a></li>
+ <li class="{#insert lafargueClass}{/}" data-site-section="Lafargue"><a href="/lafargue">Remarks</a></li>
+ <li class="{#insert wikiClass}{/}" data-site-section="Wiki"><a href="/wiki">Wiki</a></li>
</ol>
</nav>
diff --git a/src/main/resources/templates/benki/wiki/wikiPage.html b/src/main/resources/templates/benki/wiki/wikiPage.html
index 6ebf7c2..c5155bc 100644
--- a/src/main/resources/templates/benki/wiki/wikiPage.html
+++ b/src/main/resources/templates/benki/wiki/wikiPage.html
@@ -3,8 +3,8 @@
{#include base.html}
{#title}{page.title} — Benki Wiki{/title}
-
{#siteSection}Wiki{/siteSection}
+{#wikiClass}this-page{/wikiClass}
{#head}
<link rel="stylesheet" type="text/css" href="/web_modules/ContentTools/build/content-tools.min.css" />
diff --git a/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html b/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html
index eb64ff9..2fd04eb 100644
--- a/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html
+++ b/src/main/resources/templates/benki/wiki/wikiPageRevisionList.html
@@ -4,8 +4,8 @@
{#include base.html}
{#title}Revisions — {title} — Benki Wiki{/title}
-
{#siteSection}Wiki{/siteSection}
+{#wikiClass}this-page{/wikiClass}
{#body}
<header>