Skip to content

Commit

Permalink
Update archives.js
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueBoy247 authored Oct 30, 2024
1 parent 5f23fd8 commit e1e1ef9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/archives.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ function listPostsBlock(startNum, endNum) {

for (let i = startNum; i < endNum && i < fileList.length; i++) {
const post = fileList[i];
const postUrl = `/blog/archives/${post.id}/index.html`;
const postUrl = `/blog/archives/${post.id}`;

$.ajax({
url: postUrl,
url: `${postUrl}/index.html`,
async: false,
success: function (postContent) {
const doc = new DOMParser().parseFromString(postContent, 'text/html');
Expand Down

0 comments on commit e1e1ef9

Please sign in to comment.