locomotivecms/wagon — pull request #137 by chrisjeon (2013-11-05 04:08:22+00:00)
Title: Added simple conditional that adds or removes a colon based on content type's number of attributes

For Issue #135

If there is only one content type attribute, colon at the end of file at data/example.yml won't be generated so that users won't have to manually go in and remove them.

Simple conditional that returns a colon based on config[:fields].size was added.