Open ghost opened 4 years ago
Thank you so much for this. I was going crazy last night. I am using the remote-theme and got the following error:
Liquid Exception: Liquid error (/private/var/folders/_r/t6w49w3n7wvbt7k50vr89trr0000gn/T/jekyll-remote-theme-20220410-1850-92d3dj/_includes/documents-collection.html line 4): Cannot sort a null object. included in /_layouts/collection.html
After removing the sort on a "portfolio-archive.md" page, boom. Worked.
When I ran your theme I got this error:
The row is:
I had to remove the
sort
method to get it runs. Perhaps it should check if the object is null before sorting?