File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Elastic.Markdown/Slices/Layout Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 14
14
< li class = " flex group/li @(item.Depth == topLevelFile ? " font - semibold py - 8 not - last : border - b - 1 border - grey - 20 " : " ml - 5 lg : ml - 4 mt - 4 lg : mt - 3 " )" >
15
15
< a
16
16
href = " @f.Url"
17
- @Htmx .GetHxAttributes (f .Url , ! Model .IsPrimaryNavEnabled && f .RootNavigation .Id == Model .RootNavigationId )
17
+ @Htmx .GetHxAttributes (f .Url , Model .IsPrimaryNavEnabled && f .RootNavigation .Id == Model .RootNavigationId || true )
18
18
class = " sidebar-link group-[.current]/li:text-blue-elastic!"
19
19
id = " page-@id"
20
20
>
48
48
</label >
49
49
<a
50
50
href =" @(g.Index?.Url ?? " " )"
51
- @Htmx.GetHxAttributes(g.Index?.Url ?? " " , ! Model.IsPrimaryNavEnabled || g.NavigationRootId == Model.RootNavigationId)
51
+ @Htmx.GetHxAttributes(g.Index?.Url ?? " " , Model.IsPrimaryNavEnabled && g.NavigationRootId == Model.RootNavigationId || true )
52
52
id =" page-@(g.Index?.Id ?? id)"
53
53
class =" sidebar-link @(g.Depth == topLevelGroup ? " font-semibold font-sans mb-1 text-base " : " " )" >
54
54
@( g .Index ? .NavigationTitle ?? " Untitled" )
You can’t perform that action at this time.
0 commit comments