Permalink
Browse files

updated twitter share button

  • Loading branch information...
1 parent 9d6ffc8 commit 5bfdbc5e4e05790cb14ef8553a55759ef5bc890a @jgallen23 committed Jul 6, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −2 bin/markx-project.js
  2. +1 −0 layout/template.jade
@@ -51,8 +51,7 @@ if (program.build || files.length == 1) {
scripts: [
'ui/jquery.min.js',
'ui/jquery.toc.js',
- 'ui/hubinfo/hubinfo.js',
- 'ui/hubinfo-template.js'
+ 'ui/hubinfo/hubinfo.js'
]
}
},
@@ -22,6 +22,7 @@ html
user: '#{user}',
repo: '#{repo}'
}).on('render', function() {
+ $('<a href="https://twitter.com/share" class="twitter-share-button" data-via="JGAui">Tweet</a>').insertAfter('.repo-forks');
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
});
$('h2:eq(0)').before(ghInfo);

0 comments on commit 5bfdbc5

Please sign in to comment.