Comments (4)
Turns out not including a date in a non-draft post is handled gracefully. There may be some clues there as to how we can avoid this issue, as long as the behavior isn't "just ignore it", since that'd make the drafts invisible again.
Jekyll doesn't require dates for drafts to be rendered, so it would be a bit jarring to force users to start dating their drafts.
from jekyll-algolia.
Thanks for suggesting a change. I'm personally more in favour of catching this error and giving a clearer error on where to add a date.
How does it behave for non-draft posts without date?
from jekyll-algolia.
Hey, just checking in on whether or not you've seen my PR. I assume you're busy so I understand if it's lower priority, but wanted to make sure this didn't fall off the radar.
Thanks for everything!
from jekyll-algolia.
I've released this under 1.7.1, thanks for the PR!
from jekyll-algolia.
Related Issues (20)
- jekyll 4.0.0 | Error: undefined method `[]' for nil:NilClass HOT 1
- All indexed pages are entered as pagename#undefined HOT 1
- Are there release notes (for updates since 1.4.11)? HOT 1
- How to index more content than just the first few paragraphs after each heading HOT 1
- Duplicate element record item being pushed to algolia
- Using tags with Jekyll plugin ? HOT 2
- Issue with Jekyll collections HOT 2
- build fails with "Error: no implicit conversion of String into Integer" but --dry-run flag says "Indexing Complete" instead HOT 1
- Search across multiple Jekyll sites HOT 2
- Docs: jekyll-algolia + gh-pages + gh-actions HOT 4
- Unwanted attributes appearing in index HOT 13
- Uncaught TypeError: Cannot read property 'value' of undefined HOT 1
- Jekyll algolia url does not include basehostname HOT 4
- object ids get deleted when content of page changes HOT 6
- Writing unit test cases for jekyll plugins need to access the context.registers.
- Error when deploying on Vercel HOT 2
- Request to update the version of instantsearch in the documentation to 2.10.5 HOT 2
- Jekyll Algolia Does Not Translate Markdown to HTML Resulting in Too Large Records
- undefined method `include?' for nil:NilClass HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-algolia.