summaryrefslogtreecommitdiff
path: root/src/main/resources/templates
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-02-09 10:39:45 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-02-09 10:39:45 +0100
commit310e71fd6e88cb41ddd4d448cee96a72554db177 (patch)
treeb7fc361b20c221d440f3e1dbaa4d36b2f7bbea80 /src/main/resources/templates
parent521718d5ef2d7a18497bc525fb15d245f6827180 (diff)
Web: Make navigation bar formatting dynamic.
Change-Id: I65068a6837c325cd4d649696c709d2b6d2b4b3ef
Diffstat (limited to 'src/main/resources/templates')
-rw-r--r--src/main/resources/templates/base.html6
-rw-r--r--src/main/resources/templates/benki/wiki/wikiPage.html2
-rw-r--r--src/main/resources/templates/benki/wiki/wikiPageRevisionList.html2
3 files changed, 5 insertions, 5 deletions
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} &#8212; 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 &#8212; {title} &#8212; Benki Wiki{/title}
-
{#siteSection}Wiki{/siteSection}
+{#wikiClass}this-page{/wikiClass}
{#body}
<header>