PageFactory (Kirby Plugin)

Robots

In the HTML <head> section it is possible to control whether search engines add given page to their index:

<meta name="robots" content="noindex,nofollow,noarchive">

PageFactory provides ways to activate this option:

1) in site/config/config.php

'pgfactory.pagefactory.options' => [
    'robots'        => true,
],

2) in a page's meta-file, e.g. content/home/z.txt

robots: true
----

3) in a page's frontmatter, e.g. home.md

robots: true
----
 

Note:
To specify your own robot string, just write that instead of true, e.g.

robots: noindex
----