Skip to content

Commit

Permalink
Added local-search to the example site
Browse files Browse the repository at this point in the history
  • Loading branch information
metzger100 authored Jan 9, 2025
1 parent bb4d591 commit 8e502a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ themesDir = "../.."
languageCode = "en"
DefaultContentLanguage = "en"

[outputs] # Needed if using the local-search widget
home = ["HTML", "RSS", "JSON"]

[permalinks]
news = "post/:year/:slug/"
fotos = "fotos/:year/:slug/"
Expand Down Expand Up @@ -51,7 +54,7 @@ DefaultContentLanguage = "en"
list = "left" # Configure layout for list pages
single = false # Configure layout for single pages
# Enable widgets in given order
widgets = ["search", "recent", "categories", "taglist", "social", "languages"]
widgets = ["local-search", "recent", "categories", "taglist", "social", "languages"]
# alternatively "ddg-search" can be used, to search via DuckDuckGo
# widgets = ["ddg-search", "recent", "categories", "taglist", "social", "languages"]

Expand Down

0 comments on commit 8e502a8

Please sign in to comment.