Skip to content

Commit

Permalink
hugo: generate dedicated search-page (#17)
Browse files Browse the repository at this point in the history
Tell Hugo to generate a dedicated search-page, improving UX when using
the included search-bar.

Currently, it just does nothing; that way, users will be redirected to
said dedicated page, listing all more or less matching results.

Signed-off-by: Luca Zeuch <[email protected]>
  • Loading branch information
l-zeuch authored Mar 25, 2024
1 parent 6ffee11 commit f5d4e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ uglyURLs = true
path = 'github.com/McShelby/hugo-theme-relearn'

[outputs]
home = [ "HTML", "SEARCH" ]
home = [ "html", "search", "searchpage" ]

[params]
themeVariant = [
Expand Down

0 comments on commit f5d4e16

Please sign in to comment.