diff options
| author | Christophe Matthieu <chm@odoo.com> | 2014-07-10 11:05:01 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2014-07-10 11:05:01 +0200 |
| commit | caa534e503b733bb4779a51ae5e12ccce095be2e (patch) | |
| tree | 79c0f37fb8e896e9f3c491066fba069787c853ff | |
| parent | 7b82d799324f28cb267573f2e087319857b038d3 (diff) | |
| parent | e851c36a0f43df7a4999ecfd36d63ae95fdf5297 (diff) | |
Merge pull request #1039 from odoo-dev/8.0-fix-sitemap-chm
[FIX] website: error for rendering of the sitemap template. qweb can't render the xmlns attribute.
| -rw-r--r-- | addons/website/views/website_templates.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index 0f85be71d3b..c6d3c62f61d 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -696,13 +696,13 @@ Sitemap: <t t-esc="url_root"/>sitemap.xml </template> <template id="sitemap_xml"><?xml version="1.0" encoding="UTF-8"?> -<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> +<urlset t-attf-xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <t t-raw="content"/> </urlset> </template> <template id="sitemap_index_xml"><?xml version="1.0" encoding="UTF-8"?> -<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> +<sitemapindex t-attf-xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap t-foreach="pages" t-as="page"> <loc><t t-esc="url_root"/>sitemap-<t t-esc="page"/>.xml</loc> </sitemap> |
