my $type=pagetype($file);
my $srcfile=srcfile($file);
if (defined $type) {
+ return if $type=~/^_/;
my $page=pagename($file);
delete $depends{$page};
will_render($page, htmlpage($page), 1);
tables and the like.
* prettydate,ddate: Don't ignore time formats passed to displaytime
function.
+ * Pages with extensions starting with "_" are internal-use, and will
+ not be rendered or web-edited.
-- Joey Hess <joeyh@debian.org> Fri, 11 Jan 2008 15:09:37 -0500
this plugin. This is how you can add support for new and exciting markup
languages to ikiwiki.
+Note that if you choose a filename extension that starts with "_",
+ikiwiki will not render the page, or allow the page to be edited with the
+web interface. This is useful for certian types of internal-use pages, but
+should generally be avoided.
+
The function is passed named parameters: "page" and "content" and should
return the htmlized content.