mirror of
https://github.com/foambubble/foam.git
synced 2026-04-24 03:01:01 -04:00
26 lines
581 B
HTML
26 lines
581 B
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
|
|
|
{{ content }}
|
|
|
|
<script type="text/javascript">
|
|
// Hack: Replace page-link with "Page Title"
|
|
document
|
|
.querySelectorAll(".markdown-body a[title]:not([href^=http])")
|
|
.forEach((a) => {
|
|
a.innerText = a.title;
|
|
});
|
|
|
|
document.querySelectorAll(".github-only").forEach((el) => {
|
|
el.remove();
|
|
});
|
|
|
|
var duplicateHeading = document.querySelector("h1:not(#foam)");
|
|
if (duplicateHeading && duplicateHeading.remove) {
|
|
duplicateHeading.remove();
|
|
}
|
|
</script>
|