You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: layouts/partials/get-feature-flags.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
{{- $featureName := . | default "" -}}
2
-
{{- $param := (string (index site.Params $featureName)) | default "false" -}} <!-- Added default in case param does not exist, we should default to a value instead of nil -->
2
+
{{- $param := (string (index site.Params.featureflags $featureName)) | default "false" -}} <!-- Added default in case param does not exist, we should default to a value instead of nil -->
0 commit comments