From cfdde2426d57cd62cda366015811f1bbbd9c542e Mon Sep 17 00:00:00 2001 From: Rohan Deb Sarkar Date: Tue, 10 Jan 2023 19:33:41 +0530 Subject: [PATCH] Update favicon emoji length limit (#1099) Since, a image file will always contain a dot and a three letter extension at least (ex: `.jpg`, `.png`, `.jpeg`, etc). Therefore we can safely set the limit up to 4. fixes #1096 --- _includes/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/head.html b/_includes/head.html index 3796eb38ea6c..75c9b342fb2a 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -14,7 +14,7 @@ - {% if site.icon.size < 3 %} + {% if site.icon.size <= 4 %} {% elsif site.icon != blank %}