X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9d7375c3b263e77da29a5db22af480db8b99d990..49adc59474027390eb53eb749a7bc95492142582:/doc/plugins/polygen.mdwn

diff --git a/doc/plugins/polygen.mdwn b/doc/plugins/polygen.mdwn
index b49eeda0e..8d6794073 100644
--- a/doc/plugins/polygen.mdwn
+++ b/doc/plugins/polygen.mdwn
@@ -1,4 +1,4 @@
-[[template id=plugin name=polygen included=1 author="""Enrico Zini"""]]
+[[template id=plugin name=polygen author="Enrico Zini"]]
 [[tag type/fun]]
 
 This plugin allows inserting text generated by polygen into a wiki page.
@@ -9,10 +9,10 @@ For example:
 It's also possible to specify a starting nonterminal for the grammar by
 including `symbol="text"` in the directive.
 
+[[if test="enabled(polygen)" then="""
 ----
 
-If this plugin is enabled, and polygen is installed, here are a few notes
-about ikiwiki.
+Here are a few notes about ikiwiki, courtesy of polygen:
 
 Ikiwiki is internally based on a [[polygen grammar="designpatterns"]]
 coupled to a [[polygen grammar="designpatterns"]], as described in
@@ -25,3 +25,5 @@ Ikiwiki reviews:
 <li>[[polygen grammar="reviews"]]</li>
 <li>[[polygen grammar="reviews"]]</li>
 </ul>
+
+"""]]