From 57bccb327efdb9fff0ff55ff07be3aed5b31e63f Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 15 Jun 2011 12:33:54 +0200 Subject: Sync with ikiwiki 3.20110608. --- ikiwiki/directive/more.mdwn | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ikiwiki/directive/more.mdwn') diff --git a/ikiwiki/directive/more.mdwn b/ikiwiki/directive/more.mdwn index 5065519..bda1427 100644 --- a/ikiwiki/directive/more.mdwn +++ b/ikiwiki/directive/more.mdwn @@ -11,6 +11,11 @@ leads to the full version of the page. Use it like this: If the `linktext` parameter is omitted it defaults to just "more". +An optional `pages` parameter can be used to specify a +[[ikiwiki/PageSpec]], and then the "more" link will only be displayed +when the page is inlined into a page matching that PageSpec, and otherwise +the full content shown. + Note that you can accomplish something similar using a [[toggle]] instead. [[!meta robots="noindex, follow"]] -- cgit v1.2.3