Add link to post data

This commit is contained in:
LordMathis 2017-11-07 18:00:51 +01:00
parent e642c81472
commit 8121a1917b
1 changed files with 1 additions and 0 deletions

View File

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