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;