Repository navigation
v0.147.0
Meta.robots: a per-response <meta name="robots"> (#972)
New, nothing to migrate. See Views & Layouts → Robots.
Meta.robots("noindex, nofollow")renders<meta name="robots" content="noindex, nofollow">from<Head />. The last call wins.- On a client-side navigation the tag follows the new page: replaced when it sets one, removed when it sets none. A
<meta name="robots">your layout renders itself is left alone. - It is a tag in the HTML only. For crawlers that read headers only, also send
X-Robots-Tag(req.ctx().setHeaders("X-Robots-Tag", "noindex")).