Skip to content

Commit 45b894f

Browse files
committed
Update themes to use new integration methods
1 parent df5bedb commit 45b894f

File tree

9 files changed

+15
-19
lines changed

9 files changed

+15
-19
lines changed

_includes/production/analytics.html

Lines changed: 0 additions & 5 deletions
This file was deleted.

_includes/themes/mark-reid/default.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ <h1>
6868
</script>
6969
<script type="text/javascript" src="http://static.ie6update.com/hosted/ie6update/ie6update.js"></script>
7070
<![endif]-->
71-
{% if site.safe %}
72-
{% include production/analytics.html %}
73-
{% endif %}
71+
72+
{% include JB/analytics %}
7473
</body>
7574
</html>

_includes/themes/mark-reid/post.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,4 @@ <h1 class="emphnext">{{ page.title }}</h1>
2525

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

28-
<!-- Discus Comments -->
29-
<div id="disqus_thread">
30-
<h2>Comment Section</h2>
31-
</div>
28+
{% include JB/comments %}

_includes/themes/the-minimum/default.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ <h4>about</h4>
7777
/*! A fix for the iOS orientationchange zoom bug.Script by @scottjehl, rebound by @wilto. MIT License.*/
7878
(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);
7979
</script>
80-
{% if site.safe %}
81-
{% include production/analytics.html %}
82-
{% endif %}
80+
81+
{% include JB/analytics %}
8382
</body>
8483
</html>

_includes/themes/the-minimum/post.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ <h1 class="h2 entry-title">{{ page.title }}</h1>
4040
<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>
4141
</ul>
4242
</div>
43+
44+
{% include JB/comments %}
4345
</div><!-- misc-content -->
46+
4447
</div><!-- bd -->
4548
<footer class="unit-foot">
4649
<div class="unit-inner unit-foot-inner">

_includes/themes/tom/default.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@
5353
</div>
5454
<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>
5555

56-
{% if site.safe %}
57-
{% include production/analytics.html %}
58-
{% endif %}
56+
{% include JB/analytics %}
5957
</body>
6058
</html>

_includes/themes/tom/post.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ <h2>Related Posts</h2>
1414
<li><span>{{ post.date | date_to_string }}</span> &raquo; <a href="{{ post.url }}">{{ post.title }}</a></li>
1515
{% endfor %}
1616
</ul>
17-
</div>
17+
</div>
18+
19+
{% include JB/comments %}

_includes/themes/twitter/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,6 @@
5454

5555
</div> <!-- /container -->
5656

57+
{% include JB/analytics %}
5758
</body>
5859
</html>

_includes/themes/twitter/post.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ <h1>{{ page.title }} <small>Supporting tagline</small></h1>
2121
{% endif %}
2222
</ul>
2323
</div>
24+
<hr>
25+
{% include JB/comments %}
2426
</div>
2527

2628
<div class="span4">

0 commit comments

Comments
 (0)