Skip to content

Commit 8072561

Browse files
committed
remove default robots.txt content field from multisites site CMSFields
1 parent 9441b9b commit 8072561

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
This project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## [2.0.1]
8+
9+
* remove default robots.txt content field from multisites site CMSFields
10+
711
## [2.0.0]
812

913
* module rewrite

src/Extensions/ConfigExtension.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ public function applyRobotsCMSFields(FieldList $fields)
4646
{
4747
$fields->removeByName([
4848
'RobotsMode',
49-
'RobotsContent'
49+
'RobotsContent',
50+
'SiteAdvancedHeader',
51+
'RobotsTxt',
5052
]);
5153

5254
$tabPath = $this->getOwner()->getRobotsTabPath();

0 commit comments

Comments
 (0)