Add Gruvbox share theme + blog system for Trilium (anonymized)
Blog generator, publish manager, share scripts, theme CSS, highlight.js bundles, font, favicon, templates and generated-reference outputs, plus an English installation guide.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<script>
|
||||
(function () {
|
||||
document.addEventListener("click", function (e) {
|
||||
if (e.defaultPrevented) return;
|
||||
var row = e.target.closest(".blog-garden-table tbody tr");
|
||||
if (!row) return;
|
||||
if (e.target.closest("a")) return;
|
||||
var link = row.querySelector("a");
|
||||
if (!link) return;
|
||||
e.preventDefault();
|
||||
window.location.href = link.getAttribute("href");
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
Reference in New Issue
Block a user