diff --git a/src/utils/compiler.js b/src/utils/compiler.js index b1368b8..e4a9802 100644 --- a/src/utils/compiler.js +++ b/src/utils/compiler.js @@ -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`);