Export add_autofile() for use in Plugins.

master
David Riebenbauer 2010-02-02 12:12:23 +01:00
parent f58f3e1bec
commit 25741100b0
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ our @EXPORT = qw(hook debug error template htmlpage deptype
htmllink readfile writefile pagetype srcfile pagename
displaytime will_render gettext urlto targetpage
add_underlay pagetitle titlepage linkpage newpagefile
inject add_link
inject add_link add_autofile
%config %links %pagestate %wikistate %renderedfiles
%pagesources %destsources);
our $VERSION = 3.00; # plugin interface version, next is ikiwiki version

View File

@ -79,7 +79,7 @@ sub gentag ($) {
$template->param(tag => $tag);
writefile($tagfile, $config{srcdir}, $template->output);
IkiWiki::add_autofile("$config{srcdir}/$tagfile");
add_autofile("$config{srcdir}/$tagfile");
}
}