ajout du bloc head_js

This commit is contained in:
chankalan 2022-10-03 07:59:23 +02:00
parent 07e7167dbf
commit e3f6a378b1
5 changed files with 14 additions and 8 deletions

View File

@ -18,6 +18,7 @@ $GLOBALS['z_blocs'] = array(
'aside',
'connex',
'footer',
'head_js',
);
define('_CONTENT_WIDTH', 990);

View File

@ -44,10 +44,10 @@ switch (_SERVEUR_MODE) {
case 'PREPROD':
define('SPIP_ERREUR_REPORT', E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT);
error_reporting(SPIP_ERREUR_REPORT);
ini_set('display_errors', 1);
// ini_set('display_errors', 1);
define('_DEBUG_AUTORISER', true);
define('_LOG_FILTRE_GRAVITE', 8);
define('_TEST_EMAIL_DEST', 'nd@dataetic.fr');
define('_TEST_EMAIL_DEST', 'jean@choc02.com');
define('_SCSS_SOURCE_MAP', true);
break;
case 'PROD':

View File

@ -1,10 +1,10 @@
<paquet
prefix="baz_april"
categorie="squelette"
version="2.5.9"
version="2.5.10"
schema="1.0.1"
etat="stable"
compatibilite="[3.2.0;4.0.*]"
compatibilite="[3.2.0;4.1.*]"
logo="prive/themes/spip/images/baz_april-64.png"
documentation=""
>

View File

@ -0,0 +1,4 @@
[(#REM)
Ce bloc permet l'insertion de JS specifiques a une page
]

View File

@ -6,6 +6,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=#CHARSET" />
<INCLURE{fond=head/#ENV{type-page},env}>
<INCLURE{fond=inclure/head}>
<INCLURE{fond=head_js/#ENV{type-page},env}>
</head>
<INCLURE{fond=body,env}>
</html>