Closed ctargett closed 7 years ago
If we figure out a way to solve issue #25 and issue #26 via variables passed to jekyll/asciidoctor at runtime (presumably from ant), we should be able to do the same thing with the current date as a string.
I was thinking we could just add it to the theme, but it looks like there are only these options for a header or footer:
Actually...since the tree for the PDF is constructed at the time the PDF is generated, we could just add something to that process that adds an asciidoctor attribute to the top of the document (like :publication-date: 5 Nov 2016
), then in the theme say we want that attribute printed in the footer, or wherever it works (header, title page, wherever.).
I think it would be helpful for the PDF to include the date it was created, either named a "publication date" or a "created date".
Ideally this would be in the footer, depending on how it works with page numbers and the copyright statement.