Replies: 2 comments 8 replies
-
The following source files might help you as the header is not completely made with a template, it uses TypeScript: On the other hand, the new Manuscript project type uses an HTML template that could get inspiration from as a partial rather than from within a Lua filter: |
Beta Was this translation helpful? Give feedback.
-
I'd like to be able to do this as well. I'm trying to archive all my writings on a single website. While doing so, I'd like to also add the original
But if I add it with the two instances of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I'm interested in being able to add values associated with a custom key into the document's header section through a quarto filter extension. The header section I'm interested in is where the title/subtitle/author/date information may be found, not the documents
<head></head>
section. I'm specifically hoping for something along the lines of:or
For example, with an HTML document, I would like to add to the
quarto-title-meta
class div:The output would be:
Note: If either the
author
ordate
key is missing, then thequarto-title-meta
div is not incorporated into the output.It would also be great if an HTML file could be incorporated without a quarto-specific structure. For example, I would like to incorporate an "expandable" console with a button action free from the above quarto classes:
That said, I'm looking for the hook to work in a similar manner to an HTML book + website:
Beta Was this translation helpful? Give feedback.
All reactions