-
Hello folks, I am having trouble configuring the search on my site. In the languageCode: en-us
outputs:
home:
- HTML
- RSS
- JSON
menu:
main:
- identifier: about
name: About
url: /
weight: 1
- identifier: posts
name: Blog
url: /Posts/
weight: 2
- identifier: archive
name: Archive
url: /archives/
weight: 40
- identifier: categories
name: Categories
url: /categories/
weight: 10
- identifier: tags
name: Tags
url: /tags/
weight: 20
- identifier: search
name: Search
url: /search/
weight: 25 I have ---
title: "Search" # in any language you want
layout: "search" # is necessary
# url: "/archive"
# description: "Description for Search"
summary: "search"
placeholder: "..."
--- and I am overriding hugo-PaperMod/assets/js/fastsearch.js Line 51 in 4a924ce in assets\js\fastsearch.js with the following line:
xhr.open('GET', "index.json"); This is my file structure: 4 ./.github/workflows/hugo.yaml
41 ./.gitignore
1 ./.gitmodules
0 ./.hugo_build.lock
1 ./archetypes/default.md
4 ./archetypes/posts.md
8 ./assets/js/fastsearch.js
8 ./config.yml
1 ./content/archives.md
4 ./content/posts/2023-07-01-some-post.md
1 ./content/search.md
4 ./README.md
0 ./resources/_gen/assets
0 ./resources/_gen/images
0 ./resources/_gen
32 ./static/home/my_pic.jpg
52 ./static/home/Search _ fimuko's blog_files/analytics.js.download
32 ./static/home/Search _ fimuko's blog_files/livereload.js.download
20 ./static/home/Search _ fimuko's blog_files/search.fb4e87b063089a7d6141b0d38c367971c8137bc37b8731be5a422ff95f9bc61f.js.download
108 ./static/home/Search _ fimuko's blog_files
720 ./themes/PaperMod Not sure what else I should consider... I would be greatful for any suggestion. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
In
Maybe this can unlock something for you |
Beta Was this translation helpful? Give feedback.
-
UPDATE: search seems to work, on your website: https://fimuko.github.io/search/ Maybe I'm missing something, please clarify expected result and the problem you face |
Beta Was this translation helpful? Give feedback.
UPDATE: search seems to work, on your website: https://fimuko.github.io/search/
Maybe I'm missing something, please clarify expected result and the problem you face