ldc-volena/config/sitemap-generator.php

62 lines
1.2 KiB
PHP
Raw Permalink Normal View History

2024-08-02 12:48:06 +02:00
<?php
return [
/**
* Single route names
2024-08-02 12:48:06 +02:00
*
*/
'singlePages' => [
'fo.home.show',
'fo.unveil.show',
'fo.commit.show',
'fo.listen.show',
'fo.news.index',
'fo.hire.show',
'fo.produce.show',
'fo.legals',
'fo.confidentiality',
2024-08-02 12:48:06 +02:00
],
/**
* Model namespaces with filters
2024-08-02 12:48:06 +02:00
*
*/
'cruds' => [
[
'model' => 'App\Models\News',
'filters' => [
[
'published',
'=',
true
]
]
],
[
'model' => 'App\Models\Site',
'filters' => []
],
2024-08-02 12:48:06 +02:00
],
2024-08-02 12:48:06 +02:00
/**
* 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 * * *',
];