Replies: 1 comment 3 replies
-
Unfortunately, we currently assume that the title for a document is a set of inlines (not blocks, as Divs are). As a result, when rendering, we run into errors as you see attempting to render titles as inlines when the block elements are present. This makes some sense when you consider that the title for the page might appear places like meta tags (twitter, open graph) or in RSS feeds where block type elements in titles wouldn't make sense. I wasn't able to find a great way to conditionalize this while using the banner style title block, unfortunately. This sort of gets you where you're going: ---
categories: News
author: "Iury Simoes-Sousa"
date: "2023-02-20"
---
::: {.content-visible when-profile="english"}
# Trying Quarto
This is the first post in a Quarto blog. Welcome!

I plan to post here my thoughts about Science, Technology and Music.
:::
::: {.content-visible when-profile="portuguese"}
# Testando o Quarto
Este é o meu primeiro post no meu blog usando Quarto. Seja bem vindo!

Eu pretendo postar aqui as minhas idéias e tutoriais sobre ciência, tecnologia e música.
::: But like I said this won't use the banner style title blocks... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to write a multilingual web blog using Quarto. I think this software is amazing, but I am having trouble in defining different titles and categories for the blog posts depending on the language. I am using Quarto 1.2.1 CLI.
The post is
which returns the following for english
and the blog page is
Well, if I use what is suggested in #2822
The post will be:
Which returns the following for english:
and it messes up with the Blog page
Beta Was this translation helpful? Give feedback.
All reactions