Output Drafts and Collection Defaults

headshot of George smiling
George Phillips
18 December 2015

This week we have a smaller release for some highly requested configuration. We added draft post compiling and defaults for creating collection items.

Output Draft Posts

CloudCannon users can now preview draft posts in staging environments before publishing to the live site. Configure this in the Site Settings to add the --drafts flag to any Jekyll build on that site. Enabling Output draft posts will trigger a build and include drafts with posts.

Output draft posts option in Site Settings

In addition to the live site, you can preview drafts within the app. Just like posts, drafts now have the visual and markdown editor options. This will help keep you focused when writing blog posts.

Collection Defaults

Before this release, new collection items were pre-populated with cleared data from another item. Developers can now create a file within the collection folder to control default values. This file is used to define new items by cloning both the contents and filetype into the new file. Since this file begins with an underscore Jekyll will not output the file to the live site. As an exception, draft posts will always read from /_posts/ rather than /_drafts/. More details are available in our documentation.

Defaults in the File Browser

These changes were inspired by your feedback. Syncing performance and reliability is the focus of our next release. If you need anything get in touch at support@cloudcannon.com or send us a message in the app.

You might also be interested in

Illustration showing CloudCannon's Editor Panels

Component editing with Editor Panels

Dave Strydom

14 December 2021

Read more
Graphical representation of an _inputs key

Updated input configuration for your workflows


26 November 2021

Read more
Blog image for our new UI improvements

Sparking joy: CloudCannon UI improvements

Dave Strydom

12 November 2021

Read more
Don’t miss the latest
A monthly newsletter to keep you up-to-date with the latest CloudCannon news
Illustration of woman holding an envilope