summaryrefslogtreecommitdiff
path: root/ikiwiki/directive
diff options
context:
space:
mode:
authorzweistein <zweistein@web>2020-03-07 14:00:58 +0000
committerIkiWiki <ikiwiki.info>2020-03-07 14:00:58 +0000
commit0081f3ab21b02874b0cae8e9e31fa6a9ed32f36a (patch)
tree57b645d0fb735f9c16cb5145983a8628dcde728e /ikiwiki/directive
parent85e40bcd6b87e007681fbde2061eea323d717202 (diff)
aktiv?
Diffstat (limited to 'ikiwiki/directive')
-rw-r--r--ikiwiki/directive/fortune.mdwn13
1 files changed, 13 insertions, 0 deletions
diff --git a/ikiwiki/directive/fortune.mdwn b/ikiwiki/directive/fortune.mdwn
new file mode 100644
index 00000000..5ccf3180
--- /dev/null
+++ b/ikiwiki/directive/fortune.mdwn
@@ -0,0 +1,13 @@
+[[!if test="enabled(fortune)"
+ then="In diesem Wiki ist die Direktive: fortune **aktiviert**."
+ else="In diesem Wiki ist die Direktive: fortune **nicht aktiv**; falls dies gewünscht wird, den Admin benachrichtigen."]]
+
+---
+The `fortune` directive is supplied by the [[!iki plugins/fortune desc=fortune]] plugin.
+
+This just uses the `fortune` program to insert a fortune cookie into the page.
+Usage:
+
+ \[[!fortune ]]
+
+[[!meta robots="noindex, follow"]]