Permalink
Browse files

Update themes to use new integration methods

  • Loading branch information...
1 parent df5bedb commit 45b894f0af391c5769355ed63876fd879e82fab4 @plusjade plusjade committed Jan 21, 2012
@@ -1,5 +0,0 @@
-<!--
- Drop your analytics in here.
- This will only be included when published to GitHub.
- We use "site.safe" variable which is true on GitHub.
--->
@@ -68,8 +68,7 @@
</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>
@@ -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 %}
@@ -77,8 +77,7 @@
/*! 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>
@@ -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">
@@ -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>
@@ -14,4 +14,6 @@
<li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
</ul>
-</div>
+</div>
+
+{% include JB/comments %}
@@ -54,5 +54,6 @@
</div> <!-- /container -->
+ {% include JB/analytics %}
</body>
</html>
@@ -21,6 +21,8 @@
{% endif %}
</ul>
</div>
+ <hr>
+ {% include JB/comments %}
</div>
<div class="span4">

0 comments on commit 45b894f

Please sign in to comment.