summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"]]