]> gitweb.factorcode.org Git - factor.git/commitdiff
webapps.help: better relative links.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 10 Jan 2022 18:57:13 +0000 (10:57 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 10 Jan 2022 18:57:13 +0000 (10:57 -0800)
extra/webapps/help/help.factor
extra/webapps/help/search.xml

index 1bcff3687aa625a416f60d683dbb795985bdadd1..38f10b8d7ea3e887c60bee13598c7cccd0801bca 100644 (file)
@@ -10,7 +10,7 @@ IN: webapps.help
 TUPLE: help-webapp < dispatcher ;
 
 : links ( seq -- seq' )
-    [ swap <simple-link> ] { } assoc>map ;
+    [ swap "content/" prepend <simple-link> ] { } assoc>map ;
 
 :: <search-action> ( help-dir -- action )
     <page-action>
index 6a0429a9eb2b90c8409e33fa21510ca81653afb7..2e7b1393305b9868aaa19ed0667c79750e6e8c58 100644 (file)
@@ -2,8 +2,7 @@
 
 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
 
-    <t:base t:href="$help-webapp/content/" />
-    <t:title>Search - Factor Documentation />
+    <t:title>Search - Factor Documentation</t:title>
     <t:style t:include="resource:extra/webapps/help/search.css" />
 
     <t:html t:name="navbar"/>