Skip to content
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

[Feature Request] Include page date in the search index #2394

Closed
gamingrobot opened this issue Dec 30, 2023 · 1 comment
Closed

[Feature Request] Include page date in the search index #2394

gamingrobot opened this issue Dec 30, 2023 · 1 comment
Labels
done in pr Already done in a PR enhancement

Comments

@gamingrobot
Copy link
Contributor

gamingrobot commented Dec 30, 2023

Currently there are multiple include_X config keys in the [search] section.

There are multiple options for adding this:

  1. Add include_date to the existing config and update the generator to support it.
  2. Have a include list in the config that maps to keys in the page frontmatter (this allows for more than just date to be added to the search index).
@Keats
Copy link
Collaborator

Keats commented Jan 2, 2024

Seems ok to me, as long as it's only ISO date format search like it's allowed in the front-matter. I'd go with 1 and maybe 2 for later for the extra section

gamingrobot added a commit to gamingrobot/zola that referenced this issue Jan 5, 2024
gamingrobot added a commit to gamingrobot/zola that referenced this issue Jan 5, 2024
gamingrobot added a commit to gamingrobot/zola that referenced this issue Jan 5, 2024
@Keats Keats added the done in pr Already done in a PR label Jan 5, 2024
@Keats Keats closed this as completed Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done in pr Already done in a PR enhancement
Projects
None yet
Development

No branches or pull requests

2 participants