mirror of
https://github.com/Mibew/simple-icons.git
synced 2025-01-31 22:34:45 +03:00
Adds links to icons
This commit is contained in:
parent
77a92358ef
commit
4309d34104
@ -142,7 +142,7 @@
|
|||||||
{% for icon in iconsArray %}
|
{% for icon in iconsArray %}
|
||||||
{% assign iconArray = icon | split: "," %}
|
{% assign iconArray = icon | split: "," %}
|
||||||
<li class="grid-item" style="background-color: #{{ iconArray[4] }}">
|
<li class="grid-item" style="background-color: #{{ iconArray[4] }}">
|
||||||
<a class="grid-item__link" href="#">
|
<a class="grid-item__link" href="/icons/{{ iconArray[3] }}.svg">
|
||||||
{% assign filePath = iconArray[3] | prepend: "icons/" | append: ".svg" %}
|
{% assign filePath = iconArray[3] | prepend: "icons/" | append: ".svg" %}
|
||||||
{% include_relative {{ filePath }} %}
|
{% include_relative {{ filePath }} %}
|
||||||
<h2 class="grid-item__title">{{ iconArray[5] }}</h2>
|
<h2 class="grid-item__title">{{ iconArray[5] }}</h2>
|
||||||
@ -153,7 +153,7 @@
|
|||||||
{% for icon in greyscaleIconsArray %}
|
{% for icon in greyscaleIconsArray %}
|
||||||
{% assign iconArray = icon | split: "," %}
|
{% assign iconArray = icon | split: "," %}
|
||||||
<li class="grid-item" style="background-color: #{{ iconArray[4] }}">
|
<li class="grid-item" style="background-color: #{{ iconArray[4] }}">
|
||||||
<a class="grid-item__link" href="#">
|
<a class="grid-item__link" href="/icons/{{ iconArray[1] }}.svg">
|
||||||
{% assign filePath = iconArray[1] | prepend: "icons/" | append: ".svg" %}
|
{% assign filePath = iconArray[1] | prepend: "icons/" | append: ".svg" %}
|
||||||
{% include_relative {{ filePath }} %}
|
{% include_relative {{ filePath }} %}
|
||||||
<h2 class="grid-item__title">{{ iconArray[5] }}</h2>
|
<h2 class="grid-item__title">{{ iconArray[5] }}</h2>
|
||||||
@ -161,13 +161,6 @@
|
|||||||
<p class="grid-item__subtitle">#{{ iconArray[4] }}</p>
|
<p class="grid-item__subtitle">#{{ iconArray[4] }}</p>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<!-- <li class="grid-item">
|
|
||||||
<a class="grid-item__link" href="#">
|
|
||||||
<img class="grid-item__image" src="http://placehold.it/24x24" alt="Icon name">
|
|
||||||
<h2 class="grid-item__title">Icon name</h2>
|
|
||||||
</a>
|
|
||||||
<p class="grid-item__subtitle">#AABBCC</p>
|
|
||||||
</li> -->
|
|
||||||
</ul>
|
</ul>
|
||||||
</main>
|
</main>
|
||||||
<footer class="footer" role="contentinfo">
|
<footer class="footer" role="contentinfo">
|
||||||
|
Loading…
Reference in New Issue
Block a user