boratanrikulu / eternity

A minimalist Hugo theme designed for portfolio sites.
https://eternity.bora.sh
MIT License
237 stars 78 forks source link

Invalid sorting of posts/images #64

Closed guax closed 9 months ago

guax commented 1 year ago

Documentation claims the images will be sorted by Exif date in the absence of weight. This does not seem to be true and I cannot make this work. I cannot find any sorting code that would suggest that is being done either but I am not familiar with the code enough.

Is there is something I am missing? Order seems to be arbitrary. I can see

{{ $posts = sort $posts "Page" "desc" }}

But thats the only sorting I can find in the template code.

guax commented 1 year ago

Further investigation revealed that all posts without a date parameter are defaulting to unix time 0. So to solve my immediate problem I'll make some shell scripts to get exif date and set as post date for the time being and run when needed.

boratanrikulu commented 9 months ago

[!WARNING]
This project is currently not being actively maintained.
Please do not create new issues on GitHub.