TAMAYA-178: Add release submenu

Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-site/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-tamaya-site/commit/197fbb15
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-site/tree/197fbb15
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-site/diff/197fbb15

Branch: refs/heads/master
Commit: 197fbb15efbbe7b18cf8ad3c28111acce83a6c01
Parents: ede865e
Author: Phil Ottlinger <[email protected]>
Authored: Sun Dec 18 23:34:15 2016 +0100
Committer: Phil Ottlinger <[email protected]>
Committed: Sun Dec 18 23:34:15 2016 +0100

----------------------------------------------------------------------
 templates/menu.thyme | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya-site/blob/197fbb15/templates/menu.thyme
----------------------------------------------------------------------
diff --git a/templates/menu.thyme b/templates/menu.thyme
index eea628e..e9398f1 100644
--- a/templates/menu.thyme
+++ b/templates/menu.thyme
@@ -41,6 +41,13 @@
                                                                <li><a 
th:with="rootpath=(${content.rootpath != null} ? ${content.rootpath} : '')" 
th:href="${rootpath}+'release-guide.html'">Release Guide</a></li>
               </ul>
             </li>
+                                               <li class="dropdown">
+              <a href="#" class="dropdown-toggle" 
data-toggle="dropdown">Releases <b class="caret"></b></a>
+              <ul class="dropdown-menu">
+                                                               <li><a 
th:with="rootpath=(${content.rootpath != null} ? ${content.rootpath} : '')" 
th:href="${rootpath}+'download.html'">Download</a></li>
+                                                               <li><a 
th:with="rootpath=(${content.rootpath != null} ? ${content.rootpath} : '')" 
th:href="${rootpath}+'history.html'">Release History</a></li>
+              </ul>
+            </li>
 <!-- Example:
                                                <li class="dropdown">
               <a href="#" class="dropdown-toggle" 
data-toggle="dropdown">Dropdown <b class="caret"></b></a>

Reply via email to