sproogen / modern-resume-theme

A modern static resume template and theme. Powered by Jekyll and GitHub pages.
https://sproogen.github.io/modern-resume-theme/
MIT License
2.06k stars 1.38k forks source link

Is there a way to add academicons? #134

Open tokencolour opened 3 years ago

tokencolour commented 3 years ago

I wanted to add an IEEE icon but couldn't find the same on fontawesome.com. However, it has been generously made available here. To be able to use the icons given on the page above I added the following line in main.scss @import url("https://cdn.jsdelivr.net/gh/jpswalsh/academicons@1/css/academicons.min.css");

I used the following code in _config.yml:

- title: Template attack on SPA and FA resistant implementation of Montgomery Ladder icon: fab ai-ieee url: https://ieeexplore.ieee.org/document/7542698

I do not see the IEEE icon on the served page. I haven't delved deep in the code but did a bunch of greps to understand how fontawesome has been integrated. Does anyone have any idea about how to integrate other icons? Or could someone please point out the mistake I'm making?

PS: Did not know a better place to post this. Let me know if there exists a better platform for questions and I'll move this there. Thank you :)

ArquintL commented 2 years ago

I've followed this description here:

  1. Download the academicons release
  2. Place the css and fonts folders into the existing assets folder
  3. Add @import url(css/academicons.css); to your existing main.scss file
  4. Use the icons as follows (using the Google Scholar icon as an example):
    additional_links:
    - title: Google Scholar
    icon: ai ai-google-scholar
    url: https://scholar.google.com/citations?user=<YOUR ID>