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

researchgate icon is not working #78

Open
dominicroye opened this issue Aug 11, 2018 · 2 comments
Open

researchgate icon is not working #78

dominicroye opened this issue Aug 11, 2018 · 2 comments

Comments

@dominicroye
Copy link

I'm trying to add a social icon, but it is not showing up.

https://fontawesome.com/icons/researchgate?style=brands

[[menu.icon]]
url = "https://www.researchgate.net/profile/user"
name = "researchgate"
weight = 3

What is wrong?

@dschense
Copy link

I changed some Lines and fixed this Problem for me:

in

themes/minimal/layouts/partials/css.html

change

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">

to

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">

in

themes/minimal/layouts/partials/css.html

change

<li class="navbar-icon"><a href="{{ .URL }}"><i class="fa fa-{{ .Name }}"></i></a></li>

to

<li class="navbar-icon"><a href="{{ .URL }}"><i class="{{ .Name }}"></i></a></li>

and in your root path change the config.toml for every icon entry
like this:

[[menu.icon]]
    url = "https://exampleurl"
    Identifier = "fab fa-researchgate"
    weight = 1

fab fa-researchgate
here you must take the full name of the icon

take from here:
https://fontawesome.com/icons?d=gallery

there are many fas and fab icons..
hope this helps some other people ;)

@Pobega
Copy link

Pobega commented Aug 26, 2019

I have the same problem and I forked the repo and made the same changes, but still can't get the itch-io icon to work. See <link-redacted> (it's the last icon on the right, it's invisible)

Edit: I upgraded fontawesome and it now works.

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

3 participants