Maintain an internal linked list to get prev/next posts