istio.io icon indicating copy to clipboard operation
istio.io copied to clipboard

Add conditional noindex meta tag for preliminary and archive

Open milinddethe15 opened this issue 1 year ago • 3 comments

Description

#15458

Added noindex meta tag, for preliminary and upcoming archive, by conditional logic in < head > tag of /layouts/_default/baseof.html

For preliminary.istio.io :: set .Site.Data.args.preliminary = true For archive.istio.io / in future, when creating snapshot of current version :: set .Site.Data.args.archive = true

Value of args are set here: https://github.com/istio/istio.io/blob/1a036575a64fbf4eabe6f94eae49639fada3575d/data/args.yml#L19-L20

Reviewers

  • [ ] Ambient
  • [x] Docs
  • [ ] Installation
  • [ ] Networking
  • [ ] Performance and Scalability
  • [ ] Extensions and Telemetry
  • [ ] Security
  • [ ] Test and Release
  • [ ] User Experience
  • [ ] Developer Infrastructure
  • [ ] Localization/Translation

milinddethe15 avatar Aug 21 '24 14:08 milinddethe15