I want that search engines do not crawl /author/ and /page/[x]/ pages. In order to do so,following this link Add No Index meta tags to author pages, I have used {{{block "header"}}} before </head> tag and the following code in author.hbs and page.hbs
Thanks. It does not work. I used it in index.hbs, but stil there is no meta robots element inside <head>. I think the problem is with the context. If I do not use the #unless block, it is injected.
Just to be clear, with /page/[X]/, I mean https://example.com/page/2/.
Hello!
Thank you for answers, it helped me a lot))
Please help me to add to autor, tag pages ends with /page/2/.
Example https://example.com/author/valerie/page/2/.
I tried
`{{^is "author/"slug}}