WonderCMS / wondercms

Fast and small flat file CMS (5 files). Built with PHP, JSON database.
https://wondercms.com
MIT License
642 stars 163 forks source link

Option to display Blog on homepage #308

Open Thatoo opened 7 months ago

Thatoo commented 7 months ago

Would it be possible to have the choice to display the blog page (from the plugin) as the homepage?

robiso commented 7 months ago

This can be currently done by editing your database.js and changing the defaultPage to "blog" as so: "defaultPage": "blog",

This will make your landing page URL show the blog directly.

We'll make sure to add this to one of our next releases. Also, make sure to create a backup of your website before making any manual changes to your database.js file.

Thatoo commented 6 months ago

It works, awesome! Would be nice indeed to include this option in the next release. An other improvment would be to be able to choose where to put Blog in the menu. It goes directly at the end of the menu but it would be nice to be able to put it first for example.