<?php

/**
 * Render homepage sections.
 */
function bakery_confectionery_homepage_sections() {
	$bakery_confectionery_homepage_sections = array_keys( bakery_confectionery_get_homepage_sections() );

	foreach ( $bakery_confectionery_homepage_sections as $bakery_confectionery_section ) {
		require get_template_directory() . '/sections/' . $bakery_confectionery_section . '.php';
	}
}