From cb97df446e4dcb5848eb08722dd44656deb54cf7 Mon Sep 17 00:00:00 2001 From: chris bell Date: Thu, 13 Aug 2026 14:22:23 -0500 Subject: [PATCH] Update the way dates render on post list --- index.html | 6 ++++-- styles/main.css | 10 ++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index cf9b85c..74037a5 100644 --- a/index.html +++ b/index.html @@ -33,15 +33,17 @@

Pinned posts

@@ -65,7 +67,7 @@ posts.forEach(post => { const li = document.createElement('li'); const a = document.createElement('a'); - a.textContent = post.title + " // " + post.date; + a.textContent = post.title + '' + post.date + ''; a.href = post.type === 'html' ? 'posts/' + post.file : 'post.html?file=' + encodeURIComponent(post.file); diff --git a/styles/main.css b/styles/main.css index 56bb3e9..a3ac734 100644 --- a/styles/main.css +++ b/styles/main.css @@ -79,6 +79,16 @@ hr { content: "> "; } +i.post-link-date { + font-style: italic; + color: #6b6b65; + font-size: 11pt; + text-decoration: none; +} +i.post-link-date::before { + content: " // "; +} + /* post.html */ .back-link { display: inline-block;