]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/underlay.pm
websetup: Fix saving of advanced mode changes.
[git.ikiwiki.info.git] / IkiWiki / Plugin / underlay.pm
index 116fe7324e5d3b4a770acd6876067eb020cf4ae8..3ea19c63519bdecf6cd7331d21d722b3e0bc72de 100644 (file)
@@ -27,14 +27,6 @@ sub getsetup () {
                        safe => 0,
                        rebuild => 1,
                },
                        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 () {
 }
 
 sub checkconfig () {
@@ -43,9 +35,6 @@ sub checkconfig () {
                        add_underlay($dir);
                }
        }
                        add_underlay($dir);
                }
        }
-       if ($config{add_templates}) {
-               push @{$config{templatedirs}}, @{$config{add_templates}};
-       }
 }
 
 1;
 }
 
 1;