✨ Ajoute la page de listing public
This commit is contained in:
36
config/feed.php
Normal file
36
config/feed.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'feeds' => [
|
||||
'main' => [
|
||||
/*
|
||||
* Here you can specify which class and method will return
|
||||
* the items that should appear in the feed. For example:
|
||||
* 'App\Model@getAllFeedItems'
|
||||
*
|
||||
* You can also pass an argument to that method:
|
||||
* ['App\Model@getAllFeedItems', 'argument']
|
||||
*/
|
||||
'items' => 'App\Home@getFeedItems',
|
||||
|
||||
/*
|
||||
* The feed will be available on this url.
|
||||
*/
|
||||
'url' => '/feed',
|
||||
|
||||
'title' => 'Les maisons de Bretagne',
|
||||
'description' => 'La sélection',
|
||||
'language' => 'fr-FR',
|
||||
|
||||
/*
|
||||
* The view that will render the feed.
|
||||
*/
|
||||
'view' => 'feed::atom',
|
||||
|
||||
/*
|
||||
* The type to be used in the <link> tag
|
||||
*/
|
||||
'type' => 'application/atom+xml',
|
||||
],
|
||||
],
|
||||
];
|
Reference in New Issue
Block a user