mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-11-16 00:59:07 +02:00
Makes icons links download by default
This commit is contained in:
parent
f1609111db
commit
9149710c26
@ -343,7 +343,7 @@
|
||||
{% for icon in iconsArray %}
|
||||
{% assign iconArray = icon | split: "," %}
|
||||
<li class="grid-item" style="background-color: #{{ iconArray[4] }}">
|
||||
<a class="grid-item__link" href="/icons/{{ iconArray[3] }}.svg">
|
||||
<a class="grid-item__link" href="/icons/{{ iconArray[3] }}.svg" download>
|
||||
{% assign filePath = iconArray[3] | prepend: "icons/" | append: ".svg" %}
|
||||
{% include_relative {{ filePath }} %}
|
||||
<h2 class="grid-item__title">{{ iconArray[5] }}</h2>
|
||||
@ -354,7 +354,7 @@
|
||||
{% for icon in greyscaleIconsArray %}
|
||||
{% assign iconArray = icon | split: "," %}
|
||||
<li class="grid-item" style="background-color: #{{ iconArray[4] }}">
|
||||
<a class="grid-item__link" href="/icons/{{ iconArray[1] }}.svg">
|
||||
<a class="grid-item__link" href="/icons/{{ iconArray[1] }}.svg" download>
|
||||
{% assign filePath = iconArray[1] | prepend: "icons/" | append: ".svg" %}
|
||||
{% include_relative {{ filePath }} %}
|
||||
<h2 class="grid-item__title">{{ iconArray[5] }}</h2>
|
||||
|
Loading…
Reference in New Issue
Block a user