aboutsummaryrefslogtreecommitdiff
path: root/assets/minima-social-icons.liquid
blob: d2951faf4e9d00d782b027627099491f75a14f46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
permalink: /assets/minima-social-icons.svg
---

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
{% comment %}
  Iterate through {{ site.minima.social_links }} and render platform related SVG-symbol
  unless the platform is "rss" because we need the "rss" symbol for the `Subscribe` link
  in the footer and therefore inject the "rss" icon outside the iteration loop.
{% endcomment %}
{% for entry in site.minima.social_links %}
  {%- assign symbol_id = entry.platform -%}
  {%- unless symbol_id == "rss" -%}
    {%- include svg_symbol.html key = symbol_id -%}
  {% endunless %}
{%- endfor -%}
  {%- include svg_symbol.html key = "rss" -%}
</svg>