{{ $requiredClass := "confkey-required" }}{{ $requiredText := "required" }} {{ with .Get "required" }} {{ if (eq . "no") }}{{ $requiredClass = "confkey-notrequired" }}{{ $requiredText = "not required" }} {{ else if (eq . "situational") }}{{ $requiredClass = "confkey-situational" }}{{ $requiredText = "situational" }} {{ end }}{{ end }}