aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2020-02-25 17:22:44 +0100
committerUlrich Müller <ulm@gentoo.org>2020-02-28 07:59:07 +0100
commit71be847bf34a79fb0ac220300edb02b318025ad1 (patch)
treedfe21f617080111836014eab9f8fb5f0673a0010 /devbook.xsl
parentdevbook.xsl: Use a fixed label for the dropdown. (diff)
downloaddevmanual-71be847bf34a79fb0ac220300edb02b318025ad1.tar.gz
devmanual-71be847bf34a79fb0ac220300edb02b318025ad1.tar.bz2
devmanual-71be847bf34a79fb0ac220300edb02b318025ad1.zip
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@gentoo.org>
Diffstat (limited to 'devbook.xsl')
-rw-r--r--devbook.xsl2
1 files changed, 1 insertions, 1 deletions
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"/>&#160; Home</a></li>
+ <li><a href="{$relative_path_depth_recursion}index.html"><span class="fa fa-home"/>&#160;Home</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Index&#160;<span class="caret"></span></a>
<xsl:if test="/guide/chapter[1]/section or //contentsTree">