### Bug description

I have a Quarto website a single page with the following `_quarto.yml`:

```yaml
project:
  type: website

website:
  title: "test-website"
  navbar:
    left:
      - index.qmd

format: html
```

And the following `index.qmd`:

````markdown
This is page without a title.

And a code chunk with option with `message: false`.

```{r}
#| message: false
#| echo: fenced

library(tidyverse)
```
````

The resulting website looks like the following (note the text on the navbar):

<img width="976" alt="Screenshot 2023-02-24 at 6 21 12 PM" src="https://user-images.githubusercontent.com/5965649/221319717-953b6caf-70c3-4e8b-9790-dc5fd12e8008.png">

But also it is a little silly to include a page on the navbar without a way to click on it. So one could imagine updating `_quarto.yml` to the following:

```yaml
project:
  type: website

website:
  title: "test-website"
  navbar: true

format: html
```

Unfortunately, this doesn't result in a page with a navbar:

<img width="1020" alt="Screenshot 2023-02-24 at 6 30 26 PM" src="https://user-images.githubusercontent.com/5965649/221320576-fa9aefa7-b16c-43e1-837f-9b3bde77a9ac.png">

The following `_quarto.yml` works:

```yaml
project:
  type: website

website:
  title: "test-website"
  navbar:
    title: "test-website"

format: html
```

And results in the following site:

<img width="1020" alt="Screenshot 2023-02-24 at 6 31 34 PM" src="https://user-images.githubusercontent.com/5965649/221320708-d1bd4bb3-bc6d-4e09-8141-a3a9849f291d.png">

In summary, I think the issues are:

- The chunk option shouldn't be picked up to be placed in the navbar.
- `navbar: true` should work to give a page with a navbar.
- If a title is needed for `navbar: true` to work, and a `title` is provided for `website`, navbar should inherit it.

This is on Mac OS 13.0.1 with Quarto 1.3.220.

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [ ] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
dragonstyle
2023-02-24T23:34:36Z
mine-cetinkaya-rundel
bug
v1.3
closed
Title-less web page inherits code chunk option as text on navbar
https://github.com/quarto-dev/quarto-cli/issues/4528