2 * Implements hook_init().
4 function {{ machine_name }}_init() {
5 // Since this file should only be loaded on the front page, it cannot be
6 // declared in the info file.
7 if (drupal_is_front_page()) {
8 drupal_add_css(drupal_get_path('module', 'foo') . '/foo.css');