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

@ -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);
}