Skip to content

Commit

Permalink
add exception to 4th level (#21087)
Browse files Browse the repository at this point in the history
* add exception to 4th level

* remove id

* add another
  • Loading branch information
davidejones authored Dec 18, 2023
1 parent df7d9b2 commit c5064ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/nav/left-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
</a>
{{/* 4th level, hide */}}
{{ if .HasChildren }}
<ul class="list-unstyled sub-menu {{ if not (in (slice "observability_pipelines_reference_processing_language" "observability_pipelines_vector_configuration") .Identifier) }}d-none{{ end }}">
<ul class="list-unstyled sub-menu {{ if not (in (slice "automatic_instrumentation" "custom_instrumentation" "observability_pipelines_reference_processing_language" "observability_pipelines_vector_configuration") .Identifier) }}d-none{{ end }}">
{{ range .Children }}
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }} {{ if (not (or (in $excludeAsyc .Identifier) (and (in .URL "api/") (not (in .URL "_api/")) (not (in .URL "-api/"))))) }} js-load {{ end }}" >
{{ $url_without_anchor = (index (split .URL "#") 0) }}
Expand Down

0 comments on commit c5064ce

Please sign in to comment.