-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
Comments
nunocoracao
changed the title
Add ability to turn off dates in search
✨ Add ability to turn off dates in search
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
…f-dates-in-search 🐛 fix nunocoracao/blowfish#1563
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
The text was updated successfully, but these errors were encountered: