mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-19 00:42:08 +08:00
Updated Information Widgets (markdown)
@@ -100,11 +100,11 @@ You can optionally not pass a `latitude` and `longitude` and the widget will use
|
|||||||
|
|
||||||
## Search
|
## Search
|
||||||
|
|
||||||
You can add a search bar to your top widget area that can search using Google, Duckduckgo, Bing or any other custom provider that supports the basic `?q=` search query param.
|
You can add a search bar to your top widget area that can search using Google, Duckduckgo, Bing, Baidu or any other custom provider that supports the basic `?q=` search query param.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- search:
|
- search:
|
||||||
provider: google # google, duckduckgo, bing or custom
|
provider: google # google, duckduckgo, bing, baidu or custom
|
||||||
focus: true # Optional, will set focus to the search bar on page load
|
focus: true # Optional, will set focus to the search bar on page load
|
||||||
target: _blank # One of _self, _blank, _parent or _top
|
target: _blank # One of _self, _blank, _parent or _top
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user