From 5b4f1af3cc0186e2ab2ab39c97ae777396da8079 Mon Sep 17 00:00:00 2001 From: "lina.wolf" Date: Thu, 11 Jan 2024 16:08:01 +0100 Subject: [PATCH] [DOCS] Fix all warnings --- .../Tutorials/BestPractice/BreadcrumbMenu.rst | 1 - .../Tutorials/BestPractice/Seo/Index.rst | 2 +- Documentation/Tutorials/Templates/Index.rst | 2 +- .../UsersManual/Records/Tag/Index.rst | 129 +++++++++--------- 4 files changed, 64 insertions(+), 70 deletions(-) diff --git a/Documentation/Tutorials/BestPractice/BreadcrumbMenu.rst b/Documentation/Tutorials/BestPractice/BreadcrumbMenu.rst index 63947cbac4..58ca5a4166 100644 --- a/Documentation/Tutorials/BestPractice/BreadcrumbMenu.rst +++ b/Documentation/Tutorials/BestPractice/BreadcrumbMenu.rst @@ -1,4 +1,3 @@ -FlexForm .. _breadcrumb: =============== diff --git a/Documentation/Tutorials/BestPractice/Seo/Index.rst b/Documentation/Tutorials/BestPractice/Seo/Index.rst index 78a2a66f0a..5c40273f35 100644 --- a/Documentation/Tutorials/BestPractice/Seo/Index.rst +++ b/Documentation/Tutorials/BestPractice/Seo/Index.rst @@ -259,7 +259,7 @@ If using languages with the language mode `strict`, the hreflang tag must only b .. note:: This feature is only supported by TYPO3 10 and up, described - in :ref:`TYPO3 Explained, ModifyHrefLangTagsEvent`. + in :ref:`TYPO3 Explained, ModifyHrefLangTagsEvent `. EXT:news reduces the rendered hreflang attributes by using this event and checking the availability of the records. diff --git a/Documentation/Tutorials/Templates/Index.rst b/Documentation/Tutorials/Templates/Index.rst index 85306543ec..a14a597e13 100755 --- a/Documentation/Tutorials/Templates/Index.rst +++ b/Documentation/Tutorials/Templates/Index.rst @@ -74,7 +74,7 @@ Templates .. rst-class:: card-header h3 - .. rubric:: :ref:`Render content elements` + .. rubric:: :ref:`Render content elements ` .. container:: card-body diff --git a/Documentation/UsersManual/Records/Tag/Index.rst b/Documentation/UsersManual/Records/Tag/Index.rst index 2fe5faed4c..b1fa6b6ca5 100755 --- a/Documentation/UsersManual/Records/Tag/Index.rst +++ b/Documentation/UsersManual/Records/Tag/Index.rst @@ -17,70 +17,65 @@ or :ref:`List ` module. Properties ========== -.. t3-field-list-table:: - :header-rows: 1 - - - :Field: - Title - :Description: - Title of the tag. This field is required! - - - :Field: - Hidden - :Description: - Hide a tag. - - - :Field: - SEO: -Tag - :Description: - Can be used to set a special <title>-Tag for category pages. - This must be enabled in the template: - - .. code-block:: html - - <f:if condition="{tags.0.title}"> - <n:titleTag> - <f:format.htmlentitiesDecode>{tags.0.title}</f:format.htmlentitiesDecode> - </n:titleTag> - </f:if> - - - :Field: - SEO: Meta-Description - :Description: - Can be used to set a special meta description for category pages. - This must be enabled in the template: - - .. code-block:: html - - <f:if condition="{tags.0.description}"> - <n:metaTag name="description" content="{tags.0.description -> f:format.stripTags()}" /> - </f:if> - - - :Field: - SEO: Headline - :Description: - Can be used to set a special headline for category pages, e.g. for H1 tag - This must be enabled in the template: - - .. code-block:: html - - <f:if condition="{tags.0.headline}"> - <f:then> - <h1>{tags.0.headline}</h1> - </f:then> - <f:else> - <h1>News Category</h1> - </f:else> - </f:if> - - - :Field: - SEO: Text - :Description: - Can be used to add additional content text for category pages - This must be enabled in the template: - - .. code-block:: html - - <f:if condition="{tags.0.text}"> - <f:format.html>{tags.0.text}</f:format.html> - </f:if> +.. confval:: Title + :Required: true + + Title of the tag. + +.. confval:: Hidden + + Hide a tag. + +.. confval:: SEO: <title>-Tag + + Can be used to set a special <title>-Tag for category pages. + This must be enabled in the template: + + .. code-block:: html + + <f:if condition="{tags.0.title}"> + <n:titleTag> + <f:format.htmlentitiesDecode>{tags.0.title}</f:format.htmlentitiesDecode> + </n:titleTag> + </f:if> + + +.. confval:: SEO: Meta-Description + + Can be used to set a special meta description for category pages. + This must be enabled in the template: + + .. code-block:: html + + <f:if condition="{tags.0.description}"> + <n:metaTag name="description" content="{tags.0.description -> f:format.stripTags()}" /> + </f:if> + + +.. confval:: SEO: Headline + + Can be used to set a special headline for category pages, e.g. for H1 tag + This must be enabled in the template: + + .. code-block:: html + + <f:if condition="{tags.0.headline}"> + <f:then> + <h1>{tags.0.headline}</h1> + </f:then> + <f:else> + <h1>News Category</h1> + </f:else> + </f:if> + + +.. confval:: SEO: Text + + Can be used to add additional content text for category pages + This must be enabled in the template: + + .. code-block:: html + + <f:if condition="{tags.0.text}"> + <f:format.html>{tags.0.text}</f:format.html> + </f:if>