Config Access
You can now override all config files from the engine repository https://github.com/skimpy/engine/tree/master/config
- Just add the config file name to your own config folder. It will array merge recursive.
You can customize what uris receive entries and adjust certain query params. You can also "pin" certain posts. This is useful to pin particular posts to your home page.
config/skimpy.php
# The URIs that have all entries available in an "entries" view variable
'entries' => [
'/' => [
'template' => 'home',
'limit' => 3,
'seotitle' => 'Home',
'pinned' => [
'should-we-follow-srp-in-controllers',
'why-im-using-skimpy-cms-for-my-blog',
'how-should-we-structure-our-laravel-apps',
]
],
'articles' => [
'template' => 'articles',
'limit' => null,
'seotitle' => 'Articles',
]
]
Here is the engine code in the router that provides the new functionality
https://github.com/skimpy/engine/blob/master/src/Lumen/routes.php#L6-L35