Tech and Junk

Technology Tabletop Gaming Family Life

Adding DZone Voting Badge to Octopress Posts

| Comments

I wanted to add DZone’s Voting Button to my blog posts. I did a little searching and there didn’t seem to be anything currently available. I opened up _config.yml and added the following:

_config.yml
1
2
3
# dzone badge
dzone_badge: true
dzone_style: 2

Then I added the following to source/_includes/post/sharing.html

You can see the results at the bottom of this post inline with the other sharing options. Simple as that. I’d like to figure out how to take a section of the blog post and put it in the dzone_blurb variable. If anyone has any suggestions, let me know. If I figure it out, I’ll be sure and post a follow up.

Comments