Better way to include DOI metadata in HTML template
Currently release-notes.md
includes
header-includes:
<meta name="DC.Identifier" scheme="doi" content="{{ doi }}">
in its YAML header. But this is then just copied to the HTML template in $header-include$
, and also to the LaTeX template for PDF output.
There must be a better way of doing this. I tried having a doi
YAML header in release-notes.md
(equal to {{ doi }}
so that it is filled by Jinja2), but $doi$
in the HTML template remains empty.