bvdputte / kirby-autopublish

Kirby plugin to schedule the automatic publishing of pages on a certain date+time. Built to work with enabled cache.
MIT License
33 stars 6 forks source link

add support for top level pages #12

Open hariom147 opened 2 years ago

hariom147 commented 2 years ago

I needed to use your autopublish plugin for top level pages and therefore added them to the collection of drafts to publish respectively the collection of pages to be unpublished.

I would like to propose adding this feature to your plugin.

If for some reason I didn't think of top level pages are left out for a certain reason, I am happy to edit the code in a way that enables top level pages via an option, for example. Just let me know.

Thanks for the great plugin, it really helped me out.