summaryrefslogtreecommitdiff
path: root/ikiwiki/directive/more.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki/directive/more.mdwn')
-rw-r--r--ikiwiki/directive/more.mdwn5
1 files changed, 5 insertions, 0 deletions
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"]]