Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix longstanding bug (chdir to nonexistent dirs).
[git.ikiwiki.info.git]
/
doc
/
ikiwiki
/
directive
/
more.mdwn
diff --git
a/doc/ikiwiki/directive/more.mdwn
b/doc/ikiwiki/directive/more.mdwn
index 68c2cd39a2f32f5879a9f6e6695528c33310d987..bda1427f39b6d3e688dc589b4ffd82aa3b09dc19 100644
(file)
--- 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:
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".
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"]]
Note that you can accomplish something similar using a [[toggle]] instead.
[[!meta robots="noindex, follow"]]