{{metaRobots}} helper

Helper for generating robots meta tag. The value comes from the SEO settings of the current page. The helper outputs nothing for index, follow or when the page has a custom canonical URL, and it outputs noindex, follow on paginated listings if you enable that option in Site Settings.

Syntax:

{{metaRobots}}

Example:

<meta name="robots" content="noindex, follow" />

Should be used in the <head> section of the website.

Create your first website with Publii

Join thousands of creators who chose independence. Create content locally and publish lightning-fast, secure websites on your own terms.

Download Publii

Free and open source. Windows, macOS and Linux.

Read the getting started guide