From 6c6cec62988d5d9ca48d3a23843393ca613a567b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Thu, 18 Apr 2019 05:59:13 +0200 Subject: sklad: highlight matches in the search --- cmd/sklad/search.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/sklad/search.tmpl') diff --git a/cmd/sklad/search.tmpl b/cmd/sklad/search.tmpl index 0c58bf9..b7a890e 100644 --- a/cmd/sklad/search.tmpl +++ b/cmd/sklad/search.tmpl @@ -9,7 +9,7 @@

{{ .Prefix }}

-

{{ .Description }} +

{{ .Description | highlight $.Query }}

{{ else }} @@ -28,7 +28,7 @@ {{- if .Description }} -

{{ .Description }} +

{{ .Description | highlight $.Query }} {{- end }} {{ else }} -- cgit v1.2.3