This may work for you. It’s a quick way to get at first and last posts. And since posts are a collection I’m thinking it will.
You just might need to do an assign on the collection first to sort it. Then you can .first on that sorted array.
This may work for you. It’s a quick way to get at first and last posts. And since posts are a collection I’m thinking it will.
You just might need to do an assign on the collection first to sort it. Then you can .first on that sorted array.