Skip to content

Commit

Permalink
Merge pull request #182 from plone/summary-metadata
Browse files Browse the repository at this point in the history
Add head_title and nav_title to summary metadata
  • Loading branch information
davisagli authored Jan 21, 2025
2 parents 612a8b7 + ce06e6d commit aeb7fc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/181.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add nav_title and head_title to the default summary serializer metadata fields. @davisagli
2 changes: 2 additions & 0 deletions src/plone/volto/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
class JSONSummarySerializerMetadata:
def default_metadata_fields(self):
return {
"head_title",
"image_field",
"image_scales",
"nav_title",
}

0 comments on commit aeb7fc7

Please sign in to comment.