update,
This commit is contained in:
16
_docs/_layouts/home.html
Normal file
16
_docs/_layouts/home.html
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
layout: foam
|
||||
---
|
||||
|
||||
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
||||
|
||||
{{ content }}
|
||||
|
||||
<script>
|
||||
window.addEventListener('DOMContentLoaded', (event) => {
|
||||
var duplicateHeading = document.querySelector("h1:not(#foam)");
|
||||
if (duplicateHeading && duplicateHeading.remove) {
|
||||
duplicateHeading.remove();
|
||||
}
|
||||
});
|
||||
</script>
|
Reference in New Issue
Block a user