diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-11-08 20:10:44 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-11-08 20:10:44 +0000 |
commit | 4010e641c85106d8755526178b8dea625be46864 (patch) | |
tree | 1514754a3cf60688a9dfbc7c743765441c64541d /doc | |
parent | 0617793bf69c6a3dc709ea1fb4abb02ca9d82c88 (diff) |
web commit by EthanGlasserCamp: exactly what it sounds like
Diffstat (limited to 'doc')
-rw-r--r-- | doc/patchqueue/skip_option_for_inline_plugin.mdwn | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/patchqueue/skip_option_for_inline_plugin.mdwn b/doc/patchqueue/skip_option_for_inline_plugin.mdwn new file mode 100644 index 000000000..60be06717 --- /dev/null +++ b/doc/patchqueue/skip_option_for_inline_plugin.mdwn @@ -0,0 +1,16 @@ +This addresses [[todo/skip_option_for_inline_plugin]]. + + diff -urx .svn ikiwiki-orig/IkiWiki/Plugin/inline.pm ikiwiki/IkiWiki/Plugin/inline.pm + --- ikiwiki-orig/IkiWiki/Plugin/inline.pm 2006-11-08 01:02:33.000000000 -0500 + +++ ikiwiki/IkiWiki/Plugin/inline.pm 2006-11-08 15:08:04.000000000 -0500 + @@ -72,6 +72,10 @@ + return "unknown sort type $params{sort}"; + } + + + if ($params{skip}) { + + @list=@list[$params{skip} .. scalar @list - 1]; + + + + } + if ($params{show} && @list > $params{show}) { + @list=@list[0..$params{show} - 1]; + } |