From d0f5824e0c80098b9f166f77ae069725a34aab69 Mon Sep 17 00:00:00 2001 From: Ludwig Schubert Date: Thu, 3 Jan 2019 14:42:45 -0800 Subject: [PATCH] Support specifying DOI in frontMatter (meant to be used for self-publishing; not for pre-rendered distill publishing) --- src/front-matter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/front-matter.js b/src/front-matter.js index e256a5e..2a22c6b 100644 --- a/src/front-matter.js +++ b/src/front-matter.js @@ -96,6 +96,7 @@ export function mergeFromYMLFrontmatter(target, source) { target.authors = source.authors.map( (authorObject) => new Author(authorObject)); target.katex = source.katex; target.password = source.password; + target.doi = source.doi; } export class FrontMatter {