Dribbble Shots

This feature enables shots to be displayed from the Dribbble API. To enable this feature, follow the steps in each section below.


Add Your Configuration

This widget requires configuration, these requirements are detailed below:

Option Note
dribbble.data.per_page Shots per page
dribbble.url URL to get shots from. These are documented here

Below is an example of how your configuration should look:

"dribbble" : {
  "data" : {
    "per_page" : 4,
  },
  "url" : "http://api.dribbble.com/players/mikedidthis/shots"
},

To add your configuration, follow the steps below:

  1. Locate the theme folder. Example: /ghost/content/themes/ghost-theme/
  2. Open partials/config.hbs
  3. Add your configuration.
  4. Save partials/config.hbs

Add Theme Partial

This widget requires a theme partial. To add the partial, follow the steps below:

  1. Open default.hbs
  2. Find {{!> "dribbble" }}
  3. Remove the exclamation mark to add the partial
  4. Save default.hbs
  5. Restart Ghost

Still need help? Contact Us Contact Us