2 package IkiWiki::Plugin::underlay;
3 # Copyright © 2008 Simon McVittie <http://smcv.pseudorandom.co.uk/>
4 # Licensed under the GNU GPL, version 2, or any later version published by the
5 # Free Software Foundation
12 hook(type => "getsetup", id => "underlay", call => \&getsetup);
13 hook(type => "checkconfig", id => "underlay", call => \&checkconfig);
25 description => "extra underlay directories to add",
33 description => "extra template directories to add",
41 foreach my $dir (@{$config{add_underlays}}) {
44 push @{$config{templatedirs}}, @{$config{add_templates}};