How to add a link icon to the header

Please tell me how to add a link icon to the header.
Preferably with an example of hrml code

image

If I understand correctly, this needs to be inserted in the “header” section

2 Likes

To be clear, do you just want to add an icon, an icon that is a link, or just a link?

2 Likes

An icon that will be a link. I want to get an icon from Font Awesome.

I mean, just like this one.
image

2 Likes

Here is a component that does what you want:

You can look at how it’s done on GitHub: discourse-icon-header-links/javascripts/discourse/initializers/initialize-for-header-icon-links.js at main · discourse/discourse-icon-header-links · GitHub

4 Likes