diff options
Diffstat (limited to 'exampleSite/content/docs/customization.md')
-rw-r--r-- | exampleSite/content/docs/customization.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/exampleSite/content/docs/customization.md b/exampleSite/content/docs/customization.md index d28a980..4f706de 100644 --- a/exampleSite/content/docs/customization.md +++ b/exampleSite/content/docs/customization.md @@ -223,6 +223,19 @@ To use a different search engine, first of all, check that the search widget is input.pre = "site:" ``` +**Google PSE**: + +```toml +[Params.widgets.search] + url = "/search/" + input.name = false + input.pre = "" +``` + +Note that Google PSE requires additional steps to work correctly. +See [Creating a Programmable Search Engine](https://developers.google.com/custom-search/docs/tutorial/creatingcse) and +especially our [FAQ]({{< relref "/docs/faq.md" >}} "Mainroad FAQ") for more instructions. + ### Menus **Mainroad** supports multiple menus. The `main` menu is fully responsive and displayed right under the site header. The |