Skip to content

Commit

Permalink
add twitter follow button
Browse files Browse the repository at this point in the history
  • Loading branch information
afeld committed Nov 23, 2015
1 parent a3fc6b5 commit 2e806e8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
</div>
<div class="col-sm-9">
{{ content }}
<footer>
<a href="https://twitter.com/aidanfeldman" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @aidanfeldman</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+':https://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</footer>
</div>
</div>
</div>
Expand Down
5 changes: 5 additions & 0 deletions assets/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
text-align: center;
}

footer {
margin-top: 50px;
text-align: center;
}

/* small screens */
@media (max-width: 768px) {
/* override the Affix plugin so that the navigation isn't sticky */
Expand Down

0 comments on commit 2e806e8

Please sign in to comment.