File tree Expand file tree Collapse file tree 1 file changed +8
-25
lines changed Expand file tree Collapse file tree 1 file changed +8
-25
lines changed Original file line number Diff line number Diff line change 1
- .. note ::
2
-
3
- This documentation is under construction, more to come soon
4
-
5
-
6
-
7
1
Seo
8
2
===
9
3
10
- Alter node to include SEO information
11
-
12
4
Features
13
- ~~~~~~~~
5
+ --------
14
6
15
- - Insert here the different feature available for this plugin
7
+ - Alter node to include SEO information
16
8
17
9
Configuration
18
- ~~~~~~~~~~~~~
10
+ -------------
19
11
20
- - Insert the yaml configuration for the DI
12
+ You need to enable the module `` element.plugins.seo `` and configure the `` title_pattern `` setting.
21
13
22
14
.. code-block :: yaml
23
15
24
- element.plugins.cache :
25
- cache_control :
26
- - { "path": "^.*\\.(txt|jpg|png|gif|xls|doc|docx)$", "Cache-Control": ['public', 's-maxage=14212800']}
27
- - { "path": "^(blog|gallery).*", "Cache-Control": ['public', 's-maxage=3600']}
28
- - { "path": "^.*\\.rss", "Cache-Control": ['public', 's-maxage=3600']}
29
- - { "path": "^contact.*", "Cache-Control": ['private', 'must-revalidate']}
30
- - { "path": "^/$", "Cache-Control": ['public', 's-maxage=3600']}
16
+ element.plugins.seo :
17
+ title_pattern : " %seo.title_pattern%"
31
18
32
19
Events
33
- ~~~~~~
34
-
35
- - List event or entry points for this plugin
20
+ ------
36
21
37
- Architecture
38
- ~~~~~~~~~~~~
22
+ - The plugin is registered to the ``element.node.load.success `` event to add SEO information.
39
23
40
- - Provide information about how the feature is implemented
You can’t perform that action at this time.
0 commit comments