Skip to content

Commit

Permalink
fix: replace href="#" with equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
not-matthias committed Oct 3, 2023
1 parent 4e80d70 commit fbdf15c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/partials/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

{% if config.extra.theme == "toggle" %}
<nav>
| <a id="dark-mode-toggle" onclick="toggleTheme()" href="#">
| <a id="dark-mode-toggle" onclick="toggleTheme()" href="javascript:void(0)">
<img src="/feather/sun.svg" id="sun-icon" style="filter: invert(1);" />
<img src="/feather/moon.svg" id="moon-icon" />
</a>
Expand Down

0 comments on commit fbdf15c

Please sign in to comment.