diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-11-22 02:28:42 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-11-22 02:28:42 +0000 |
commit | a405b46c3b6020e1fa3631bfe5fd982f315c977f (patch) | |
tree | e3c073a2ac07f9fb6686d105f542bae1815a145d /IkiWiki/Plugin/nicebundle.pm | |
parent | 538a7a487b2872a82721322dd1333c2e0381b8c7 (diff) |
* Add toggle plugin.
* Introduce the nicebundle. This is a kind of plugin, that just enables
many other plugins. It's an easy way to boost ikiwiki from its default,
basic wiki, to a full-featured wiki, without manually picking the right
set of plugins. New plugins will be added to the nicebundle from time to
time.
Diffstat (limited to 'IkiWiki/Plugin/nicebundle.pm')
-rw-r--r-- | IkiWiki/Plugin/nicebundle.pm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/nicebundle.pm b/IkiWiki/Plugin/nicebundle.pm new file mode 100644 index 000000000..7139a2af8 --- /dev/null +++ b/IkiWiki/Plugin/nicebundle.pm @@ -0,0 +1,29 @@ +#!/usr/bin/perl +package IkiWiki::Plugin::nicebundle; + +use warnings; +use strict; +use IkiWiki; + +my @bundle=qw{ + brokenlinks + img + map + meta + orphans + pagecount + pagestats + shortcut + smiley + tag + template + toc + toggle + otl +}; + +sub import { #{{{ + IkiWiki::loadplugin($_) foreach @bundle; +} # }}} + +1 |