Skip to content

Commit

Permalink
add headtitle field
Browse files Browse the repository at this point in the history
  • Loading branch information
iFlameing committed Mar 5, 2024
1 parent d6f129d commit 73e99ae
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/plone/volto/behaviors/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,11 @@
provides=".kicker.IKicker"
/>

<plone:behavior
name="volto.head_title"
title="Head title field"
description="Adds Head title field"
provides=".kicker.IHeadTitle"
/>

</configure>
3 changes: 3 additions & 0 deletions src/plone/volto/behaviors/kicker.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ class IKicker(model.Schema):
default="The kicker is shown above the title in teasers.",
),
)


IHeadTitle = IKicker

0 comments on commit 73e99ae

Please sign in to comment.