From 7bc33e9815001f96ef6b22c507cf9bf2194ec684 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Sun, 26 May 2024 08:33:15 -0400 Subject: Static placement of minima theme, minor customizations --- assets/minima-social-icons.liquid | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 assets/minima-social-icons.liquid (limited to 'assets/minima-social-icons.liquid') diff --git a/assets/minima-social-icons.liquid b/assets/minima-social-icons.liquid new file mode 100644 index 0000000..d2951fa --- /dev/null +++ b/assets/minima-social-icons.liquid @@ -0,0 +1,18 @@ +--- +permalink: /assets/minima-social-icons.svg +--- + + +{% 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" -%} + -- cgit v1.2.3-54-g00ecf