Skip to content

Commit 52e730f

Browse files
committed
remove the wrong javascripts; add google analytics tracking id to _config.yml
1 parent 21b45e4 commit 52e730f

File tree

3 files changed

+1
-29
lines changed

3 files changed

+1
-29
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ footer-links:
3434
disqus:
3535

3636
# Enter your Google Analytics web tracking code (e.g. UA-2110908-2) to activate tracking
37-
google_analytics:
37+
google_analytics: UA-58930825-1
3838

3939
# Your website URL (e.g. http://barryclark.github.io or http://www.barryclark.co)
4040
# Used for Sitemap.xml and your RSS feed

_posts/2015-01-24-golden-ratio-and-fibonacci-numbers.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,6 @@ category: math
55
tags: golden_ratio, Fibonacci, series
66
---
77

8-
<script>
9-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
10-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
11-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
12-
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
13-
14-
ga('create', 'UA-58930825-1', 'auto');
15-
ga('send', 'pageview');
16-
17-
</script>
18-
19-
208
Pretty much everybody heard about the golden ratio, and if you are a little
219
math-inclined or still remember something from school, you may have heard
2210
the Fibonacci numbers too. That is, 0, 1, 1, 2, 3, 5, 8, 13, 21, etc, where

index.html

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,3 @@
1111
ga('send', 'pageview');
1212

1313
</script>
14-
15-
16-
<div class="posts">
17-
{% for post in site.posts %}
18-
<article class="post">
19-
20-
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
21-
22-
<div class="entry">
23-
{{ post.content | truncatewords:40}}
24-
</div>
25-
26-
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
27-
</article>
28-
{% endfor %}
29-
</div>

0 commit comments

Comments
 (0)