summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-05 18:22:21 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-05 18:22:21 +0000
commit1d61c4d4d690624f6d6fb34b6decd5507a003298 (patch)
tree11e0fdf728ec580eba9eb079be94540d9196072f
parent7780d221984237444bdcabb55d74707e585b09be (diff)
* pagetemplate: don't display template name
-rw-r--r--IkiWiki/Plugin/pagetemplate.pm1
-rw-r--r--debian/changelog1
-rw-r--r--doc/plugins/pagetemplate.mdwn2
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 <joeyh@debian.org> 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]]