This commit is contained in:
parent
1f1d0b66da
commit
6e785284f2
3 changed files with 2 additions and 4 deletions
1
index.ts
1
index.ts
|
|
@ -66,7 +66,6 @@ await Promise.all(posts.map(async (post) => {
|
|||
.replaceAll("[[TITLE]]", `${metadata.title} - ${frontmatter.title}`)
|
||||
.replaceAll("[[POST_TITLE]]", frontmatter.title)
|
||||
.replaceAll("[[DATE]]", frontmatter.date.toDateString())
|
||||
.replaceAll("[[REVISIONS]]", `${metadata.revisions}/${post}`)
|
||||
.replaceAll("[[DESC]]", frontmatter.desc)
|
||||
.replace("[[CONTENT]]", html);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue