Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 2538ee5

Browse files
author
Ben Glassman
committed
Add note about twig extension to docs
1 parent eea985c commit 2538ee5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

bundles/seo/introduction.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,16 @@ key in ``cmf_seo.content_key``.
137137
You may also want to disable this listener when implementing your own mechanism
138138
to extract SEO information.
139139

140+
The Twig Extension
141+
~~~~~~~~~~~~~~~~~~
142+
143+
.. versionadded:: 1.2
144+
The twig extension was added in SeoBundle 1.2.
145+
146+
This bundle provides a twig function ``cmf_seo_update_metadata``
147+
which lets you set the object which should be used to populate
148+
the seo page. For details on using the twig extension, read :doc:`twig`.
149+
140150
Extracting Metadata
141151
~~~~~~~~~~~~~~~~~~~
142152

0 commit comments

Comments
 (0)