Skip to content

Search doesn't work #731

Answered by nicfab
nicfab asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!
I solved the arcane!
According to what I read here https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite#directory-tree, it seems there is an issue related to the PaperMod configuration of the directory tree.

I was trying to keep organized both pages and posts, creating the following folders:
/content/english/page
/content/english/post
/content/italian/page
/content/italian/post
However, with this setting, the search doesn't work.

So, I moved all the pages files under /content, distinguishing the Italian ones as filename.it.md.
Thus, I created two folders and precisely /content/post and /content/post_it where I saved the English and the Italian, respectively.
In this way, th…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nicfab
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #670 on January 14, 2022 14:20.