-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #183 from plone/issue-178-robots_txt
Implement a specific robots.txt for Volto sites
- Loading branch information
Showing
13 changed files
with
153 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Implement a specific robots.txt for Volto sites. | ||
There is an upgrade step which will update the existing plone.robots_txt registry setting unless it has been customized. | ||
@ericof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
...one/volto/profiles/default/registry/plone.base.interfaces.controlpanel.IImagingSchema.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<registry> | ||
|
||
<!-- Allowed sizes --> | ||
<record field="allowed_sizes" | ||
interface="plone.base.interfaces.controlpanel.IImagingSchema" | ||
name="plone.allowed_sizes" | ||
purge="True" | ||
> | ||
<!-- Purge the existing ones! --> | ||
<value> | ||
<element>icon 32:32</element> | ||
<element>tile 64:64</element> | ||
<element>thumb 128:128</element> | ||
<element>mini 200:65536</element> | ||
<element>preview 400:65536</element> | ||
<element>teaser 600:65536</element> | ||
<element>large 800:65536</element> | ||
<element>larger 1000:65536</element> | ||
<element>great 1200:65536</element> | ||
<element>huge 1600:65536</element> | ||
</value> | ||
</record> | ||
</registry> |
11 changes: 11 additions & 0 deletions
11
.../volto/profiles/default/registry/plone.base.interfaces.controlpanel.INavigationSchema.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<registry> | ||
|
||
<record field="show_excluded_items" | ||
interface="plone.base.interfaces.controlpanel.INavigationSchema" | ||
name="plone.show_excluded_items" | ||
> | ||
<value>False</value> | ||
</record> | ||
|
||
</registry> |
12 changes: 12 additions & 0 deletions
12
...lone/volto/profiles/default/registry/plone.base.interfaces.controlpanel.ISearchSchema.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<registry> | ||
|
||
<record field="types_not_searched" | ||
interface="plone.base.interfaces.controlpanel.ISearchSchema" | ||
name="plone.types_not_searched" | ||
purge="true" | ||
> | ||
<value /> | ||
</record> | ||
|
||
</registry> |
28 changes: 28 additions & 0 deletions
28
src/plone/volto/profiles/default/registry/plone.base.interfaces.controlpanel.ISiteSchema.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<registry> | ||
<record field="robots_txt" | ||
interface="plone.base.interfaces.controlpanel.ISiteSchema" | ||
name="plone.robots_txt" | ||
purge="true" | ||
> | ||
<value>Sitemap: {portal_url}/sitemap-index.xml | ||
|
||
# Define access-restrictions for robots/spiders | ||
# http://www.robotstxt.org/wc/norobots.html | ||
|
||
User-agent: * | ||
Disallow: /search | ||
Disallow: /login | ||
|
||
# Add Googlebot-specific syntax extension to exclude forms | ||
# that are repeated for each piece of content in the site | ||
# the wildcard is only supported by Googlebot | ||
# http://www.google.com/support/webmasters/bin/answer.py?answer=40367&ctx=sibling | ||
|
||
User-Agent: Googlebot | ||
Disallow: /*login | ||
Disallow: /*search | ||
Disallow: /*edit | ||
</value> | ||
</record> | ||
</registry> |
10 changes: 10 additions & 0 deletions
10
...plone/volto/profiles/default/registry/plone.base.interfaces.controlpanel.ITypesSchema.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<registry> | ||
<record field="types_use_view_action_in_listings" | ||
interface="plone.base.interfaces.controlpanel.ITypesSchema" | ||
name="plone.types_use_view_action_in_listings" | ||
purge="true" | ||
> | ||
<value /> | ||
</record> | ||
</registry> |
8 changes: 8 additions & 0 deletions
8
src/plone/volto/profiles/default/registry/plone.volto.interfaces.IVoltoSettings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<registry> | ||
|
||
<records interface="plone.volto.interfaces.IVoltoSettings" | ||
prefix="volto" | ||
/> | ||
|
||
</registry> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<registry> | ||
|
||
<record name="plone.icon.volto-settings"> | ||
<field type="plone.registry.field.TextLine"> | ||
<title>Plone Icon Volto Control Panel</title> | ||
</field> | ||
<value key="resource">++plone++plone.volto/volto.svg</value> | ||
</record> | ||
|
||
</registry> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters