feat: remove previous/next article navigation for cleaner layout; simplify metadata display

This commit is contained in:
interlope committed 2026-06-02 23:49:14 +02:00
1 parent 72a45c1b7f
commit 0efbb4b2b5
3 files changed
+12 -94

No files matched your search

+7 -2
View File
@@ -702,8 +702,13 @@
});
}
var pres = document.querySelectorAll('.content pre, .tab-panel pre');
Array.prototype.forEach.call(pres, enhance);
// Regular code blocks only — the tabbed component (.tab-group) has its
// own frame, so adding a header inside each panel would double-frame it.
var pres = document.querySelectorAll('.content pre');
Array.prototype.forEach.call(pres, function (pre) {
if (pre.closest && pre.closest('.tab-group')) return;
enhance(pre);
});
})();
/* --------------------------------------------------------