Skip to content

Commit

Permalink
Fix broken github link
Browse files Browse the repository at this point in the history
The code responsible for making the github button used the incorrect variable, which resulted in the github button not leading to the proper URL.
  • Loading branch information
steveRoll-git authored Jun 15, 2024
1 parent d30cc43 commit 5986517
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/_theme/src/11-navcontent.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
</a>
</li>
}
@if (tocModelRoot.Metadata?.TryGetValue("theme.silk.nav.github", out discordLink) ?? false)
@if (tocModelRoot.Metadata?.TryGetValue("theme.silk.nav.github", out githubLink) ?? false)
{
<li class="nav-item">
<a class="nav-link nav-link-icon" href="@githubLink" target="_blank" data-toggle="tooltip" title="Star us on Github">
Expand Down Expand Up @@ -160,4 +160,4 @@
}
</ul>
</div>
</div>
</div>

0 comments on commit 5986517

Please sign in to comment.