Search
You can enable the search feature by setting the enableSeach
param to true
in [params]
.
[params]
enableSearch = true
In addition, you also need to set Hugo outputs to include JSON
:
# In hugo.toml.
[outputs]
home = ["HTML", "RSS", "JSON"]
Then you will see a search icon appear on the top of the nav. Click it or type the below keyboard shortcuts to start searching.
- Windows =>
Win+/
- macOS =>
CMD+/