From 34faa6f6f3a09b7e9657efae767ad73d66789ef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=A1=E6=A2=A6=E6=98=9F=E5=B0=98?= Date: Sun, 31 Jul 2022 18:21:42 +0800 Subject: [PATCH] :lipstick: Add algolia logo flag in search result. --- assets/js/third-party/search/algolia.js | 3 +-- static/imgs/algolia-logo.svg | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 static/imgs/algolia-logo.svg diff --git a/assets/js/third-party/search/algolia.js b/assets/js/third-party/search/algolia.js index 1ffb1a0..c929b15 100644 --- a/assets/js/third-party/search/algolia.js +++ b/assets/js/third-party/search/algolia.js @@ -52,8 +52,7 @@ document.addEventListener('DOMContentLoaded', () => { const stats = NexT.CONFIG.i18n.hits_time .replace('${hits}', data.nbHits) .replace('${time}', data.processingTimeMS); - return `${stats}`; - //Algolia`; + return `${stats}Algolia`; } }, cssClasses: { diff --git a/static/imgs/algolia-logo.svg b/static/imgs/algolia-logo.svg new file mode 100644 index 0000000..886c422 --- /dev/null +++ b/static/imgs/algolia-logo.svg @@ -0,0 +1 @@ + \ No newline at end of file