From 2ef73821309b872aaa515cc71b679f0bc6dab4c7 Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Sun, 31 Jan 2021 14:32:07 +0000
Subject: [PATCH] Update from Forestry.io weru updated exampleSite/content/docs/compose/search.md
---
exampleSite/content/docs/compose/search.md | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/exampleSite/content/docs/compose/search.md b/exampleSite/content/docs/compose/search.md
index 9de48e7..0f3b45c 100644
--- a/exampleSite/content/docs/compose/search.md
+++ b/exampleSite/content/docs/compose/search.md
@@ -1,9 +1,9 @@
+++
-title = "Search Function"
description = ""
+title = "Search Function"
weight = 8
-+++
++++
Firstly, ensure you have these lines inside your config.toml file
```toml
@@ -11,7 +11,6 @@
home = ["HTML", "RSS","JSON"]
```
-
Compose implements `fuse.js` to enable search functionality. At the time of this writing, search on these theme takes either of this forms:
### 1. Passive search
@@ -24,16 +23,18 @@
> Please note that the results under quick links will be a truncated list of the most relevant results. Only a maximum of 8 items will be returned. This number is pragmatic at best if not arbitrary. On the search page, the number is set to 12.
-Note that live search on the search page will behave differently than on the other pages. Nonetheles, the pages applies the same live search principle.
+Note that live search on the search page will behave differently than on the other pages. Nonetheles, the pages apply the same live search principle.
-> Hitting enter while typing on the search page will be moot.
+> Hitting enter while typing on the search page will be moot as that page’s content will live update as you type in the search word / phrase.
### Customize search feedback labels
Use the `i18n` files to do so.
<!-- ### scoped search
+
#### Searching within a specific/current page
+
I think the other 3 are not only related, but can be for the most part be achieved using the good old-fashioned CTRL/CMD + F.
(1) multilingual sites
@@ -45,4 +46,4 @@
Else the search query must be at least 2 characters long.
-<!-- This behaviour will change. -->
+<!-- This behaviour will change. -->
\ No newline at end of file
--
Gitblit v1.10.0