Support specifying DOI in frontMatter (meant to be used for self-publishing; not for pre-rendered distill publishing)

This commit is contained in:
Ludwig Schubert
2019-01-03 14:42:45 -08:00
parent a272efb89c
commit d0f5824e0c
+1
View File
@@ -96,6 +96,7 @@ export function mergeFromYMLFrontmatter(target, source) {
target.authors = source.authors.map( (authorObject) => new Author(authorObject)); target.authors = source.authors.map( (authorObject) => new Author(authorObject));
target.katex = source.katex; target.katex = source.katex;
target.password = source.password; target.password = source.password;
target.doi = source.doi;
} }
export class FrontMatter { export class FrontMatter {