From 4010e641c85106d8755526178b8dea625be46864 Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 8 Nov 2006 20:10:44 +0000 Subject: web commit by EthanGlasserCamp: exactly what it sounds like --- doc/patchqueue/skip_option_for_inline_plugin.mdwn | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/patchqueue/skip_option_for_inline_plugin.mdwn 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]; + } -- cgit v1.2.3