ldc-le-gaulois-pro/config/sitemap-generator.php
2025-10-13 15:38:30 +02:00

104 lines
2.3 KiB
PHP

<?php
return [
/**
* Single route names
*
* Ex:
*
* 'singlePages' => [
* 'homepage',
* ],
*/
'singlePages' => [
'fo.homepage',
'fo.adn.adn',
'fo.adn.btob',
'fo.adn.breeder',
'fo.engagments.francais',
'fo.engagments.eleverdurablement',
'fo.engagments.biennourrir',
'fo.engagments.respecterlaterre',
'fo.engagments.vivreensemble',
'fo.expertise.canard',
'fo.expertise.dinde',
'fo.expertise.lapin',
'fo.expertise.pintade',
'fo.expertise.poulet',
'fo.ideas.ideas',
'fo.ideas.tips.index',
'fo.ideas.recipes.index',
'fo.products.index',
'fo.news.index',
'fo.contact.show',
'fo.group',
'fo.trade',
'fo.dealer',
'fo.baker',
'fo.policies',
'fo.legals',
'fo.search'
],
/**
* Model namespaces with filters
*
* Ex:
* 'cruds' => [
* [
* 'model' => 'App\Models\Product',
* 'filters' => [
* ['published', '=', true]
* ]
* ],
* [
* 'model' => 'App\Models\Article',
* 'filters' => []
* ]
* ],
*/
'cruds' => [
[
'model' => 'App\Models\Advice',
'filters' => [
['published', '=', true]
]
],
[
'model' => 'App\Models\Range',
'filters' => []
],
[
'model' => 'App\Models\Product',
'filters' => [
['published', '=', true]
]
],
[
'model' => 'App\Models\News',
'filters' => [
['published', '=', true]
]
]
],
/**
* Enable or disable schedule for the job
* If set to true the sitemap generator will be run
* using the 'cron' instruction
*/
'schedule' => true,
/**
* If you want to set specific
* instruction for when to schedule job
* you can set this with a cron instruction
* You can generate one using https://crontab.guru/
*
* schedule must be set to true
*
* Default is every day at 15:45
*/
'cron' => '45 15 * * *',
];