<?php

/**
 * Render homepage sections.
 */
function resort_motel_homepage_sections() {
	$resort_motel_homepage_sections = array_keys( resort_motel_get_homepage_sections() );

	foreach ( $resort_motel_homepage_sections as $resort_motel_section ) {
		require get_template_directory() . '/sections/' . $resort_motel_section . '.php';
	}
}