How do I change the title-block.html
template partial?
#13377
Unanswered
roaldarbol
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Replacing a partial means to take over that part entirely. Regarding the "author issue", that is also discussed in several other discussions and it is about the fact that you need to change it to use the normalised variable. See: |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Alright, this sounds like I haven't gone through the docs - I promise I have. So basically the issue I have is that I'm trying to do a slight tweak to the
title-block.html
partial, but when I do, the entire formatting messes up. So I decided to check what would happen if I just input the actual default template - and it still doesn't work. Let's go with a minimal reproducible example - code here:So I made a new Quarto website project from scratch. Here's the
_quarto.yml
:In
index.qmd
, it's just the minimal:Now, if I render, the page looks correct:
So let's try to add the
title-block.html
partial. I have copied the standard template partial and saved it astitle-block.html
:And add it to
_quarto.yml
:However, now the page doesn't render correctly - notice the missing "AUTHOR" - and I really don't understand why.
As an addendum, I would like to use the
title-banner
functionality, but adding that into the mix messes the styling up even further - so all this has made me unsure whether there is a different template I should be using as a starting point instead.Beta Was this translation helpful? Give feedback.
All reactions