]> sipb.mit.edu Git - ikiwiki.git/blobdiff - ikiwiki
- add <base> to cgi output, this is especially useful for output containing
[ikiwiki.git] / ikiwiki
diff --git a/ikiwiki b/ikiwiki
index 8eebcdf77e90f48a3c6c74087408e3d836c81369..f7ccaf743ea0420a061a67a5944ea463d2ddfc43 100755 (executable)
--- a/ikiwiki
+++ b/ikiwiki
@@ -428,6 +428,7 @@ sub misctemplate ($$) { #{{{
                wikiname => $config{wikiname},
                pagebody => $pagebody,
                styleurl => styleurl(),
+               baseurl => "$config{url}/",
        );
        return $template->output;
 }#}}}