-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapter content is not creating related pages by keywords #13443
Comments
I'm not saying this is what happens, but You could verify by just printing the Page keywords in a template, e.g. |
Assuming this front matter: With pages created manually:
With pages created by a content adapter:
The related pages config should be keying off of "Keywords" (capitalized), but either "Keywords" or "keywords" works with pages created manually.
Perhaps we lowercase the index name internally? Because if I change the content adapter to do this...
... the related pages feature works as expected. |
OK, there's obviously a bug or two here ... I'll have a closer look. |
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
I don't know
👋 First of all I must say that I LOVE hugo, thanks for this amazing project.
Let's get to the point, recently I have migrated my hugo to content adapters and I found that when using a content adapter the related pages are not created by keywords anymore.
If I copy keywords to params.tags it works again.
I'm using hugo default configuration for related content.
I create a page with this:
As keywords create related content in markdown I suppose that this is a bug.
The text was updated successfully, but these errors were encountered: