X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9921a4a8a1a696ce69acce5e14943f0149d926ff..41902cb9060787e798144fbaf12886e8d13fff25:/doc/ikiwiki/directive/more.mdwn diff --git a/doc/ikiwiki/directive/more.mdwn b/doc/ikiwiki/directive/more.mdwn index 68c2cd39a..bda1427f3 100644 --- a/doc/ikiwiki/directive/more.mdwn +++ b/doc/ikiwiki/directive/more.mdwn @@ -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"]]