Skip to content

Commit

Permalink
Rm H1 in home page
Browse files Browse the repository at this point in the history
  • Loading branch information
patnr committed Nov 1, 2024
1 parent 9a6bee3 commit f39b33d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 2 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ hide:
- navigation
---

<h1 style="display: none;">Home</h1>

--8<-- "README.md"
7 changes: 0 additions & 7 deletions docs/javascripts/extra.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,3 @@ document.addEventListener("DOMContentLoaded", function() {
document.body.classList.add('document-is-notebook');
}
});

// Hide "Home" h1
document.querySelectorAll('h1').forEach(function(h1) {
if (h1.textContent.trim() === "Home") {
h1.style.display = 'none';
}
});

0 comments on commit f39b33d

Please sign in to comment.