From 7bc9c6d75ad05fcb50f7d10107c4f457f40169aa Mon Sep 17 00:00:00 2001 From: jultty Date: Sun, 19 May 2024 19:17:22 -0300 Subject: [PATCH] Fix post URL resolution --- assets/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/main.js b/assets/js/main.js index 163b399..1884992 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -6,7 +6,7 @@ document.addEventListener("DOMContentLoaded", function() { const item = document.createElement("li") const anchor = document.createElement("a") anchor.innerText = post.title - anchor.href = 'posts/html/' + post.slug + '.md.html' + anchor.href = 'posts/' + post.slug + '.html' item.appendChild(anchor) post_list.appendChild(item) })