diff --git a/generate/parseMarkdown.ts b/generate/parseMarkdown.ts index 7f812e2..bfdaed6 100644 --- a/generate/parseMarkdown.ts +++ b/generate/parseMarkdown.ts @@ -74,6 +74,12 @@ export default function parseMarkdown( throw Error(`Date is not defined in file: ${path}`) } + if (mode === ParseMode.PORTFOLIO) { + if (frontMatter.overview) { + frontMatter.overview = md.render(frontMatter.overview) + } + } + // // work with rendered DOM // diff --git a/markdown/portfolio/future projects.md b/markdown/portfolio/future projects.md index c4efb61..29464f2 100644 --- a/markdown/portfolio/future projects.md +++ b/markdown/portfolio/future projects.md @@ -1,6 +1,6 @@ --- name: future projects -overview: Projects I'll work on in the future +overview: Next big projects ^TM^ image: /img/icon.png ---