From 1d61c4d4d690624f6d6fb34b6decd5507a003298 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 5 Aug 2007 18:22:21 +0000 Subject: [PATCH] * pagetemplate: don't display template name --- IkiWiki/Plugin/pagetemplate.pm | 1 + debian/changelog | 1 + doc/plugins/pagetemplate.mdwn | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) 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]] -- 2.26.2