File tree 3 files changed +15
-5
lines changed
3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 1
- {% extends ' :: base.html.twig' %}
1
+ {% extends ' base.html.twig' %}
2
2
3
3
{% block content %}
4
4
<h1 >Oops! An Error Occurred</h1 >
18
18
{{ exception.getMessage () }}
19
19
20
20
<h3 >Suggested pages</h3 >
21
+ <div class =" alert alert-info clearfix" >
22
+ <p >
23
+ This page is rendered by the
24
+ <code >SuggestionProviderController</code >
25
+ of the CmfSeoBundle. This way, usefull suggestions can be shown to your users.
26
+ </p >
21
27
28
+ <a class =" docref" href =" http://symfony.com/doc/current/cmf/bundles/seo/error_pages.html" >
29
+ <i class =" glyphicon glyphicon-chevron-right" ></i >Read about this feature in the CMF documentation.
30
+ </a >
31
+ </div >
22
32
{% for group , list in best_matches if list is not empty %}
23
33
<h4 >{{ group | capitalize }}</h4 >
24
34
<ul >
Original file line number Diff line number Diff line change 1
- {% extends ' :: base.html.twig' %}
1
+ {% extends ' base.html.twig' %}
2
2
3
3
{% block content %}
4
4
<h1 >Sitemap</h1 >
Original file line number Diff line number Diff line change @@ -117,15 +117,15 @@ cmf_seo:
117
117
enable_parent_provider : true
118
118
enable_sibling_provider : true
119
119
templates :
120
- html : " :error: index.html.twig"
120
+ html : " :error/ index.html.twig"
121
121
exclusion_rules :
122
122
- { path: 'excluded' }
123
123
sitemap :
124
124
defaults :
125
125
default_change_frequency : never
126
126
templates :
127
- xml : ' :sitemap: index.xml.twig'
128
- html : ' :sitemap: index.html.twig'
127
+ xml : ' :sitemap/ index.xml.twig'
128
+ html : ' :sitemap/ index.html.twig'
129
129
configurations :
130
130
sitemap : ~
131
131
frequent :
You can’t perform that action at this time.
0 commit comments