Skip to content

Commit

Permalink
robots fields are no longer required but also don't allow resetting
Browse files Browse the repository at this point in the history
  • Loading branch information
tobimori committed Apr 2, 2024
1 parent 0d374e9 commit 47020ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion blueprints/fields/robots.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
'help' => "robots-{$robots}-help",
'width' => '1/2',
'default' => 'default',
'required' => true,
'reset' => false,
'options' => [
'default' => $page ?
A::join([
Expand Down
2 changes: 1 addition & 1 deletion blueprints/fields/site-robots.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
'help' => "robots-{$robots}-help",
'width' => '1/2',
'default' => 'default',
'required' => true,
'reset' => false,
'options' => [
'default' => t('default-select') . ' ' . ($index ? t('yes') : t('no')),
'true' => t('yes'),
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "tobimori/kirby-seo",
"description": "The ultimate Kirby SEO toolkit",
"type": "kirby-plugin",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",
"homepage": "https://github.com/tobimori/kirby-seo#readme",
"authors": [
Expand Down

0 comments on commit 47020ee

Please sign in to comment.