From fcb27db2c52a48e294613c7d929092fe6015a7d1 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Fri, 26 Nov 2021 08:21:24 +0800 Subject: [PATCH] Fix icon filename extension If `favicon.ico` or `logo.ico` exists, `/images/favicon.icon` or `/images/logo.icon` should be `/images/favicon.ico` or `/images/logo.ico`. --- layouts/partials/favicon.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/favicon.html b/layouts/partials/favicon.html index 7f25493485..9846a90a81 100644 --- a/layouts/partials/favicon.html +++ b/layouts/partials/favicon.html @@ -4,11 +4,11 @@ {{- else if (fileExists "/static/images/favicon.png") -}} {{- else if (fileExists "/static/images/favicon.ico") -}} - + {{- else if (fileExists "/static/images/logo.svg") -}} {{- else if (fileExists "/static/images/logo.png") -}} {{- else if (fileExists "/static/images/logo.ico") -}} - -{{- end }} \ No newline at end of file + +{{- end }}