Codeberg links and icons!

Codeberg
blog
Author

Olivier Leroy

Published

February 6, 2025

I like GitHub (GH) but it seems like a good idea to learn about what other software forges are out there… !

You can find a great post about it here:

Post by @gvwilson@mastodon.social
View on Mastodon


I will add to that:

1 GitLab is another option.

While this blog is still on GH I will test Codeberg more! Hence, I wanted to add a link of my, nearly empty, codeberg (adding more nudges for others to try!)

In quarto this is quite easy:

  1. Download the .svg from the codeberg design repo and put it where you are usually add such assets (example: assets/img/)

The repo is archived but we are complying with the licence and the “Do” section.

  1. Update your _quarto.yml with a your take on:
      - text: "![](/assets/img/codeberg-logo_icon_white.svg)"
        href: https://codeberg.org/defuneste

Using text was not obvious but this GH discussion (sic) was helpful. Notice that I specified an absolute path.

Thanks! @MickaelCanouil@fosstodon.org and @ellakaye@fosstodon.org

It should be good to go!

Another, easier, option would be to replace text: "![]your_link" with ìcon: git.