-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
20 lines (17 loc) · 841 Bytes
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
use Illuminate\Support\Str;
return [
'production' => false,
'baseUrl' => '',
'title' => 'Check4Decision',
'language' => 'fr',
'description' => "Check4Decision: Projet de recherche financé par le CEA-MITIC, qui traite les questions relatives à l'automatisation de la collecte et l'agrégation de données mais aussi de la vérification des faits (fact-checking) dans le contexte web journalistique.",
'shortDescription' => 'Check4Decision: Projet de recherche financé par le CEA-MITIC.',
'collections' => ['axes', 'responsables', 'stagiaires', 'publications'],
'linkIsActive' => function ($page, $section) {
if (empty($page->getPath()) && empty($section)) { // Page d'accueil path => ''
return true;
}
return Str::contains($page->getPath(), $section);
}
];