]> gitweb.factorcode.org Git - factor.git/commitdiff
webapps.help: actually, lets use <base>
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 10 Jan 2022 19:01:25 +0000 (11:01 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 10 Jan 2022 19:01:25 +0000 (11:01 -0800)
extra/webapps/help/help.factor
extra/webapps/help/help.xml

index 38f10b8d7ea3e887c60bee13598c7cccd0801bca..1bcff3687aa625a416f60d683dbb795985bdadd1 100644 (file)
@@ -10,7 +10,7 @@ IN: webapps.help
 TUPLE: help-webapp < dispatcher ;
 
 : links ( seq -- seq' )
-    [ swap "content/" prepend <simple-link> ] { } assoc>map ;
+    [ swap <simple-link> ] { } assoc>map ;
 
 :: <search-action> ( help-dir -- action )
     <page-action>
index 4fb535952e7ba0621256c549985f33f6d53c587d..8b3cc443a4a9ef3cb5d201db56d0c1e752f4033e 100644 (file)
@@ -7,6 +7,8 @@
         <head>
             <meta name="viewport" content="width=device-width, initial-scale=1" />
 
+            <t:base t:href="$help-webapp/content/" />
+
             <t:write-title />
 
             <t:style t:include="resource:basis/help/html/stylesheet.css" />