Fix post URL resolution
This commit is contained in:
parent
0076b63ee8
commit
7bc9c6d75a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue