Open hx077 opened 1 year ago
Hi.
I've found a way to add Soundcloud and Youtube icons to the template.
I've followed a few steps:
Downloaded an svg icon. E.G., I've found a Mastodon icon here: LINK
Uploaded the SVG file to the repository in "assets/img/icons/" folder:
Modified _/includes/author-box.html. For YouTube the code was:
{% if site.youtube %}
<li class="youtube"><a class="" href="https://youtube.com{{site.youtube}}" target="_blank"><i class="fa fa-youtube"></i></a></li>
{% endif %}
Modified _/pages/about.html.
{% if site.youtube %}
<li class="youtube"><a class="youtube" href="https://youtube.com/{{site.youtube}}" target="_blank"><i class="fa fa-youtube"></i></a></li>
{% endif %}
.youtube:hover{color:#1DA1F2}
youtube: # YouTube Channel (without @)
soundcloud: # Soundcloud username
Maybe this can be used for Mastodon and can be helpful for others.
Best.
Hello!
Maybe I don't know how to do it but I'm trying to add a mastodon handle to the page. Any way I can add an icon and the handle?
-H