diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/icon.html | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/_includes/icon.html b/_includes/icon.html index d61658e..22834eb 100644 --- a/_includes/icon.html +++ b/_includes/icon.html @@ -1,6 +1 @@ -{% assign name = include.name %} -{% assign icon = site.icons | where: "slug", name | first %} - -{% assign content = icon.content | replace: '<svg', '<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"' %} - -{{ content }} +{% assign name = include.name %}{% assign icon = site.icons | where: "slug", name | first %}{% assign content = icon.content | replace: '<svg', '<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"' %}{{ content }} |