From: joey Date: Sun, 5 Aug 2007 18:22:21 +0000 (+0000) Subject: * pagetemplate: don't display template name X-Git-Tag: 2.6~248 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1d61c4d4d690624f6d6fb34b6decd5507a003298;p=ikiwiki.git * pagetemplate: don't display template name --- diff --git a/IkiWiki/Plugin/pagetemplate.pm b/IkiWiki/Plugin/pagetemplate.pm index b5ebf623d..69a2433a8 100644 --- a/IkiWiki/Plugin/pagetemplate.pm +++ b/IkiWiki/Plugin/pagetemplate.pm @@ -25,6 +25,7 @@ sub preprocess (@) { #{{{ $templates{$params{page}}=$params{template}; } + return ""; } # }}} sub templatefile (@) { #{{{ diff --git a/debian/changelog b/debian/changelog index a523b8913..e8752e653 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,7 @@ ikiwiki (2.6) UNRELEASED; urgency=low HenrikBrixAndersen. * Allow raw html in the rst plugin. * Add --set-option command line switch. + * pagetemplate: don't display template name -- Joey Hess Fri, 03 Aug 2007 20:33:43 -0700 diff --git a/doc/plugins/pagetemplate.mdwn b/doc/plugins/pagetemplate.mdwn index 192322d72..945ee3d8c 100644 --- a/doc/plugins/pagetemplate.mdwn +++ b/doc/plugins/pagetemplate.mdwn @@ -12,5 +12,3 @@ This plugin can only use templates that are already installed in them). You can choose to use any .tmpl files in that directory. Example: \[[pagetemplate template=my_fancy.tmpl]] - -[[pagetemplate template=my_fancy.tmpl]]