diff options
author | Bradley Taunt <bt@btxx.org> | 2024-05-26 08:33:15 -0400 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-05-26 08:33:15 -0400 |
commit | 7bc33e9815001f96ef6b22c507cf9bf2194ec684 (patch) | |
tree | 222dd13a36f6ec18e766ba98744fc01cdea5eea7 /assets | |
parent | e417a818e207a6cca6e2f3c471611673ab836a62 (diff) |
Static placement of minima theme, minor customizations
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/style.scss | 7 | ||||
-rw-r--r-- | assets/minima-social-icons.liquid | 18 |
2 files changed, 25 insertions, 0 deletions
diff --git a/assets/css/style.scss b/assets/css/style.scss new file mode 100644 index 0000000..0d1fce9 --- /dev/null +++ b/assets/css/style.scss @@ -0,0 +1,7 @@ +--- +# Only the main Sass file needs front matter (the dashes are enough) +--- + +@import + "minima/skins/{{ site.minima.skin | default: 'classic' }}", + "minima/initialize"; 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 +--- + +<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> |