quarto-dev / quarto-dev/quarto-cli
[FR] Allow to set a different link in navbar for logo and for title
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Currently logo-href is set for both
https://github.com/quarto-dev/quarto-cli/blob/2bc956a668ceba50ca47a3975f0ebf10b763ac13/src/resources/projects/website/templates/navbrand.ejs#L1-L16
Meaning if logo-href is set, then the link for the title part will change too.
Some users reported the desire to be able to customize it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/resources/projects/website/templates/navbrand.ejs at the linked lines and trace how logo-href is applied to the logo and title. Define and verify separate link behavior so users can customize each independently; done means changing the logo link no longer changes the title link.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100