From: joey Date: Tue, 8 May 2007 19:26:45 +0000 (+0000) Subject: web commit by JoshTriplett: Add line for "included in goodstuff", using backlink... X-Git-Tag: 2.1~74 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=006267f00a29a61c18b1f2f5b2d8d663df6fc295;p=ikiwiki.git web commit by JoshTriplett: Add line for "included in goodstuff", using backlink(/plugins/goodstuff). --- diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn index b4dabc341..e4b4f6692 100644 --- a/doc/templates/plugin.mdwn +++ b/doc/templates/plugin.mdwn @@ -3,6 +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"""]]
Currently enabled: [[if test="enabled()" then="yes" else="no"]]
[[if test="sourcepage(plugins/contrib/*)" then="""[[meta title=" (third party plugin)"]]"""]]