Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Adding Support for LinkedIn/Medium social links? #22

Open
schaar opened this issue Oct 25, 2016 · 1 comment
Open

Adding Support for LinkedIn/Medium social links? #22

schaar opened this issue Oct 25, 2016 · 1 comment

Comments

@schaar
Copy link

schaar commented Oct 25, 2016

Hi there - I'm trying to figure out how to add some additional assets to allow for social links not included in the original theme. I added the following line to the social-links.html file as an example for Linkedin:

{% if site.linkedin %}<li><a class="social-btn" href="https://www.linkedin.com/in/{{ site.linkedin }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-linkedin"></i></a></li>{% endif %}

I also included a LinkedIn reference on the _config.yml file, but I think I'm missing an extra step. Thoughts?

@ghost
Copy link

ghost commented Jun 1, 2018

You should add the Font Awesome html code. I just happen to create a new icon and link to add my resume online link. Though I am still figuring out how to write the absolute URL, you can easily change the icon just using the Font Awesome syntax. For instance, I used the fa-file icon for my CV, so the syntax would be:

{% if site.cv %}<li><a class="social-btn" href="{{ site.cv }}" target="_blank" rel="noopener noreferrer"><i class="fa fa-fw fa-file"></i></a></li>{% endif %}

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

No branches or pull requests

1 participant