commit: 71be847bf34a79fb0ac220300edb02b318025ad1
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 25 16:22:44 2020 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 06:59:07 2020 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=71be847b
devbook.xsl: Don't use @link to construct the home path.
The root template doesn't even have attributes, so why was this
originally added?
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
devbook.xsl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devbook.xsl b/devbook.xsl
index 1fa4233..31c73d4 100644
--- a/devbook.xsl
+++ b/devbook.xsl
@@ -528,7 +528,7 @@
</div>
<div class="collapse navbar-collapse navbar-main-collapse">
<ul class="nav navbar-nav">
- <li><a href="{concat($relative_path_depth_recursion,
substring-after(substring-before(@link, '##'), '::'), 'index.html',
substring-after(@link, '##'))}"><span class="fa fa-home"/>  Home</a></li>
+ <li><a
href="{$relative_path_depth_recursion}index.html"><span class="fa
fa-home"/> Home</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle"
data-toggle="dropdown">Index <span class="caret"></span></a>
<xsl:if test="/guide/chapter[1]/section or
//contentsTree">