diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-03-07 19:22:27 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-03-07 19:23:38 -0500 |
commit | 9a82ef32b96b07278b90a1219fa555fa2a970912 (patch) | |
tree | 079b002266e80b1a5f2a5c5ccc0ed0ba7120eda0 /IkiWiki/Plugin/wmd.pm | |
parent | 4e11380c75ae66230139641b215d8ffbb0a74d5e (diff) | |
download | ikiwiki-9a82ef32b96b07278b90a1219fa555fa2a970912.tar ikiwiki-9a82ef32b96b07278b90a1219fa555fa2a970912.tar.gz |
look for wmd/wmd.js
This means that the underlay needs to have a wmd/wmd/wmd.js,
which is a trifle weird, but it isolates all the wmd stuff in a
single wmd subdirectory of the built wiki. The wmd/images creating
a toplevel images directory was particularly bad.
Diffstat (limited to 'IkiWiki/Plugin/wmd.pm')
-rw-r--r-- | IkiWiki/Plugin/wmd.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/wmd.pm b/IkiWiki/Plugin/wmd.pm index 9e9f17f7f..bdbcecc06 100644 --- a/IkiWiki/Plugin/wmd.pm +++ b/IkiWiki/Plugin/wmd.pm @@ -38,7 +38,7 @@ sub include_javascript ($;$) { my $page=shift; my $absolute=shift; - return '<script src="'.urlto("wmd.js", $page, $absolute). + return '<script src="'.urlto("wmd/wmd.js", $page, $absolute). '" type="text/javascript"></script>'."\n"; } |