]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/underlay.pm
Remember to run all the tests before committing!
[git.ikiwiki.info.git] / IkiWiki / Plugin / underlay.pm
index ab74fc37e77bf82ae6f14ddff78ba34e1f7c392a..3ea19c63519bdecf6cd7331d21d722b3e0bc72de 100644 (file)
@@ -18,7 +18,6 @@ sub getsetup () {
                plugin => {
                        safe => 0,
                        rebuild => undef,
-                       section => "special-purpose",
                },
                add_underlays => {
                        type => "string",
@@ -28,14 +27,6 @@ sub getsetup () {
                        safe => 0,
                        rebuild => 1,
                },
-               add_templates => {
-                       type => "string",
-                       example => ["$ENV{HOME}/.ikiwiki/templates"],
-                       description => "extra template directories to add",
-                       advanced => 1,
-                       safe => 0,
-                       rebuild => 1,
-               },
 }
 
 sub checkconfig () {
@@ -44,9 +35,6 @@ sub checkconfig () {
                        add_underlay($dir);
                }
        }
-       if ($config{add_templates}) {
-               push @{$config{templatedirs}}, @{$config{add_templates}};
-       }
 }
 
 1;