diff options
author | Jonas Smedegaard <dr@jones.dk> | 2012-08-04 12:13:19 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2012-08-04 12:13:19 +0200 |
commit | 0686e55e2a02a8e50cac8ac21a51d938a4cb0784 (patch) | |
tree | 0cc5cbcfd3e2a8fa6754e7bd8706f8a64e9f3e94 /ikiwiki/directive/trailoptions.mdwn | |
parent | 310150aea29904bc6a929ddcfbc191362ec19714 (diff) |
Sync with ikiwiki 3.20120419.
Diffstat (limited to 'ikiwiki/directive/trailoptions.mdwn')
-rw-r--r-- | ikiwiki/directive/trailoptions.mdwn | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ikiwiki/directive/trailoptions.mdwn b/ikiwiki/directive/trailoptions.mdwn new file mode 100644 index 0000000..d83f444 --- /dev/null +++ b/ikiwiki/directive/trailoptions.mdwn @@ -0,0 +1,18 @@ +The `trailoptions` directive is supplied by the +[[!iki plugins/trail desc=trail]] plugin. It sets options for the +trail represented by this page. + + \[[!trailoptions sort="meta(title)" circular="no"]] + +Options available: + +* `sort`: sets a [[ikiwiki/pagespec/sorting]] order for the entire trail, + overriding the order in which they were added + +* `reverse`: reverses the order of the trail + +* `circular`: if set to `yes` or `1`, the trail is made into a loop by + making the last page's "next" link point to the first page, and the first + page's "previous" link point to the last page + +[[!meta robots="noindex, follow"]] |