Skip to content

Commit

Permalink
Update themes to use new integration methods
Browse files Browse the repository at this point in the history
  • Loading branch information
plusjade committed Jan 21, 2012
1 parent df5bedb commit 45b894f
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 19 deletions.
5 changes: 0 additions & 5 deletions _includes/production/analytics.html

This file was deleted.

5 changes: 2 additions & 3 deletions _includes/themes/mark-reid/default.html
Expand Up @@ -68,8 +68,7 @@ <h1>
</script>
<script type="text/javascript" src="http://static.ie6update.com/hosted/ie6update/ie6update.js"></script>
<![endif]-->
{% if site.safe %}
{% include production/analytics.html %}
{% endif %}

{% include JB/analytics %}
</body>
</html>
5 changes: 1 addition & 4 deletions _includes/themes/mark-reid/post.html
Expand Up @@ -25,7 +25,4 @@ <h1 class="emphnext">{{ page.title }}</h1>

</div><!-- End Page -->

<!-- Discus Comments -->
<div id="disqus_thread">
<h2>Comment Section</h2>
</div>
{% include JB/comments %}
5 changes: 2 additions & 3 deletions _includes/themes/the-minimum/default.html
Expand Up @@ -77,8 +77,7 @@ <h4>about</h4>
/*! A fix for the iOS orientationchange zoom bug.Script by @scottjehl, rebound by @wilto. MIT License.*/
(function(j){var i=j.document;if(!i.querySelectorAll){return}var l=i.querySelectorAll("meta[name=viewport]")[0],a=l&&l.getAttribute("content"),h=a+", maximum-scale=1.0",d=a+", maximum-scale=10.0",g=true,c=j.orientation,k=0;if(!l){return}function f(){l.setAttribute("content",d);g=true}function b(){l.setAttribute("content",h);g=false}function e(m){c=Math.abs(j.orientation);k=Math.abs(m.gamma);if(k>8&&c===0){if(g){b()}}else{if(!g){f()}}}j.addEventListener("orientationchange",f,false);j.addEventListener("deviceorientation",e,false)})(this);
</script>
{% if site.safe %}
{% include production/analytics.html %}
{% endif %}

{% include JB/analytics %}
</body>
</html>
3 changes: 3 additions & 0 deletions _includes/themes/the-minimum/post.html
Expand Up @@ -40,7 +40,10 @@ <h1 class="h2 entry-title">{{ page.title }}</h1>
<li><div class="twitter-follow"><a href="https://twitter.com/{{ site.author.twitter }}" class="twitter-follow-button" data-show-count="false" data-lang="en"></a></div></li>
</ul>
</div>

{% include JB/comments %}
</div><!-- misc-content -->

</div><!-- bd -->
<footer class="unit-foot">
<div class="unit-inner unit-foot-inner">
Expand Down
4 changes: 1 addition & 3 deletions _includes/themes/tom/default.html
Expand Up @@ -53,8 +53,6 @@
</div>
<a href="http://github.com/{{ site.author.github }}"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub" /></a>

{% if site.safe %}
{% include production/analytics.html %}
{% endif %}
{% include JB/analytics %}
</body>
</html>
4 changes: 3 additions & 1 deletion _includes/themes/tom/post.html
Expand Up @@ -14,4 +14,6 @@ <h2>Related Posts</h2>
<li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
</div>
</div>

{% include JB/comments %}
1 change: 1 addition & 0 deletions _includes/themes/twitter/default.html
Expand Up @@ -54,5 +54,6 @@

</div> <!-- /container -->

{% include JB/analytics %}
</body>
</html>
2 changes: 2 additions & 0 deletions _includes/themes/twitter/post.html
Expand Up @@ -21,6 +21,8 @@ <h1>{{ page.title }} <small>Supporting tagline</small></h1>
{% endif %}
</ul>
</div>
<hr>
{% include JB/comments %}
</div>

<div class="span4">
Expand Down

0 comments on commit 45b894f

Please sign in to comment.