added publications and some skrollr animations to home v2

This commit is contained in:
Bachir Soussi Chiadmi
2015-06-03 20:06:35 +02:00
parent 6ceb7d6534
commit e12a664fa5
54 changed files with 5165 additions and 78 deletions

View File

@@ -268,7 +268,7 @@ function materiobasetheme_image_style($variables) {
$figure = '<figure style="'.$fig_dimensions.'" ' . (isset($variables['title']) ? 'title="'.$variables['title'].'"' : '') . '>';
// lazyload
$excluded_styles = array('pdf', 'card-bookmark', 'content_full', 'content_teaser', 'didactique_page');
$excluded_styles = array('pdf', 'card-bookmark', 'content_full', 'content_teaser', 'didactique_page', 'publications-home');
if(!in_array($variables['style_name'], $excluded_styles) && ( (isset($variables['delta']) && $variables['delta'] > 0) || !isset($variables['delta']) ) ){
// store the real path