From fe151338aeedcf04cc2078653193903519f7b4ad Mon Sep 17 00:00:00 2001 From: codecalm Date: Tue, 10 Mar 2020 22:12:47 +0100 Subject: icons directory structure --- _includes/icon.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 _includes/icon.html (limited to '_includes') diff --git a/_includes/icon.html b/_includes/icon.html new file mode 100644 index 00000000..ff567c71 --- /dev/null +++ b/_includes/icon.html @@ -0,0 +1 @@ +{% assign stroke = include.stroke | default: 2 %}{% assign width = 24 %}{% assign name = include.name %}{% assign icon = site.icons | where: "slug", name | first %}{% capture replace-to %}{% endcapture %}{% assign content = icon.content | replace: '', replace-to %}{{ content }} -- cgit v1.2.1