From e142ef542bcb370076c2a4f3a5b96cd4a2c30178 Mon Sep 17 00:00:00 2001 From: chris bell Date: Thu, 13 Aug 2026 14:37:12 -0500 Subject: [PATCH] fix the link date again, hopefully --- index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 74037a5..325112f 100644 --- a/index.html +++ b/index.html @@ -67,11 +67,15 @@ posts.forEach(post => { const li = document.createElement('li'); const a = document.createElement('a'); - a.textContent = post.title + '' + post.date + ''; + const i = document.createElement('i'); + a.textContent = post.title; + i.textContent = post.date; a.href = post.type === 'html' ? 'posts/' + post.file : 'post.html?file=' + encodeURIComponent(post.file); li.appendChild(a); + a.appendChild(i); + i.classList.add("post-link-date"); list.appendChild(li); }); } catch (err) {