Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
erp5
Commits
9e36364a
Commit
9e36364a
authored
10 years ago
by
Kazuhiko Shiozaki
Committed by
Vincent Pelletier
9 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include sitemap xml for all available languages of the web site.
parent
f8c9dcd7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/robots.txt.xml
...eItem/portal_skins/erp5_web_widget_library/robots.txt.xml
+8
-4
No files found.
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/robots.txt.xml
View file @
9e36364a
...
@@ -37,11 +37,15 @@
...
@@ -37,11 +37,15 @@
<value>
<unicode
encoding=
"cdata"
>
<![CDATA[
<value>
<unicode
encoding=
"cdata"
>
<![CDATA[
<tal:block tal:define="dummy python:context.REQUEST.RESPONSE.setHeader(\'Content-Type\', \'text/plain\');\n
<tal:block tal:define="dummy python:context.REQUEST.RESPONSE.setHeader(\'Content-Type\', \'text/plain\');\n
web_site python:context.getWebSiteValue()"
>
\n
web_site python:context.getWebSiteValue()"\n
<tal:block
tal:condition=
"python:web_site is not None"
>
\n
tal:condition="python:web_site is not None">
\n
Sitemap:
<tal:block
tal:content=
"python:web_site.absolute_url()"
/>
/WebSite_viewSiteMapAsXML\n
Sitemap:
<tal:block
tal:content=
"python:web_site.absolute_url()"
/>
/WebSite_viewSiteMapAsXML\n
</tal:block>
\n
<tal:block
tal:condition=
"web_site/isStaticLanguageSelection"
\n
</tal:block>
tal:repeat=
"language web_site/getAvailableLanguageList"
\n
tal:define=
"default_language web_site/getDefaultAvailableLanguage"
>
\n
<tal:block
tal:condition=
"python:language != default_language"
>
\n
Sitemap:
<tal:block
tal:content=
"python:web_site.absolute_url()"
/>
/
<tal:block
tal:content=
"language"
/>
/WebSite_viewSiteMapAsXML\n
</tal:block></tal:block></tal:block>
]]>
</unicode>
</value>
]]>
</unicode>
</value>
</item>
</item>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment