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

✨ Add ability to turn off dates in search #1563

Closed
yahav2305 opened this issue Jun 22, 2024 · 0 comments
Closed

✨ Add ability to turn off dates in search #1563

yahav2305 opened this issue Jun 22, 2024 · 0 comments

Comments

@yahav2305
Copy link

Is your feature request related to a problem? Please describe.
I am building a website in which the dates of each page doesn't matter. For that reason, I don't specify dates in the frontmatter of my pages. However, I noticed that in the search bar all of my pages have the date 1 January 0001 since I don't specify my own date.

Describe the solution you'd like
I would like for there to be a switch in the config files. Ideally, when the switch is disabled nothing will change, but when the switch is enabled the dates won't be shown in the search bar.

Describe alternatives you've considered
Currently I am ignoring it, but it makes the website seem not as polished. Theoretically I can overwrite the JS file that defines the search with one of my own, but I'd rather not do that since It can cause configuration drift, and I don't know JS (which is part of the reason I love Blowfish and Hugo).

Additional context
See the image below for an example:
image

@nunocoracao nunocoracao changed the title Add ability to turn off dates in search ✨ Add ability to turn off dates in search Jun 27, 2024
nunocoracao added a commit that referenced this issue Jun 27, 2024
nunocoracao added a commit that referenced this issue Jun 27, 2024
ragibson pushed a commit to ragibson/blowfish-lite that referenced this issue Jul 29, 2024
ragibson pushed a commit to ragibson/blowfish-lite that referenced this issue Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants