Ben Schlegel
2023-09-03 8c354f6261dda6d9761f594002db53c9d7a8e8e2
quartz/components/scripts/search.inline.ts
@@ -157,7 +157,7 @@
    return {
      id,
      slug,
      title: highlight(term, data[slug].title ?? ""),
      title: searchType === "tags" ? data[slug].title : highlight(term, data[slug].title ?? ""),
      // if searchType is tag, display context from start of file and trim, otherwise use regular highlight
      content:
        searchType === "tags"