I have pagination in place and the pages are generated as follows…
domain/page/2/index.html
domain/page/3/index.html
I am trying to add a meta tag into those files. Could someone please point me in the right direction? Is there a specific string I can use in an if statement? I have tried using the following but it doesn’t seem to work.
{{ if eq .Data.Pages .Kind "page" }}<meta name="robots" content="noindex" />{{ end }}