From d2b9718ddad3c1c5ff040fbd5e136cc2fbf272d4 Mon Sep 17 00:00:00 2001 From: Carlos Polop Date: Mon, 5 May 2025 09:31:16 +0200 Subject: [PATCH] book or cloud --- theme/ht_searcher.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/theme/ht_searcher.js b/theme/ht_searcher.js index 0183eeddb..2ec1f5ec0 100644 --- a/theme/ht_searcher.js +++ b/theme/ht_searcher.js @@ -134,8 +134,9 @@ const abs=d.url.startsWith('http'); const href=`${abs?'':path_to_root}${parts[0]}?${URL_MARK}=${enc}#${parts[1]}`; const style=d.cloud?" style=\"color:#1e88e5\"":""; + const isCloud=d.cloud?" [Cloud]":" [Book]"; return ``+ - `${d.breadcrumbs}${teaser}`; + `${d.breadcrumbs}${isCloud}${teaser}`; } /* ───────────── UI control ───────────── */