Skip to content

Commit 5ccbf25

Browse files
Add .css.md file to assets/css directory (#188)
* Add .css.md file to assets/css directory Signed-off-by: Ralph Hightower <[email protected]> * [setup](web): Jekyll(minima) Signed-off-by: Ralph Hightower <[email protected]> * [setup](web): Jekyll(minima) Signed-off-by: Ralph Hightower <[email protected]> --------- Signed-off-by: Ralph Hightower <[email protected]>
1 parent 226a12e commit 5ccbf25

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

assets/css/.css.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
css/

assets/css/style.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
# Only the main Sass file needs front matter (the dashes are enough)
3+
---
4+
5+
@import
6+
"minima/skins/{{ site.minima.skin | default: 'classic' }}",
7+
"minima/initialize";

assets/minima-social-icons.liquid

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
permalink: /assets/minima-social-icons.svg
3+
---
4+
5+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
6+
{% comment %}
7+
Iterate through {{ site.minima.social_links }} and render platform related SVG-symbol
8+
unless the platform is "rss" because we need the "rss" symbol for the `Subscribe` link
9+
in the footer and therefore inject the "rss" icon outside the iteration loop.
10+
{% endcomment %}
11+
{% for entry in site.minima.social_links %}
12+
{%- assign symbol_id = entry.platform -%}
13+
{%- unless symbol_id == "rss" -%}
14+
{%- include svg_symbol.html key = symbol_id -%}
15+
{% endunless %}
16+
{%- endfor -%}
17+
{%- include svg_symbol.html key = "rss" -%}
18+
</svg>

0 commit comments

Comments
 (0)