${post.date}
diff --git a/js/main.js b/js/main.js
index d117536..758ac94 100644
--- a/js/main.js
+++ b/js/main.js
@@ -800,7 +800,7 @@
${post.excerpt || (post.content || '').substring(0, 120) + '...'}
`).join('');
diff --git a/js/post.js b/js/post.js
index 0ec109c..06f71d7 100644
--- a/js/post.js
+++ b/js/post.js
@@ -227,7 +227,7 @@
if (idx > 0) {
const prev = sorted[idx - 1];
- navHtml += `
+ navHtml += `
← NEWER
${prev.title}
`;
@@ -235,13 +235,13 @@
if (idx < sorted.length - 1) {
const next = sorted[idx + 1];
- navHtml += `
+ navHtml += `
OLDER →
${next.title}
`;
}
- navHtml += `
+ navHtml += `
⟐ ALL TRANSMISSIONS
`;
@@ -250,8 +250,15 @@
// ─── Load Post ───
async function loadPost() {
- const params = new URLSearchParams(window.location.search);
- const slug = params.get('slug');
+ // Support both /blog/post/slug and ?slug=x formats
+ let slug = null;
+ const pathMatch = window.location.pathname.match(/\/blog\/post\/([^\/]+)/);
+ if (pathMatch) {
+ slug = decodeURIComponent(pathMatch[1]);
+ } else {
+ const params = new URLSearchParams(window.location.search);
+ slug = params.get('slug');
+ }
if (!slug) {
document.getElementById('postContent').innerHTML =