StanfordLegion / legion.stanford.edu

Legion home page
Apache License 2.0
0 stars 7 forks source link

Gitlab Social Media Link #16

Open lightsighter opened 1 year ago

lightsighter commented 1 year ago

We don't currently have a link for the gitlab repo in the social media side bar, which seems unfortunate since that is nominally the main repo. I think we probably need to fix this, but I couldn't see any obvious way to get jeykll to automatically do the gitlab link for us in the social media section. I tried just adding it, but it didn't work.

elliottslaughter commented 1 year ago

The social media icon uses a font called icomoon which we appear to have an embedded copy of in our repository. So I think the first question is, whether the version we embedded has the Gitlab icon, and then we need to figure out how to hack the CSS to add it.

lightsighter commented 1 year ago

I checked, what we really have is a tiny copy of just 11 icons from icomoon, but not gitlab. I found the SVG for gitlab's icon from their website, but it seemed insufficient to get things to work. I got it to build the page without any errors, but there was no image on the rendered page.