Commit 35e79d07 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-2991: adding navigation

parent 66dc88ff
......@@ -46,5 +46,6 @@
{% include "@pages/_page.twig" with {
"main_menu_items": main_menu_items,
"menu_class": "main-menu"
"menu_class": "main-menu",
"site_name": site_name
}%}
......@@ -24,6 +24,7 @@ ckeditor_stylesheets:
regions:
header: Header
navigation: Navigation
highlighted: Highlighted
content: Content # the content region is required
sidebar: 'Sidebar'
......
......@@ -9,6 +9,16 @@ use Drupal\taxonomy\Entity\Term;
use Drupal\Core\Datetime;
use Drupal\Core\DateTimeZone;
/**
* Implements hook_preprocess_page().
*/
function uw_fdsu_theme_resp_preprocess_page(&$variables) {
// Add the site name to the variables.
$config = \Drupal::config('system.site');
$variables['site_name'] = $config->get('name');
}
/**
* Implements hook_preprocess_region().
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment