From ea3a0ba3b0c453d7a62320205727f72915b8e714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20M=C3=BCller?= <2566282+brotkrueml@users.noreply.github.com> Date: Sat, 21 Sep 2024 20:48:46 +0200 Subject: [PATCH] [TASK] Add missing page.meta attribute sub-property The more generic `attribute` sub-property can be used to set the attribute to any arbitrary value. An example is already available for the Open Graph meta tags. Therefore, it is more generic than the `httpEquivalent` sub-property. Releases: main, 12.4 --- Documentation/TopLevelObjects/Page/Index.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/TopLevelObjects/Page/Index.rst b/Documentation/TopLevelObjects/Page/Index.rst index 8bcdccfbd..49c4c658c 100644 --- a/Documentation/TopLevelObjects/Page/Index.rst +++ b/Documentation/TopLevelObjects/Page/Index.rst @@ -473,7 +473,7 @@ Properties The optional properties from :ref:`includeJS ` can be applied. - Currently one difference between :typoscript:`includeJS` and :typoscript:`includeJSFooterlibs` exists: + 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 `. .. code-block:: typoscript @@ -499,7 +499,7 @@ Properties The optional properties from :ref:`includeJS ` can be applied. - Currently one difference between :typoscript:`includeJS` and :typoscript:`includeJSLibs` exists: + 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 `. .. code-block:: typoscript @@ -591,9 +591,14 @@ Properties For each key the following sub-properties are available: + `attribute` + Sets the attribute for the meta tag. If it is not defined, the + default :html:`name` is used. + `httpEquivalent` If set to 1, the :html:`http-equiv` attribute is used in the meta tag instead of the :html:`name` attribute. Default: 0. + `replace` If set to 1, the tag will replace the one set earlier by a plugin. If set to 0 (default), the meta tag generated by the plugin will be used. If