Noindex taxonomy paginated pages

layouts/_default/baseof.html

{{ $robots := `
  <meta name="robots" content="index,follow">
  <meta name="bingbot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1">
  <meta name="googlebot" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1">
`}}

{{ with .Paginator }}
  {{ if ne .PageNumber 1 }}
    {{ $robots = `<meta name="robots" content="noindex, follow">` }}
  {{ end }}
{{ end }}

{{ $robots | safeHTML }}

EDIT 2025-08-15T06:52:22-07:00

The best way to approach this is described in topic #50340.