From 85d0f445d926c853fc68ad9e399b64d04589d0bc Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 8 May 2007 21:46:00 +0000 Subject: [PATCH] Use an explicit glob(plugins/) rather than relying on implicit glob detection. This is necessary because when this page is being built standalone, the TMPL_VAR will not be expanded, and is instead treated as two globs, and the globlist is then invalid and produces build errors. Using glob() causes it to treated as a single glob, avoiding this problem. --- doc/templates/plugin.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn index 7238a0bbb..cb67902ea 100644 --- a/doc/templates/plugin.mdwn +++ b/doc/templates/plugin.mdwn @@ -3,7 +3,7 @@ Plugin:
Author:
Included in ikiwiki: [[if test="sourcepage(plugins/contrib/*)" then="""no""" else="""yes"""]]
Enabled by default: yesno
-Included in [[/plugins/goodstuff]]: [[if test="backlink(plugins/goodstuff) and plugins/ and !sourcepage(plugins/contrib/*)" then="""yes""" else="""no"""]]
+Included in [[/plugins/goodstuff]]: [[if test="backlink(plugins/goodstuff) and glob(plugins/) and !sourcepage(plugins/contrib/*)" then="""yes""" else="""no"""]]
Currently enabled: [[if test="enabled()" then="yes" else="no"]]
[[if test="sourcepage(plugins/contrib/*)" then="""[[meta title=" (third party plugin)"]]"""]] -- 2.44.0