]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/w3mmode/ikiwiki.setup
fix typo, mention git branch
[git.ikiwiki.info.git] / doc / w3mmode / ikiwiki.setup
index 8cddec40b5273844c69fa3448921b9ccf8b53df0..5f5cbbff927476d1ca85d74657d26f9560d8c5e4 100644 (file)
@@ -17,17 +17,13 @@ use IkiWiki::Setup::Standard {
        cgiurl => 'ikiwiki.cgi',
        rcs => "",
 
-       wrappers => [
-               {
-                       # The cgi wrapper.
-                       cgi => 1,
-                       # This path can't be changed, since
-                       # ikiwiki-w3m.cgi only looks in this one location.
-                       wrapper => "$ENV{HOME}/.ikiwiki/wrappers/ikiwiki.cgi",
-                       wrappermode => "0755",
-               },
-       ],
-       
+       # The wrapper must be put in ~/.ikiwiki/wrappers/, since
+       # ikiwiki-w3m.cgi only looks in this one location.
+       # The wrapper can be given any name as long as it's 
+       # in that directory.
+       cgi_wrapper => "$ENV{HOME}/.ikiwiki/wrappers/ikiwiki.cgi",
+       cgi_wrappermode => "0755",
+
        add_plugins => [qw{anonok}],
        rss => 1,
        atom => 1,