Updated related posts. More flexible, efficient, and works better for me now. Moved content pieces into partials to reduce need to edit function and more straight-forward.