Homepage river made into function format partial