From 0686e55e2a02a8e50cac8ac21a51d938a4cb0784 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 4 Aug 2012 12:13:19 +0200 Subject: Sync with ikiwiki 3.20120419. --- ikiwiki/directive/traillink.mdwn | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ikiwiki/directive/traillink.mdwn (limited to 'ikiwiki/directive/traillink.mdwn') diff --git a/ikiwiki/directive/traillink.mdwn b/ikiwiki/directive/traillink.mdwn new file mode 100644 index 0000000..090e253 --- /dev/null +++ b/ikiwiki/directive/traillink.mdwn @@ -0,0 +1,16 @@ +The `traillink` directive is supplied by the +[[!iki plugins/trail desc=trail]] +plugin. It generates a visible [[ikiwiki/WikiLink]], and also adds the +linked page to the trail represented by the page containing the directive. + +In its simplest form, the first parameter is like the content of a WikiLink: + + \[[!traillink some_other_page]] + +The displayed text can also be overridden, either with a `|` symbol or with +a `text` parameter: + + \[[!traillink Click_here_to_start_the_trail|some_other_page]] + \[[!traillink some_other_page text="Click here to start the trail"]] + +[[!meta robots="noindex, follow"]] -- cgit v1.2.3