-
Notifications
You must be signed in to change notification settings - Fork 156
Conversation
@@ -402,3 +402,5 @@ Whether or not the the :ref:`bundles-seo-alternate-locale` should be loaded | |||
**type**: ``string`` **default**: ``null`` | |||
|
|||
Specify the service id of a custom :doc:`AlternateLocaleProvider <../seo/alternate_locale>`. | |||
|
|||
.. _phpcr: ../phpcrodm-admin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you add this? This should be transformed into a :doc:`../phpcrodm-admin`
link
@@ -150,22 +150,22 @@ Now, register this new class as a service and tag it as | |||
|
|||
# app/config/services.yml | |||
services: | |||
app.suggestions.hompage: | |||
app.suggestions_hompage: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
homepage_suggestions
?
|
||
.. code-block:: xml | ||
|
||
<!-- app/config/config.xml --> | ||
<container xmlns="http://symfony.com/schema/dic/services"> | ||
<config xmlns="http://cmf.symfony.com/schema/dic/seo" | ||
translation-domain="AcmeDemoBundle" | ||
translation-domain="AppBundle" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I would use the default messages
translation domain for AppBundle translations
@@ -107,7 +107,7 @@ The templates are specified for a specific sitemap (see below) or in the | |||
sitemap: | |||
defaults: | |||
templates: | |||
html: AppBundle:Sitemap:default.html.twig | |||
html: ::itemap/default.html.twig |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be sitemap/default.html.twig
@@ -118,7 +118,7 @@ The templates are specified for a specific sitemap (see below) or in the | |||
<config xmlns="http://example.org/schema/dic/cmf_seo"> | |||
<sitemap> | |||
<defaults> | |||
<template format="html">AppBundle:Sitemap:default.html.twig</template> | |||
<template format="html">::sitemap/default.html.twig</template> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
::
are not needed
'sitemap' => [ | ||
'defaults' => [ | ||
'templates' => [ | ||
'html' => '::sitemap/default.html.twig', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
@@ -253,7 +253,7 @@ sitemaps, you need to explicitly specify ``sitemap`` as well: | |||
categories: | |||
default_change_frequency: hourly | |||
templates: | |||
html: AppBundle:Sitemap:categories.html.twig | |||
html: ::sitemap/categories.html.twig |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and in these 3 lines
fixed against 2. 0 branch in #805 |
No description provided.