aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/underlay.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-04-22 14:35:00 -0400
committerJoey Hess <joey@kitenet.net>2010-04-22 14:35:00 -0400
commit23d62f42bd8fe18087cd293962a79d937cf5a3bc (patch)
treebdf3066bc21d9f9c00305dc2ca80f7859944f0e0 /IkiWiki/Plugin/underlay.pm
parent584391aedd2f5392db7e9d3d46cf202d6cb8e951 (diff)
downloadikiwiki-23d62f42bd8fe18087cd293962a79d937cf5a3bc.tar
ikiwiki-23d62f42bd8fe18087cd293962a79d937cf5a3bc.tar.gz
remove add_templates option
Templates are moving into the srcdir, and will also be searched for in configured underlays, so this is redundant.
Diffstat (limited to 'IkiWiki/Plugin/underlay.pm')
-rw-r--r--IkiWiki/Plugin/underlay.pm11
1 files changed, 0 insertions, 11 deletions
diff --git a/IkiWiki/Plugin/underlay.pm b/IkiWiki/Plugin/underlay.pm
index 116fe7324..3ea19c635 100644
--- a/IkiWiki/Plugin/underlay.pm
+++ b/IkiWiki/Plugin/underlay.pm
@@ -27,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 () {
@@ -43,9 +35,6 @@ sub checkconfig () {
add_underlay($dir);
}
}
- if ($config{add_templates}) {
- push @{$config{templatedirs}}, @{$config{add_templates}};
- }
}
1;