File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/main/xar-resources/modules Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ module namespace app = "http://exist-db.org/apps/docs/app";
5
5
import module namespace templates = "http://exist-db.org/xquery/templates" ;
6
6
import module namespace config = "http://exist-db.org/xquery/apps/config" at "config.xqm" ;
7
7
8
+ declare namespace expath = "http://expath.org/ns/pkg" ;
9
+
8
10
declare function app:bread-nav ($node as node (), $model as map (*)) as element (nav) {
9
11
let $uri := tokenize (request:get-uri (), '/' )[position () = last ()]
10
12
let $file :=
@@ -16,7 +18,7 @@ declare function app:bread-nav($node as node(), $model as map(*)) as element(nav
16
18
return
17
19
<nav aria-label = "breadcrumb" >
18
20
<ol class = "breadcrumb" >
19
- <li class = "breadcrumb-item" ><a href = "documentation" >Home</a></li>
21
+ <li class = "breadcrumb-item" ><a href = "documentation" data-toggle = "popover" title = "Version: { data ($config:expath-descriptor//@ version )} " >Home</a></li>
20
22
<li class = "breadcrumb-item" ><a href = "#" >{$file}</a></li>
21
23
</ol>
22
24
</nav>
You can’t perform that action at this time.
0 commit comments