Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 12.4] fix: correct anchors in PAGE properties #1470

Merged
merged 1 commit into from
Dec 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions Documentation/TopLevelObjects/Page/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Properties
if that is set.

.. note:: Additionally to the body tag properties noted here,
there also is the property :ref:`setup-config-disableBodyTag`,
there also is the property :confval:`config.disableBodyTag <config-disableBodyTag>`,
which, if set, disables body tag generation independently
from what might be set here.

Expand Down Expand Up @@ -270,12 +270,12 @@ Properties
Inserts custom content in the head section of the website.

While you can also use this to include stylesheet references or JavaScript,
you should better use :ref:`page.includeCSS <setup-page-includecss-array>`
and :ref:`page.includeJS <setup-page-includejs-array>` for such files.
you should better use :confval:`page.includeCSS <page-includeCSS>`
and :confval:`page.includeJS <page-includeJS>` for such files.
Features like file concatenation and file compression will not work on files,
which are included using :typoscript:`headerData`.

For meta tags, use the dedicated configuration :ref:`page.meta <meta>`.
For meta tags, use the dedicated configuration :confval:`page.meta <page-meta>`.

By default, gets inserted after all the style definitions.

Expand Down Expand Up @@ -465,9 +465,9 @@ Properties
:name: page-includeJSFooter
:type: :ref:`data-type-resource`

Add JavaScript files to footer (after files set in :ref:`includeJSFooterlibs <setup-page-includejsfooterlibs-array>`)
Add JavaScript files to footer (after files set in :confval:`includeJSFooterlibs <page-includeJSFooterlibs>`)

Same as :ref:`includeJS <setup-page-includejs-array>` above, except that this block gets
Same as :confval:`includeJS <page-includeJS>` above, except that this block gets
included at the bottom of the page (just before the closing :html:`</body>`
tag).

Expand All @@ -477,15 +477,15 @@ Properties

Add JavaScript library files to footer.

Same as :ref:`includeJSLibs <setup-page-includejslibs-array>`, except that this block gets
Same as :confval:`includeJSLibs <page-includeJSLibs>`, except that this block gets
included at the bottom of the page (just before the closing :html:`</body>`
tag).

The optional properties from :ref:`includeJS <setup-page-includejs-array>`
The optional properties from :confval:`includeJS <page-includeJS>`
can be applied.

Currently one difference between :typoscript:`includeJS` and :typoscript:`includeJSFooterlibs` exists:
There is no :typoscript:`data`-array as optional parameter but all keys not explicitly mentioned as parameters are used as additional attributes - behaviour is the same as in :ref:`includeCSS <setup-page-includecss-array>`.
There is no :typoscript:`data`-array as optional parameter but all keys not explicitly mentioned as parameters are used as additional attributes - behaviour is the same as in :confval:`includeCSS <page-includeCSS>`.

.. code-block:: typoscript
:caption: EXT:site_package/Configuration/TypoScript/setup.typoscript
Expand All @@ -503,15 +503,15 @@ Properties

Adds JavaScript library files to head of page.

Same as :ref:`includeJSFooterlibs <setup-page-includejsfooterlibs-array>`, except that this block gets
Same as :confval:`includeJSFooterlibs <page-includeJSFooterlibs>`, except that this block gets
included inside :html:`<head>`.
tag).

The optional properties from :ref:`includeJS <setup-page-includejs-array>`
The optional properties from :confval:`includeJS <page-includeJS>`
can be applied.

Currently one difference between :typoscript:`includeJS` and :typoscript:`includeJSLibs` exists:
There is no :typoscript:`data`-array as optional parameter but all keys not explicitly mentioned as parameters are used as additional attributes - behaviour is the same as in :ref:`includeCSS <setup-page-includecss-array>`.
There is no :typoscript:`data`-array as optional parameter but all keys not explicitly mentioned as parameters are used as additional attributes - behaviour is the same as in :confval:`includeCSS <page-includeCSS>`.

.. code-block:: typoscript
:caption: EXT:site_package/Configuration/TypoScript/setup.typoscript
Expand Down
Loading