]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/ikiwiki/directive/more.mdwn
more: Add pages parameter to limit where the more is displayed. (thanks, dark)
[ikiwiki.git] / doc / ikiwiki / directive / more.mdwn
index 68c2cd39a2f32f5879a9f6e6695528c33310d987..bda1427f39b6d3e688dc589b4ffd82aa3b09dc19 100644 (file)
@@ -1,4 +1,4 @@
-The `more` directive is supplied by the [[!iki plugins/more]] plugin.
+The `more` directive is supplied by the [[!iki plugins/more desc=more]] plugin.
 
 This directive provides a way to have a "more" link on a post in a blog, that
 leads to the full version of the page. Use it like this:
@@ -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"]]