docs: clarification #888

This commit is contained in:
Sören Weber 2024-09-21 00:34:12 +02:00
parent a1ab7ecb2d
commit 60c2538ffe
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ By default all three levels are enabled. You can disable each level by the follo
By default the following files will be created, relative to each languages home page but can be overwritten:
- search popup: `searchindex.js`, configured by `searchIndexURL`
- dedicated search page: either `/search.html` or `search/index.html` depending on your settings for `uglyURLs`, configured by `searchPageURL`
- dedicated search page: `search/index.html`, configured by `searchPageURL`
{{% notice note %}}
You only need to reconfigure the file / page URLs if you have own content at those URLs in your project. Eg. this can happen if you set `uglyURLs=true` in your `hugo.toml` and defining a Markdown file `content/search.md`.

View file

@ -37,7 +37,7 @@ weight = -0
There is a separate section in the documentation covering these cases.
- {{% badge style="warning" title=" " %}}Breaking{{% /badge %}} This release changes the way, the search index and the dedicated search page are generated. This requires reconfiguration by you to still work as you intended.
- {{% badge style="warning" title=" " %}}Breaking{{% /badge %}} This release changes the way, the search index and the dedicated search page are generated. This may require reconfiguration by you to still work as you intended.
You need to remove the now obsolete `search` and `searchpage` output format from `[outputs.home]` in your `hugo.toml`, resulting in something similar to