diff --git a/doc/plugins/polygen.mdwn b/doc/plugins/polygen.mdwn
index fa4aa0bf7..6045c1ec9 100644
--- a/doc/plugins/polygen.mdwn
+++ b/doc/plugins/polygen.mdwn
@@ -1,5 +1,24 @@
[[!template id=plugin name=polygen author="Enrico Zini"]]
[[!tag type/fun]]
-This plugin implements the [[ikiwiki/directive/polygen]] [[ikiwiki/directive]].
-The directive allows inserting text generated by polygen into a wiki page.
+This plugin provides the [[ikiwiki/directive/polygen]] [[ikiwiki/directive]],
+which allows inserting text generated by polygen into a wiki page.
+
+[[!if test="enabled(polygen)" then="""
+----
+
+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
+"[[!polygen grammar="paper"]]" by [[!polygen grammar="nipponame"]] of
+[[!polygen grammar="boyband"]].
+
+Ikiwiki reviews:
+
+- [[!polygen grammar="reviews"]]
+- [[!polygen grammar="reviews"]]
+- [[!polygen grammar="reviews"]]
+
+
+"""]]
diff --git a/underlays/basewiki/directive/polygen.mdwn b/underlays/basewiki/directive/polygen.mdwn
index 72b031235..0ad5c12e3 100644
--- a/underlays/basewiki/directive/polygen.mdwn
+++ b/underlays/basewiki/directive/polygen.mdwn
@@ -7,22 +7,3 @@ 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="""
-----
-
-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
-"[[!polygen grammar="paper"]]" by [[!polygen grammar="nipponame"]] of
-[[!polygen grammar="boyband"]].
-
-Ikiwiki reviews:
-
-- [[!polygen grammar="reviews"]]
-- [[!polygen grammar="reviews"]]
-- [[!polygen grammar="reviews"]]
-
-
-"""]]