diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-11-16 15:54:11 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-11-16 15:54:11 -0500 |
commit | 43a1640345e5af8f173a9d3669a4c9e0dfb0a512 (patch) | |
tree | 38dc33d349134a2490143ed21cfffa2d1fc2471a /IkiWiki/Plugin | |
parent | 4fa17df57de29e2b91c552c1b012f3f198dfaa2f (diff) |
meta: Allow use of DESCRIPTION in templates to get at the meta description value. (Thanks, NicolasLimare)
Diffstat (limited to 'IkiWiki/Plugin')
-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 45d073e28..55c9ddbd1 100644 --- a/IkiWiki/Plugin/meta.pm +++ b/IkiWiki/Plugin/meta.pm @@ -267,7 +267,7 @@ sub pagetemplate (@) { $template->param(title_overridden => 1); } - foreach my $field (qw{author authorurl permalink}) { + foreach my $field (qw{author authorurl description permalink}) { $template->param($field => $pagestate{$page}{meta}{$field}) if exists $pagestate{$page}{meta}{$field} && $template->query(name => $field); } |