This commit is contained in:
parent
ce25a49e61
commit
c62b03748b
1 changed files with 3 additions and 3 deletions
|
@ -9,12 +9,12 @@
|
|||
<div id="social-list">
|
||||
{% for item in site.data.socials %}
|
||||
<a class="btn btn-light social-button rounded-0" href="{{ item.link }}">
|
||||
<img class="social-image social-image-light" src="res/social/{{ item.name }}.png" alt="Social icon">
|
||||
<img class="social-image social-image-light" src="res/social/{{ item.name | downcase }}.png" alt="Social icon">
|
||||
|
||||
{% if item.darkIcon %}
|
||||
{% assign dark = item.name | append: "_dark" %}
|
||||
{% assign dark = item.name | downcase | append: "_dark" %}
|
||||
{% else %}
|
||||
{% assign dark = item.name %}
|
||||
{% assign dark = item.name | downcase %}
|
||||
{% endif %}
|
||||
<img class="social-image social-image-dark" src="res/social/{{ dark }}.png" alt="Social icon" hidden>
|
||||
|
||||
|
|
Loading…
Reference in a new issue