summaryrefslogtreecommitdiff
path: root/doc/templates
diff options
context:
space:
mode:
Diffstat (limited to 'doc/templates')
-rw-r--r--doc/templates/discussion.mdwn2
-rw-r--r--doc/templates/plugin.mdwn2
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/templates/discussion.mdwn b/doc/templates/discussion.mdwn
index 33e187e2c..cbf56fa81 100644
--- a/doc/templates/discussion.mdwn
+++ b/doc/templates/discussion.mdwn
@@ -12,3 +12,5 @@ john
Couldn't the [[templates/plugin]] template replace the "included" parameter
with the same check used for "third-party plugin"? Don't "third-party plugin"
and "included in ikiwiki" form precisely complementary sets? --[[JoshTriplett]]
+
+> Yes, can be done..
diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn
index 1db37e5c2..6715614df 100644
--- a/doc/templates/plugin.mdwn
+++ b/doc/templates/plugin.mdwn
@@ -1,7 +1,7 @@
<span class="infobox">
Plugin: <TMPL_VAR name><br />
Author: <TMPL_VAR author><br />
-Included in ikiwiki: <TMPL_IF included>yes<TMPL_ELSE>no</TMPL_IF><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 />
Currently enabled: [[if test="enabled(<TMPL_VAR name>)" then="yes" else="no"]]<br />
</span>