Skip to content

Commit 23d8a8b

Browse files
author
Mike Butsko
committed
Set is_landing_page
1 parent dab79fe commit 23d8a8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

preprocess/preprocess-html.inc

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ function q7_alpha_preprocess_html(&$variables) {
55
drupal_add_css('https://fonts.googleapis.com/css?family=Cardo', array('type' => 'external'));
66
$node = menu_get_object();
77
if (isset($node->type) && $node->type == 'landing_page_alpha') {
8+
$is_landing_page = true;
89
drupal_add_css('
910
h1.title {background-color: ' . $node->field__title_bg_color['und'][0]['rgb'] . '}
1011
.landing-page-head-menu {background-color: ' . $node->field_sub_navbar_color['und'][0]['rgb'] . '}

0 commit comments

Comments
 (0)