aboutsummaryrefslogtreecommitdiff
path: root/doc/templates
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-05-08 21:46:00 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-05-08 21:46:00 +0000
commit85d0f445d926c853fc68ad9e399b64d04589d0bc (patch)
treec45f23952de04bc6569110bf36dab8a81fe8aa37 /doc/templates
parent5c6b96967d70f41040e90671cff03e4a11239e63 (diff)
downloadikiwiki-85d0f445d926c853fc68ad9e399b64d04589d0bc.tar
ikiwiki-85d0f445d926c853fc68ad9e399b64d04589d0bc.tar.gz
Use an explicit glob(plugins/<TMPL_VAR name>) 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.
Diffstat (limited to 'doc/templates')
-rw-r--r--doc/templates/plugin.mdwn2
1 files changed, 1 insertions, 1 deletions
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: <TMPL_VAR name><br />
Author: <TMPL_VAR author><br />
Included in ikiwiki: [[if test="sourcepage(plugins/contrib/*)" then="""no""" else="""yes"""]]<br />
Enabled by default: <TMPL_IF core>yes<TMPL_ELSE>no</TMPL_IF><br />
-Included in [[/plugins/goodstuff]]: [[if test="backlink(plugins/goodstuff) and plugins/<TMPL_VAR name> and !sourcepage(plugins/contrib/*)" then="""yes""" else="""no"""]]<br />
+Included in [[/plugins/goodstuff]]: [[if test="backlink(plugins/goodstuff) and glob(plugins/<TMPL_VAR name>) and !sourcepage(plugins/contrib/*)" then="""yes""" else="""no"""]]<br />
Currently enabled: [[if test="enabled(<TMPL_VAR name>)" then="yes" else="no"]]<br />
</span>
[[if test="sourcepage(plugins/contrib/*)" then="""[[meta title="<TMPL_VAR name> (third party plugin)"]]"""]]