diff options
author | Jonas Smedegaard <dr@jones.dk> | 2011-06-15 12:33:54 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2011-06-15 12:33:54 +0200 |
commit | 57bccb327efdb9fff0ff55ff07be3aed5b31e63f (patch) | |
tree | c2dc64fefad6b5301832f09244582f406e5f4b4b /ikiwiki/directive/more.mdwn | |
parent | 90896aac9fcd3ce4b44643a3bc2773a831c0c3cf (diff) |
Sync with ikiwiki 3.20110608.
Diffstat (limited to 'ikiwiki/directive/more.mdwn')
-rw-r--r-- | ikiwiki/directive/more.mdwn | 5 |
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"]] |