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 it possible to replace Twitter icon with something else (for example: LinkedIn)? #58

Closed
bdolewski opened this issue May 22, 2020 · 4 comments
Milestone

Comments

@bdolewski
Copy link

Hi!
I'm trying to customize the icon in the bottom left corner. I was playing with _config.yml file, trying to uncomment LinkedIn link in the social: part or simply removing twitter: part from this config file.
Unfortunately nothing changed. Is it possible at all to replace some of those social website icons (buttons?) to something else or simply remove one of them?

@cotes2020
Copy link
Owner

The social of file _config.yml is used for jekyll-seo-tag, so as you do, it won't work.

You should change these:

<a href="https://github.com/{{ site.github.username }}" target="_blank">
<i class="fab fa-github-alt"></i>
</a>
<a href="https://twitter.com/{{ site.twitter.username }}" target="_blank">
<i class="fab fa-twitter"></i>
</a>
{% assign email = site.social.email | split: '@' %}
<a href="javascript:window.open('mailto:' + ['{{ email[0] }}','{{ email[1] }}'].join('@'))">
<i class="fas fa-envelope"></i>
</a>
<a href="{{ site.baseurl }}/feed.xml" target="_blank">
<i class="fas fa-rss"></i>
</a>

And the replaced icon could be found at https://fontawesome.com/.

@bdolewski
Copy link
Author

That was instant, precise help - thank you very much!

@cotes2020
Copy link
Owner

I've made it much easier to configure. See 054a769.

@bdolewski
Copy link
Author

bdolewski commented May 23, 2020

I've made it much easier to configure. See 054a769.

It does look better. I fixed code for my needs but will revert it and follow your version.

@cotes2020 cotes2020 added this to the 2.3 milestone May 26, 2020
mattpopovich pushed a commit to mattpopovich/jekyll-theme-chirpy that referenced this issue Oct 3, 2020
MarcusHoltz added a commit to MarcusHoltz/marcusholtz.github.io that referenced this issue Apr 17, 2023
sanjidnet pushed a commit to sanjidnet/sanjidnet.github.io that referenced this issue Dec 26, 2023
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