diff --git a/README.md b/README.md index 1efdc79..40e0e4c 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,8 @@ templateData: site: url: 'http://my-production-website.com' services: - buttons: ['FacebookLike'] # used to customise the order of the buttons + socialButtons: ['FacebookLike'] # used to customise the order of the social buttons + serviceBadges: ['Flattr'] # used to customise the order of the service badges facebookLikeButton: applicationId: '266367676718271' diff --git a/src/services.plugin.coffee b/src/services.plugin.coffee index 0f7812b..09dc855 100644 --- a/src/services.plugin.coffee +++ b/src/services.plugin.coffee @@ -40,7 +40,7 @@ module.exports = (BasePlugin) -> getSocialButtons: (services) -> # Prepare services ?= @getServices() - buttons = services.buttons or [ + buttons = services.socialButtons or [ 'GooglePlusOne' 'RedditSubmit' 'HackerNewsSubmit' @@ -73,7 +73,7 @@ module.exports = (BasePlugin) -> getServiceBadges: (services) -> # Prepare services ?= @getServices() - buttons = services.buttons or [ + buttons = services.serviceBadges or [ 'TravisStatus' 'Fury' 'Gittip'