diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-11-16 15:44:03 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-11-16 15:44:03 -0500 |
commit | 20cdadba32dfd0280a3d17aef7136c0490ccb3d7 (patch) | |
tree | b137e6ac6b07aebe4a945bfeb03e1bbc8bef5b0b | |
parent | 65e9fbf6e98e0bf5525c39273f0327c0a122276f (diff) | |
download | ikiwiki-20cdadba32dfd0280a3d17aef7136c0490ccb3d7.tar ikiwiki-20cdadba32dfd0280a3d17aef7136c0490ccb3d7.tar.gz |
avoid fallthrough to default meta header addition for title
With the htmlscrubber disabled, it was adding a <meta name=title>
tag for the title, which is pointless.
-rw-r--r-- | IkiWiki/Plugin/meta.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/meta.pm b/IkiWiki/Plugin/meta.pm index 6fe9cda34..6bdb6f39c 100644 --- a/IkiWiki/Plugin/meta.pm +++ b/IkiWiki/Plugin/meta.pm @@ -88,7 +88,7 @@ sub preprocess (@) { # Metadata collection that needs to happen during the scan pass. if ($key eq 'title') { $pagestate{$page}{meta}{title}=HTML::Entities::encode_numeric($value); - # fallthrough + return ""; } elsif ($key eq 'description') { $pagestate{$page}{meta}{description}=HTML::Entities::encode_numeric($value); |