predefine pingurl
parent
c2507d33cb
commit
1ba84c3a6b
|
@ -28,7 +28,6 @@ sub import { #{{{
|
||||||
# pings interrupting page builds.
|
# pings interrupting page builds.
|
||||||
hook(type => "change", id => "inline",
|
hook(type => "change", id => "inline",
|
||||||
call => \&IkiWiki::pingurl);
|
call => \&IkiWiki::pingurl);
|
||||||
|
|
||||||
} # }}}
|
} # }}}
|
||||||
|
|
||||||
sub getopt () { #{{{
|
sub getopt () { #{{{
|
||||||
|
@ -96,6 +95,9 @@ sub checkconfig () { #{{{
|
||||||
if ($config{atom}) {
|
if ($config{atom}) {
|
||||||
push @{$config{wiki_file_prune_regexps}}, qr/\.atom$/;
|
push @{$config{wiki_file_prune_regexps}}, qr/\.atom$/;
|
||||||
}
|
}
|
||||||
|
if (! exists $config{pingurl}) {
|
||||||
|
$config{pingurl}=[];
|
||||||
|
}
|
||||||
} #}}}
|
} #}}}
|
||||||
|
|
||||||
sub format (@) { #{{{
|
sub format (@) { #{{{
|
||||||
|
|
Loading…
Reference in New Issue