Initial theming

This commit is contained in:
Rob Davies 2017-03-31 12:22:46 +01:00
parent 53d6173a5f
commit 002f40bc1a
25 changed files with 634 additions and 0 deletions

View file

@ -0,0 +1,15 @@
<?php
/**
* Theming stuff goes here!
*/
/**
* Implements template_preprocess_html().
*/
function dcb2017_preprocess_html(&$variables) {
if (\Drupal::service('path.matcher')->isFrontPage()) {
$site_config = \Drupal::config('system.site');
$variables['head_title'] = $site_config->get('name');
}
}