Reputation: 574
Given a _quarto.yml such as:
project:
type: website
website:
title: "myTITLE"
navbar:
logo: "file.png"
left:
- href: index.qmd
text: Home
- about.qmd
- license.qmd
- citation.qmd
I would like to change "license.qmd" by a badge. The following does not work:
project:
type: website
website:
title: "An affordable system for the hyperspectral scanning and processing of sediment cores"
navbar:
logo: "HSILab.png"
left:
- href: index.qmd
text: Home
- about.qmd
- [](https://creativecommons.org/licenses/by-nc-sa/2.0/)
- citation.qmd
Is there a way to do it?
Upvotes: 1
Views: 29
Reputation: 9263
You can use the text
key like this:
_quarto.yml
project:
type: website
website:
title: "Title"
navbar:
left:
- href: index.qmd
text: Home
- about.qmd
- href: https://creativecommons.org/licenses/by-nc-sa/2.0/
text: ""
- citation.qmd
Upvotes: 1