-
Notifications
You must be signed in to change notification settings - Fork 3
/
template.php
29 lines (23 loc) · 1.06 KB
/
template.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
function edoweb_lbz_preprocess_html(&$variables) {
// Add the bundle type of the currently viewed entity
$entity = menu_get_object(EDOWEB_ENTITY_TYPE);
if ($entity) {
$variables['classes_array'][] = "entity-type-{$entity->bundle_type}";
}
/**
* make google fonts available for themes
* uncomment the font you wish to use
*
*/
// Droid font family: a complete family with serif and sans
drupal_add_css('https://fonts.googleapis.com/css?family=Droid+Serif|Droid+Sans:400,700&subset=latin,latin-ext', array('type' => 'external'));
// Signika font: only serif
drupal_add_css('https://fonts.googleapis.com/css?family=Signika:400,600,700,300&subset=latin,latin-ext', array('type' => 'external'));
// PT font family: a complete family with serif and sans
drupal_add_css('https://fonts.googleapis.com/css?family=PT+Serif|PT+Sans|PT+Sans+Narrow|PT+Sans+Caption&subset=latin,latin-ext', array('type' => 'external'));
// Add Font-Awesome
drupal_add_css('css/font-awesome.min.css');
//drupal_add_css('bootstrap/css/bootstrap.css');
}
?>