MetaFilter is primarily a collection of blog subsites:
There are also smaller secondary subsites:
The home page of all the primary blog subsites is handled by the index function of the PostController. The boot function in AppServiceProvider looks up the subsite from the subdomain in the URL and sets the subsite. The post repository gets the posts for the subsite from the database and the controller passes them to the view.
Thank you for considering contributing to MetaFilter2024. The contribution guide can be found in the Laravel documentation.
In order to ensure that the MetaFilter coding community is welcoming to all, please review and abide by the Code of Conduct.
MetaFilter2024 is open-sourced software licensed under the MIT license.