Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to add academicons? #134

Open
tokencolour opened this issue Mar 21, 2021 · 1 comment
Open

Is there a way to add academicons? #134

tokencolour opened this issue Mar 21, 2021 · 1 comment

Comments

@tokencolour
Copy link

tokencolour commented Mar 21, 2021

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
Copy link

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants