From 7f8f6befa099b3ae5bb76885fa2566bd8744a939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 1 Sep 2022 12:33:19 +0200 Subject: [PATCH] Make the top search listing clickable This is probably how it always have worked, but the main search listing looks like somethig that should be clicked on. --- assets/js/controllers/search-lunr.js | 1 + layouts/_default/baseof.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/js/controllers/search-lunr.js b/assets/js/controllers/search-lunr.js index 175770b..b860c63 100644 --- a/assets/js/controllers/search-lunr.js +++ b/assets/js/controllers/search-lunr.js @@ -72,6 +72,7 @@ export function newSearchController() { return { title: elem.innerText, + id: item.ref, }; }); diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 2520251..6264656 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -46,7 +46,7 @@ x-transition.duration.700ms>