more respnsive: header hamburger done, started base
This commit is contained in:
@@ -61,6 +61,16 @@ function materiotheme_preprocess_html(&$vars) {
|
||||
|
||||
$vars['page']['#attached']['html_head'][] = [$description, 'description'];
|
||||
|
||||
$viewport = array(
|
||||
'#tag' => 'meta',
|
||||
'#attributes' => array(
|
||||
'name' => 'viewport',
|
||||
'content' => 'width=device-width, initial-scale=1, maximum-scale=1',
|
||||
),
|
||||
);
|
||||
$vars['page']['#attached']['html_head'][] = [$viewport, 'viewport'];
|
||||
// drupal_add_html_head($viewport, 'viewport');
|
||||
|
||||
// $gv = [
|
||||
// '#tag' => 'meta',
|
||||
// '#attributes' => [
|
||||
|
Reference in New Issue
Block a user