#!/usr/bin/perl package IkiWiki::Plugin::underlay; # Copyright © 2008 Simon McVittie # Licensed under the GNU GPL, version 2, or any later version published by the # Free Software Foundation use warnings; use strict; use IkiWiki 3.00; sub import { hook(type => "getsetup", id => "underlay", call => \&getsetup); hook(type => "checkconfig", id => "underlay", call => \&checkconfig); } sub getsetup () { return plugin => { safe => 0, rebuild => undef, }, add_underlays => { type => "string", default => [], description => "extra underlay directories to add", advanced => 1, safe => 0, rebuild => 1, }, } sub checkconfig () { return unless exists $config{add_underlays}; foreach my $dir (@{$config{add_underlays}}) { add_underlay($dir); } } 1; main'>index : notmuch
Unnamed repository; edit this file 'description' to name the repository.Jonas Smedegaard
summaryrefslogtreecommitdiff
path: root/tags/b7/c5/20200405141547.87F2812049A@illusion.pseudorandom.co.uk/killed
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
committerJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
commitfd54908da2b05c526dd3bee9b6dcd093214a220d (patch)
treec69c845069c99d1d01044f6fafda7c08433329c6 /tags/b7/c5/20200405141547.87F2812049A@illusion.pseudorandom.co.uk/killed
parentba46132213560cf3335d53560d519c0ec0190da2 (diff)
Diffstat (limited to 'tags/b7/c5/20200405141547.87F2812049A@illusion.pseudorandom.co.uk/killed')