{% set inheritedFrom = seomatic.helper.findInheritableBundle(parentBundles, "robots") %} {% set hasInheritableValues = inheritedFrom is not null %} {% set additionalVars = { 'isInherited': seomatic.helper.isInherited(metaGlobalVars, "robots"), 'fieldLabel': "Robots"|t("seomatic"), 'settingName': 'robots' } %} {% do view.registerTranslations('seomatic', [ "There are no restrictions for indexing or serving. (default)", "Do not show this page, media, or resource in search results.", "Do not follow the links on this page.", "Equivalent to noindex, nofollow.", "Do not show a cached link in search results.", "Do not show a sitelinks search box in the search results for this page.", "Do not show a text snippet or video preview in the search results for this page.", "Google is allowed to index the content of a page if it's embedded in another page through iframes or similar HTML tags, in spite of a noindex directive.", "No snippet is to be shown. Equivalent to nosnippet.", "Google will choose the snippet length that it believes is most effective. (default)", "No image preview is to be shown.", "A default image preview may be shown. (default)", "A larger image preview, up to the width of the viewport, may be shown.", "At most, a static image may be used, in accordance to the max-image-preview setting.", "There is no limit. (default)", "Don't offer translation of this page in search results.", "Do not index images on this page.", ]) %} {% embed "seomatic/settings/_includes/fields/_inheritableField.twig" with additionalVars %} {% macro robotsField(metaGlobalVars, pageContex, suffix) %} {% set disabled = suffix|length > 0 %}