Notes on adding the Codeberg link to my site, built with Hugo.
The Ananke theme doesn’t (yet) include Codeberg, so I downloaded the black and white Codeberg
logo and placed this in
There are two apparent problems with this logo though:
- Default logo is whiter than other social icons
- Link says “Codeberg logo” on hover
I can fix (2) by removing <title> element from svg. But this doesn’t fix (1).
Googling “codeberg logo for font awesome” leads me to Codeberg Design issue 13
where “mray” (Robert Martinez) has produced a solely black and white version. Copied this to same
place and removed <title> element again.
https://codeberg.org/Codeberg/Design says that “Codeberg blue” is #2185d0, so I tried this as the hover colour but decided
that it didn’t really fit, so I ended up using white.
The configuration file YAML ends up as:
- name: codeberg