From 297ff849b93e5a75074e321fe65500f0e091601c Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 21 Jul 2008 12:31:57 +0100 Subject: Migrate doc/plugins via prefix_directives This is a partial commit of: egrep -rl '\[\[[a-z]+ ' doc | xargs --max-args 1 ./ikiwiki-transition prefix_directives --- doc/plugins/fortune.mdwn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/plugins/fortune.mdwn') diff --git a/doc/plugins/fortune.mdwn b/doc/plugins/fortune.mdwn index b855c18f3..d8130d631 100644 --- a/doc/plugins/fortune.mdwn +++ b/doc/plugins/fortune.mdwn @@ -1,15 +1,15 @@ -[[template id=plugin name=fortune author="[[Joey]]"]] -[[tag type/fun]] +[[!template id=plugin name=fortune author="[[Joey]]"]] +[[!tag type/fun]] This just uses the `fortune` program to insert a fortune into the page. Usage: \[[fortune ]] -[[if test="enabled(fortune)" then=""" +[[!if test="enabled(fortune)" then=""" Here's a fortune for you: ---- -[[fortune ]] +[[!fortune ]] """]] -- cgit v1.2.3