-
IIUC posts rendered as website pages have titles always in the format: E.g. for my personal website, social preview cards render like so: But I'd prefer if the |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 5 replies
-
You are referring to Twitter Card or Open Graph based social card, right ? Did you already customized the values per our doc ? https://quarto.org/docs/reference/projects/websites.html#social By default the title of the page will be used, but you can overwrite using those configuration. |
Beta Was this translation helpful? Give feedback.
-
I’m referring to the same title that seems to be used for the HTML web page and the Twitter and open graph cards. I could override each of those for every single post but I’d prefer if it were possible to change the string template once e.g in my |
Beta Was this translation helpful? Give feedback.
-
I think what you are looking for is the metadata configuration. By default
So you could try set a You cannot change the string template directly to something based on other meta for now |
Beta Was this translation helpful? Give feedback.
-
Related to #1736 in some aspects. In @cderv about |
Beta Was this translation helpful? Give feedback.
-
Good catch for the issue. It seems it is not working as I expected or as it should... @mcanouil workaround is a good one for your need @seeM, I believe it answers your problem, isn't it ? |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
-
Thanks, this works perfectly! 😄 |
Beta Was this translation helpful? Give feedback.
Related to #1736 in some aspects.
In
_quarto.yml
, you can addpagetitle: "{{< meta title >}}"
to overwritepagetitle
and remove the website title prefix.@cderv about
title-prefix
there is currently an issue, see #5196.PS: Maybe worth to transfer this issue to "Discussions Q&A".