Closed nylnook closed 8 years ago
Thanks for the contribution @nylnook! Looks like tests are failing on travis. You'll need to update the expected feed xml here with the new titles.
I'd expect collectionConfig.title
to completely replace site.title
if it's set. In coffeescript you might accomplish that with title: collectionConfig.title ? site.title
. The collection author can always set the title based on the site title in their docpad.coffee file.
Finally, we should document the new title
option on the readme.
As explained in Issue #11... But to test to know if collectionConfig.title is empty before adding this ' | ' would be welcome... but I can't manage to add a if else statement in this file...