X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/684cd73a79405ee58e115e603213c39a33d710cf..2ee820dedd9ab80dd0f37c4169970485cb529c3b:/IkiWiki/Plugin/shortcut.pm?ds=inline diff --git a/IkiWiki/Plugin/shortcut.pm b/IkiWiki/Plugin/shortcut.pm index 5693ee782..0cedbe447 100644 --- a/IkiWiki/Plugin/shortcut.pm +++ b/IkiWiki/Plugin/shortcut.pm @@ -16,11 +16,12 @@ sub getsetup () { plugin => { safe => 1, rebuild => undef, + section => "widget", }, } sub checkconfig () { - if (defined $config{srcdir}) { + if (defined $config{srcdir} && length $config{srcdir}) { # Preprocess the shortcuts page to get all the available shortcuts # defined before other pages are rendered. my $srcfile=srcfile("shortcuts.".$config{default_pageext}, 1);