mirror of
https://github.com/wassname/template.git
synced 2026-06-27 18:07:31 +08:00
Support specifying DOI in frontMatter (meant to be used for self-publishing; not for pre-rendered distill publishing)
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user