Skip to content

Commit

Permalink
Add changes for Layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Lester3 committed Dec 4, 2024
1 parent 6cb7928 commit 46d26e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions EssentialCSharp.Web/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -283,19 +283,19 @@
'toc-content' : item.level==0,
'nested' : item.level>
0,

Check failure on line 285 in EssentialCSharp.Web/Views/Shared/_Layout.cshtml

View workflow job for this annotation

GitHub Actions / build-and-test

'SiteMapping' does not contain a definition for 'Key' and no accessible extension method 'Key' accepting a first argument of type 'SiteMapping' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 285 in EssentialCSharp.Web/Views/Shared/_Layout.cshtml

View workflow job for this annotation

GitHub Actions / build-and-test

'SiteMapping' does not contain a definition for 'Key' and no accessible extension method 'Key' accepting a first argument of type 'SiteMapping' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 285 in EssentialCSharp.Web/Views/Shared/_Layout.cshtml

View workflow job for this annotation

GitHub Actions / Analyze C# (CodeQL) (csharp)

'SiteMapping' does not contain a definition for 'Key' and no accessible extension method 'Key' accepting a first argument of type 'SiteMapping' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 285 in EssentialCSharp.Web/Views/Shared/_Layout.cshtml

View workflow job for this annotation

GitHub Actions / Analyze C# (CodeQL) (csharp)

'SiteMapping' does not contain a definition for 'Key' and no accessible extension method 'Key' accepting a first argument of type 'SiteMapping' could be found (are you missing a using directive or an assembly reference?)
'current-section': currentPage.some(p => p.key == item.key),
'current-section': currentPage.some(p => JSON.stringify(p.keys) == JSON.stringify(item.keys)),
}" :href="item.href">{{item.title}}
</summary>
<ul>
<li :class="{

Check failure on line 290 in EssentialCSharp.Web/Views/Shared/_Layout.cshtml

View workflow job for this annotation

GitHub Actions / build-and-test

'SiteMapping' does not contain a definition for 'Key' and no accessible extension method 'Key' accepting a first argument of type 'SiteMapping' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 290 in EssentialCSharp.Web/Views/Shared/_Layout.cshtml

View workflow job for this annotation

GitHub Actions / Analyze C# (CodeQL) (csharp)

'SiteMapping' does not contain a definition for 'Key' and no accessible extension method 'Key' accepting a first argument of type 'SiteMapping' could be found (are you missing a using directive or an assembly reference?)
['indent-level-' + (item.level+1)]: true,

Check failure on line 291 in EssentialCSharp.Web/Views/Shared/_Layout.cshtml

View workflow job for this annotation

GitHub Actions / build-and-test

'SiteMapping' does not contain a definition for 'Key' and no accessible extension method 'Key' accepting a first argument of type 'SiteMapping' could be found (are you missing a using directive or an assembly reference?)

Check failure on line 291 in EssentialCSharp.Web/Views/Shared/_Layout.cshtml

View workflow job for this annotation

GitHub Actions / Analyze C# (CodeQL) (csharp)

'SiteMapping' does not contain a definition for 'Key' and no accessible extension method 'Key' accepting a first argument of type 'SiteMapping' could be found (are you missing a using directive or an assembly reference?)
'current-li' : currentPage.some(p=>
p.key == item.key) && !currentPage.some(p => p.level > item.level),
JSON.stringify(p.keys) == JSON.stringify(item.keys)) && !currentPage.some(p => p.level > item.level),
}" >
<a class="section-link" :class="{
['indent-level-' + (item.level+1)]: true,
'current-section' : currentPage.some(p=>
p.key == item.key) && !currentPage.some(p => p.level > item.level),
JSON.stringify(p.keys) == JSON.stringify(item.keys)) && !currentPage.some(p => p.level > item.level),
}" :href="item.href"> Introduction
</a>
</li>
Expand All @@ -307,7 +307,7 @@
<li v-else :class="{
['indent-level-' + (item.level+1)]: true,
'current-li' : currentPage.some(p=>
p.key == item.key) && !currentPage.some(p => p.level > item.level),
JSON.stringify(p.keys) == JSON.stringify(item.keys)) && !currentPage.some(p => p.level > item.level),
}" >
<a class="section-link" :class="{
['indent-level-' + (item.level)]: true,
Expand Down

0 comments on commit 46d26e3

Please sign in to comment.