diff options
author | Joey Hess <joey@kitenet.net> | 2010-11-16 15:00:04 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-11-16 15:00:04 -0400 |
commit | ec6c1269d251c78d2eef68cb789de6cfc6272464 (patch) | |
tree | 1579fecb0e077106b2dba5c8a8dd20597cf62bc2 /doc/ikiwiki/directive | |
parent | 021676e489f9b79a50338635ad654f31eb5575fe (diff) |
more: Add pages parameter to limit where the more is displayed. (thanks, dark)
Diffstat (limited to 'doc/ikiwiki/directive')
-rw-r--r-- | doc/ikiwiki/directive/more.mdwn | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/ikiwiki/directive/more.mdwn b/doc/ikiwiki/directive/more.mdwn index 506551910..bda1427f3 100644 --- a/doc/ikiwiki/directive/more.mdwn +++ b/doc/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"]] |