[doc] Fix PMD Version in sidebar

This commit is contained in:
Andreas Dangel 2017-07-22 14:38:37 +02:00
parent c1fe2dfbd5
commit ab6d88e286
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
entries:
- title: sidebar
product: PMD Project
version: 6.0.0
version: "!PMD_VERSION!"
folders:
- title:

View File

@ -1,7 +1,7 @@
{% include custom/sidebarconfigs.html %}
<ul id="mysidebar" class="nav">
<li class="sidebarTitle">{{sidebar[0].product}} {{sidebar[0].version}}</li>
<li class="sidebarTitle">{{sidebar[0].product}} {{sidebar[0].version | replace: '!PMD_VERSION!', site.pmd.version}}</li>
{% for entry in sidebar %}
{% for folder in entry.folders %}
{% if folder.output contains "web" %}