r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
8 stars 2 forks source link

Badges - copy to clipboard Markdown code URLs seem to return 404 error codes for first three badges #280

Closed remlapmot closed 11 months ago

remlapmot commented 11 months ago

(A relatively minor query)

I notice that for the first 3 badges for a user or organisation that the URLs from the copy to clipboard Markdown code on the respective badges page, seem to return 404s.

To recreate this issue, go to say https://ropensci.r-universe.dev/badges

Screenshot 2023-08-06 at 21 15 21

and then click on the Markdown icon on the right handside for the first badge. The following Markdown code is copied to the clipboard

[![:name status badge](https://ropensci.r-universe.dev/badges/:name)](https://ropensci.r-universe.dev/:name)

but the URL https://ropensci.r-universe.dev/:name returns a 404

image

as do the URLs in the Markdown code for the second and third badges

I'm wondering if these 3 URLs in the Markdown code need modification?

jeroen commented 11 months ago

Thanks for caching this! I changed the markdown to link to the root domain now, for the meta-badges.