=== modified file 'IkiWiki/Plugin/inline.pm'
--- IkiWiki/Plugin/inline.pm	
+++ IkiWiki/Plugin/inline.pm	
@@ -58,7 +58,8 @@
 	if ($params{show} && @list > $params{show}) {
 		@list=@list[0..$params{show} - 1];
 	}
-
+	my $archive_after = 0;
+	$archive_after = $params{archive_after} if exists $params{archive_after};
 	add_depends($params{page}, $params{pages});
 
 	my $ret="";
@@ -84,7 +85,15 @@
 		($archive ? "inlinepagetitle.tmpl" : "inlinepage.tmpl"),
 		blind_cache => 1,
 	) unless $raw;
-	
+
+	my $secondtemplate;
+
+	if (! $raw && $archive_after > 0 && $archive_after < @list) {
+		$secondtemplate=template("inlinepagetitle.tmpl",
+			blind_cache => 1);
+	}
+
+	my $count = 0;	
 	foreach my $page (@list) {
 		if (! $raw) {
 			# Get the content before populating the template,
@@ -99,18 +108,23 @@
 			# and can be overridden by other plugins.
 			my $link=htmlpage(bestlink($params{page}, $page));
 			$link=abs2rel($link, dirname($params{page}));
-			$template->param(pageurl => $link);
-			$template->param(title => pagetitle(basename($page)));
-			$template->param(content => $content);
-			$template->param(ctime => displaytime($pagectime{$page}));
+			$count++;
+			my $tmpl = $template;
+			if ($archive_after > 0 && $count > $archive_after) {
+				$tmpl = $secondtemplate;
+			}
+			$tmpl->param(pageurl => $link);
+			$tmpl->param(title => pagetitle(basename($page)));
+			$tmpl->param(content => $content);
+			$tmpl->param(ctime => displaytime($pagectime{$page}));
 
 			run_hooks(pagetemplate => sub {
 				shift->(page => $page, destpage => $params{page},
-					template => $template,);
+					template => $tmpl,);
 			});
 
-			$ret.=$template->output;
-			$template->clear_params;
+			$ret.=$tmpl->output;
+			$tmpl->clear_params;
 		}
 		else {
 			my $file=$pagesources{$page};

=== modified file 'doc/plugins/inline.mdwn'
--- doc/plugins/inline.mdwn	
+++ doc/plugins/inline.mdwn	
@@ -29,3 +29,9 @@
   inlining page.
 * `description` - Sets the description of the rss feed if one is generated.
   Defaults to the name of the wiki.
+* `archive_after` - If more that this number of items are in the list then
+  the older ones are not shown in full. e.g. `archive_after="3"` will show the
+  newest 3 items in full, and any older than that will just have their titles
+  shown. Setting this value to 0 disables this behaviour. Has no effect if 
+  either `raw="yes"` or `archive="yes"`.
+

