istio.io
istio.io copied to clipboard
Add conditional noindex meta tag for preliminary and archive
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