Rename method to findOnePostBy.
Add switch blog twig function.