Skip to content

Commit 6014ed0

Browse files
[TASK] Use 0 and 1 for boolean values of config object (#1326)
1 parent 247e1b8 commit 6014ed0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Documentation/TopLevelObjects/Config.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Properties of 'config'
130130

131131
:typoscript:`10.replace = 0 | 1`
132132
Optional, boolean, default is `1`.
133-
If true, the header will replace an existing one that has the same name.
133+
If `1`, the header will replace an existing one that has the same name.
134134

135135
:typoscript:`10.httpResponseCode = 201`
136136
Optional, integer, a http status code that the page should return.
@@ -232,7 +232,7 @@ Properties of 'config'
232232
.. confval:: cache_clearAtMidnight
233233
:name: config-cache-clearAtMidnight
234234
:type: :ref:`data-type-boolean`
235-
:Default: `false`
235+
:Default: `0`
236236

237237
With this setting the cache always expires at midnight of the day, the
238238
page is scheduled to expire.
@@ -390,10 +390,10 @@ Properties of 'config'
390390
.. confval:: disableAllHeaderCode
391391
:name: config-disableAllHeaderCode
392392
:type: :ref:`data-type-boolean`
393-
:Default: `false`
393+
:Default: `0`
394394
:Example: :ref:`setup-config-disableallheadercode`
395395

396-
If this is not set or set to false, the :ref:`page` object automatically
396+
If this is not set or set to `0`, the :ref:`page` object automatically
397397
outputs a HTML skeleton, see :ref:`page_output`.
398398

399399
To disable this default behaviour set :typoscript:`disableAllHeaderCode = 1`.
@@ -410,7 +410,7 @@ Properties of 'config'
410410
.. confval:: disableBodyTag
411411
:name: config-disableBodyTag
412412
:type: :ref:`data-type-boolean`
413-
:Default: `false`
413+
:Default: `0`
414414

415415
If this option is set, the TYPO3 core will not generate the
416416
opening :html:`<body ...>` part of the body tag. The closing :html:`</body>`
@@ -428,14 +428,14 @@ Properties of 'config'
428428
When the system extension SEO is installed, canonical tags are generated
429429
automatically to prevent duplicate content. A good canonical is added
430430
in many cases by default. For edge cases, you might want to disable the
431-
rendering of this tag. You can do this by setting this property to true.
431+
rendering of this tag. You can do this by setting this property to `1`.
432432

433433
.. confval:: disableHrefLang
434434
:name: config-disableHrefLang
435435
:type: :ref:`data-type-boolean`
436436

437437
When the system extension SEO is installed, hreflang tags are generated
438-
automatically in multi-language setups. By settings this option to true
438+
automatically in multi-language setups. By settings this option to `1`
439439
the rendering of those tags will be skipped.
440440

441441
.. confval:: disablePrefixComment
@@ -624,7 +624,7 @@ Properties of 'config'
624624
.. confval:: index_metatags
625625
:name: config-index-metatags
626626
:type: :ref:`data-type-boolean`
627-
:Default: `true`
627+
:Default: `1`
628628

629629
This allows to turn on or off the indexing of metatags. It is turned
630630
on by default.

0 commit comments

Comments
 (0)