### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/4455

<div type='discussions-op-text'>

<sup>Originally posted by **iuryt** February 21, 2023</sup>
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

```markdown
---
title: Trying Quarto
categories: News
author: "Iury Simoes-Sousa"
date: "2023-02-20"
---


::: {.content-visible when-profile="english"}

This is the first post in a Quarto blog. Welcome!

![](https://quarto.org/quarto.png)

I plan to post here my thoughts about Science, Technology and Music.
:::


::: {.content-visible when-profile="portuguese"}

Este é o meu primeiro post no meu blog usando Quarto. Seja bem vindo!

![](https://quarto.org/quarto.png)

Eu pretendo postar aqui as minhas idéias e tutoriais sobre ciência, tecnologia e música.

:::
```

which returns the following for english

![image](https://user-images.githubusercontent.com/5797727/220523193-06bbe5c3-832c-485e-81c2-e25cbbc4b25f.png)


and the blog page is

```markdown
---
title: "My Blog"
listing:
  contents: posts
  sort: "date desc"
  type: default
  categories: true
  sort-ui: false
  filter-ui: false
page-layout: full
title-block-banner: true
---
```

![image](https://user-images.githubusercontent.com/5797727/220523318-642c1557-942b-4506-8fbe-4bd26fb89d0d.png)

Well, if I use what is suggested in #2822

The post will be:

```markdown
---
title:  |
    ::: {.content-visible when-profile="english"}
    Trying Quarto
    :::
    ::: {.content-visible when-profile="portuguese"}
    Testando o Quarto
    :::
categories: News
author: "Iury Simoes-Sousa"
date: "2023-02-20"
---


::: {.content-visible when-profile="english"}

This is the first post in a Quarto blog. Welcome!

![](https://quarto.org/quarto.png)

I plan to post here my thoughts about Science, Technology and Music.
:::


::: {.content-visible when-profile="portuguese"}

Este é o meu primeiro post no meu blog usando Quarto. Seja bem vindo!

![](https://quarto.org/quarto.png)

Eu pretendo postar aqui as minhas idéias e tutoriais sobre ciência, tecnologia e música.

:::
```

Which returns the following for english:

![image](https://user-images.githubusercontent.com/5797727/220522430-709f80bf-ea2d-4270-bf35-9cc863ec6a74.png)


and it messes up with the Blog page

![image](https://user-images.githubusercontent.com/5797727/220522657-221924de-8cfc-4a17-902b-d202b3fbeac1.png)
</div>
2023-02-23T21:02:22Z
iuryt
enhancement
Future
open
Conditional metada for different profiles on a website
https://github.com/quarto-dev/quarto-cli/issues/4516