Skip to content

Commit

Permalink
Merge pull request #2 from vinitkumar/gh-pages
Browse files Browse the repository at this point in the history
Fix ugly footer due to disqus
  • Loading branch information
Vinit Kumar committed Jul 1, 2014
2 parents 3bd9306 + 178f217 commit 6352889
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ paginate: 8
description: Jekyll theme for Programmers
intro: gCode is a Jekyll theme most suited to be used on tech blogs that like their content to shine.
logo: logo.png
disqus_shortname: gotchacode
disqus_shortname:
# url: http://gotchacode.com
#Comment out url when working locally to resolve base urls correctly
#url:
Expand Down
2 changes: 1 addition & 1 deletion _includes/disqus_comments.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = ''; // required: replace example with your forum shortname
var disqus_shortname = '{{ site.disqus_shortname }}'; // required: replace example with your forum shortname

/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
Expand Down
2 changes: 2 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ <h2>{{ page.title }}</h2>
<a href="https://twitter.com/share" class="twitter-share-button" data-via="{{ site.owner.twitter }}" data-size="large" data-hashtags="gotchacode">Tweet</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+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

{% if site.disqus_shortname %}
{% include disqus_comments.html %}
{% endif %}

0 comments on commit 6352889

Please sign in to comment.