Meta robots tag not generated when (index, follow) is selected (which is the default option). It is, however, generated when other options, such as (index, follow, noarchive) is selected. This is an issue as google sometimes doesn't like to index pages it doesn't have explicit permission for.
Steps to reproduce
Create a new page
Export page as zip (or press preview)
inspect page source and clt+f for robots
You'll notice it's not there. You can then try this again but under site settings -> SEO -> Frontpage change meta robots to (index, follow, noarchive). Repeat the steps and you'll see that robots has a positive result and the appropriate tag is there.
Default:
<title>test</title><meta name="generator" content="Publii Open-Source CMS for Static Site">
This is because Google ignores the robots' index and follow meta tags, considering these as the defaults. So, there is no point in including them in the website code.
Operating system
OSX, Arch Linux
Publii version
0.45.2
Post editor
None
Bug description
Meta robots tag not generated when
(index, follow)
is selected (which is the default option). It is, however, generated when other options, such as (index, follow, noarchive) is selected. This is an issue as google sometimes doesn't like to index pages it doesn't have explicit permission for.Steps to reproduce
robots
You'll notice it's not there. You can then try this again but under
site settings
->SEO
->Frontpage
change meta robots to (index, follow, noarchive). Repeat the steps and you'll see thatrobots
has a positive result and the appropriate tag is there.Default:
With (index, follow, noarchive):
Relevant log output
No response