Update layouts/index.html

Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>
pull/6075/head
Jason Stirnaman 2025-05-19 11:57:00 -05:00 committed by GitHub
parent 1dce052e56
commit 6ee0fb495f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
- This is a regular page (not test-only) OR
- This is a test-only page BUT we're currently in the testing environment
-->
{{ if or (not .Params.test_only) (and .Params.test_only (eq site.Params.environment "testing")) }}
{{ if or (not .Params.test_only) (and .Params.test_only (in site.Params.environment (slice "testing" "development")) }}
{{ partial "header.html" . }}
{{ partial "topnav.html" . }}