admin管理员组文章数量:1304170
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
- [](.0/)
- citation.qmd
Is there a way to do it?
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./licenses/by-nc-sa/2.0/)
- citation.qmd
Is there a way to do it?
Share Improve this question edited Feb 4 at 11:39 Jan 9,4586 gold badges20 silver badges33 bronze badges asked Feb 4 at 8:24 user2955884user2955884 5743 silver badges14 bronze badges1 Answer
Reset to default 1You 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./licenses/by-nc-sa/2.0/
text: ""
- citation.qmd
本文标签: quartoHow to include a custom icon in a navbar link by modifying a quartoymlStack Overflow
版权声明:本文标题:quarto - How to include a custom icon in a navbar link by modifying a _quarto.yml? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741780164a2397260.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论