brotkrueml / schema

TYPO3 extension providing an API and view helpers for schema.org markup

Home Page:https://extensions.typo3.org/extension/schema

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't embed schema markup when no_index=1

brotkrueml opened this issue · comments

When the page should not be indexed by search engines (the page field "no_index" is activated) no schema markup should be rendered. This saves some bytes.

Acceptance criteria:

  • If the "no_index" checkbox (from seo extension) is activated in the page properties, the field for selecting the web page type is hidden.
  • If the seo extension is not activated, the field for selecting the web page type is always shown.
  • If the "no_index" checkbox is not activated in the page properties, the schema markup is embedded into the web page.
  • If the "no_index" checkbox is activated in the page properties, no schema markup is embedded into the web page.
  • If the seo extension is not activated, the schema markup is always embedded into the web page.
  • The documentation is adjusted.