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

How to setup other links? #10

Open
Collin911 opened this issue Nov 12, 2023 · 1 comment
Open

How to setup other links? #10

Collin911 opened this issue Nov 12, 2023 · 1 comment

Comments

@Collin911
Copy link

Collin911 commented Nov 12, 2023

Hello, I would like to add other link icons (e.g., ORCID) below the basic information. Where should I import these icons and how to edit the files such that the additional icons can align with the original ones?

@ShijieGao
Copy link

To add other links, you need to modify two places

  1. in ./_layouts/homepage.html. In that file, you can find how the other links are added to the page.
  2. in ./_config.yml, add a new field similar to other links that are already included in the page

For ORCID specifically, I simply added the code block below:

  1. In homepage.html:
    {% if site.orcid %} <i><a href="{{ site.orcid }}" rel="noopener" target="_blank"><i class="ai ai-orcid-square ai-fw"></i></a></li> {% endif %}
  2. In _config.yml
    orcid: https://orcid.org/xxxxxxxx

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