synopsis is now added to each page automatically. If the page is a container whose children call prepareView, their synopses are added as well

This commit is contained in:
Colin Kuskie 2008-11-21 17:05:17 +00:00
parent e3eb287d3e
commit e2b121461b
2 changed files with 7 additions and 0 deletions

View file

@ -42,6 +42,7 @@
- fixed #8822: Password Recovery Tempalte not working
- fixed: WebGUI::User now actually checks whether the friends group exists
(Martin Kamerbeek / Oqapi)
- fixed #9039: Synopsis not output as a meta field
7.6.3
- improved performance of file uploads

View file

@ -1955,6 +1955,12 @@ sub prepareView {
name => 'keywords',
content => join(',', @keywords),
});
}
if ($self->get('synopsis')) {
$style->setMeta({
name => 'Description',
content => $self->get('synopsis'),
});
}
$style->setRawHeadTags($self->getExtraHeadTags);
}