Ignore:
Timestamp:
Dec 17, 2015, 11:18:30 PM (5 years ago)
Author:
p@…
Message:

Simplifier le pipeline CSS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/foundation_6/trunk/foundation_6_pipelines.php

    r93772 r93773  
    3232*/
    3333function foundation_6_insert_head_css ($flux) {
    34   include_spip('inc/foundation');
    35   return foundation_get_css($flux);
     34
     35    // Si on est en mode app, on revoie le bon squelette
     36  if (_FOUNDATION_SASS) {
     37      $flux .= recuperer_fond('inclure/css/head-foundation-app');
     38  }
     39  else {
     40    $flux .= recuperer_fond('inclure/css/head-foundation');
     41  }
     42
     43  return $flux;
    3644}
Note: See TracChangeset for help on using the changeset viewer.