diff options
author | zweistein <zweistein@web> | 2020-03-07 13:57:38 +0000 |
---|---|---|
committer | IkiWiki <ikiwiki.info> | 2020-03-07 13:57:38 +0000 |
commit | 5aca615227b2cd6638adcac5e61be09a58b6a47f (patch) | |
tree | f38dbd1d88466f34ca0507bb96d0bd6626b87ff7 /ikiwiki/directive | |
parent | 8b93011cf9a40c2972485712fd73e1d6ec47838d (diff) |
aktiv?
Diffstat (limited to 'ikiwiki/directive')
-rw-r--r-- | ikiwiki/directive/more.mdwn | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ikiwiki/directive/more.mdwn b/ikiwiki/directive/more.mdwn new file mode 100644 index 00000000..ea5df847 --- /dev/null +++ b/ikiwiki/directive/more.mdwn @@ -0,0 +1,26 @@ +[[!if test="enabled(more)" + then="In diesem Wiki ist die Direktive: more **aktiviert**." + else="In diesem Wiki ist die Direktive: more **nicht aktiv**; falls dies gewünscht wird, den Admin benachrichtigen."]] + +--- +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: + + \[[!more linktext="click for more" text=""" + This is the rest of my post. Not intended for people catching up on + their blogs at 30,000 feet. Because I like to make things + difficult. + """]] + +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"]] |