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:
parent
e3eb287d3e
commit
e2b121461b
2 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue