From effd3a265bd315146a4e63dd4d251f6ead2bf4be Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 30 Apr 2022 21:19:44 -0500 Subject: [PATCH] Remove width and height in icons --- layouts/partials/icon.html | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/partials/icon.html b/layouts/partials/icon.html index 1637a54..f5003c2 100644 --- a/layouts/partials/icon.html +++ b/layouts/partials/icon.html @@ -2,4 +2,5 @@ {{- $icon := $icon_resource.Content -}} {{- $icon = replaceRE `` (printf `%s icon` .) $icon -}} +{{- $icon = replaceRE `(width|height)="[0-9]*"` "" $icon -}} {{- $icon | safeHTML -}}