Fix wrong link in rendered posts

This commit is contained in:
LordMathis 2018-06-14 15:49:23 +02:00
parent 96ddc6ef72
commit 188e38ad9d
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ function compilePost(filepath, data, fileData, callback) {
filename: metadata.filename,
title: frontMatter.attributes.title,
summary: frontMatter.attributes.summary,
link: config.baseURL + '/blog/post/' + metadata.filename
link: config.baseURL + '/post/' + metadata.filename
};
const renderedpath = path.join(process.cwd(), config.renderPath, `${metadata.filename}.html`);