Skip to content

Commit ef16ead

Browse files
committed
Adding tracking links; disqus; sidebar links in new tabs
1 parent 763ce57 commit ef16ead

10 files changed

Lines changed: 140 additions & 25 deletions

File tree

‎archives.html‎

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ <h1 class="brand-main">
3232
</h1>
3333
<p class="tagline"></p>
3434
<p class="social">
35-
<a href="http://www.meetup.com/kochi-python/">
35+
<a href="http://www.meetup.com/kochi-python/" target="_blank">
3636
<i class="fa fa-group fa-1x"></i>
3737
</a>
38-
<a href="https://github.com/kochi-python/">
38+
<a href="https://github.com/kochi-python/" target="_blank">
3939
<i class="fa fa-github fa-1x"></i>
4040
</a>
41-
<a href="https://twitter.com/kochi_python">
41+
<a href="https://twitter.com/kochi_python" target="_blank">
4242
<i class="fa fa-twitter-square fa-1x"></i>
4343
</a>
44-
<a href="https://twitter.com/kochi_python">
44+
<a href="https://www.facebook.com/groups/kochi-python" target="_blank">
4545
<i class="fa fa-facebook fa-1x"></i>
4646
</a>
4747
<p>
@@ -93,5 +93,15 @@ <h4 class="archive-date">07 October</h4>
9393
event.preventDefault();
9494
});
9595
</script>
96+
<script type="text/javascript">
97+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
98+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
99+
</script>
100+
<script type="text/javascript">
101+
try {
102+
var pageTracker = _gat._getTracker("UA-56551965-1");
103+
pageTracker._trackPageview();
104+
} catch(err) {}
105+
</script>
96106
</body>
97107
</html>

‎author/jasim-muhammed.html‎

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ <h1 class="brand-main">
3232
</h1>
3333
<p class="tagline"></p>
3434
<p class="social">
35-
<a href="http://www.meetup.com/kochi-python/">
35+
<a href="http://www.meetup.com/kochi-python/" target="_blank">
3636
<i class="fa fa-group fa-1x"></i>
3737
</a>
38-
<a href="https://github.com/kochi-python/">
38+
<a href="https://github.com/kochi-python/" target="_blank">
3939
<i class="fa fa-github fa-1x"></i>
4040
</a>
41-
<a href="https://twitter.com/kochi_python">
41+
<a href="https://twitter.com/kochi_python" target="_blank">
4242
<i class="fa fa-twitter-square fa-1x"></i>
4343
</a>
44-
<a href="https://twitter.com/kochi_python">
44+
<a href="https://www.facebook.com/groups/kochi-python" target="_blank">
4545
<i class="fa fa-facebook fa-1x"></i>
4646
</a>
4747
<p>
@@ -108,5 +108,15 @@ <h3><a class="post-title" href="../welcome-to-kochi-python.html">Welcome to Koch
108108
event.preventDefault();
109109
});
110110
</script>
111+
<script type="text/javascript">
112+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
113+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
114+
</script>
115+
<script type="text/javascript">
116+
try {
117+
var pageTracker = _gat._getTracker("UA-56551965-1");
118+
pageTracker._trackPageview();
119+
} catch(err) {}
120+
</script>
111121
</body>
112122
</html>

‎authors.html‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,15 @@ <h1>Authors on Kochi Python</h1>
4545
event.preventDefault();
4646
});
4747
</script>
48+
<script type="text/javascript">
49+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
50+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
51+
</script>
52+
<script type="text/javascript">
53+
try {
54+
var pageTracker = _gat._getTracker("UA-56551965-1");
55+
pageTracker._trackPageview();
56+
} catch(err) {}
57+
</script>
4858
</body>
4959
</html>

‎categories.html‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,15 @@
4444
event.preventDefault();
4545
});
4646
</script>
47+
<script type="text/javascript">
48+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
49+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
50+
</script>
51+
<script type="text/javascript">
52+
try {
53+
var pageTracker = _gat._getTracker("UA-56551965-1");
54+
pageTracker._trackPageview();
55+
} catch(err) {}
56+
</script>
4757
</body>
4858
</html>

‎category/meetup.html‎

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ <h1 class="brand-main">
3232
</h1>
3333
<p class="tagline"></p>
3434
<p class="social">
35-
<a href="http://www.meetup.com/kochi-python/">
35+
<a href="http://www.meetup.com/kochi-python/" target="_blank">
3636
<i class="fa fa-group fa-1x"></i>
3737
</a>
38-
<a href="https://github.com/kochi-python/">
38+
<a href="https://github.com/kochi-python/" target="_blank">
3939
<i class="fa fa-github fa-1x"></i>
4040
</a>
41-
<a href="https://twitter.com/kochi_python">
41+
<a href="https://twitter.com/kochi_python" target="_blank">
4242
<i class="fa fa-twitter-square fa-1x"></i>
4343
</a>
44-
<a href="https://twitter.com/kochi_python">
44+
<a href="https://www.facebook.com/groups/kochi-python" target="_blank">
4545
<i class="fa fa-facebook fa-1x"></i>
4646
</a>
4747
<p>
@@ -108,5 +108,15 @@ <h3><a class="post-title" href="../welcome-to-kochi-python.html">Welcome to Koch
108108
event.preventDefault();
109109
});
110110
</script>
111+
<script type="text/javascript">
112+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
113+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
114+
</script>
115+
<script type="text/javascript">
116+
try {
117+
var pageTracker = _gat._getTracker("UA-56551965-1");
118+
pageTracker._trackPageview();
119+
} catch(err) {}
120+
</script>
111121
</body>
112122
</html>

‎index.html‎

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ <h1 class="brand-main">
3232
</h1>
3333
<p class="tagline"></p>
3434
<p class="social">
35-
<a href="http://www.meetup.com/kochi-python/">
35+
<a href="http://www.meetup.com/kochi-python/" target="_blank">
3636
<i class="fa fa-group fa-1x"></i>
3737
</a>
38-
<a href="https://github.com/kochi-python/">
38+
<a href="https://github.com/kochi-python/" target="_blank">
3939
<i class="fa fa-github fa-1x"></i>
4040
</a>
41-
<a href="https://twitter.com/kochi_python">
41+
<a href="https://twitter.com/kochi_python" target="_blank">
4242
<i class="fa fa-twitter-square fa-1x"></i>
4343
</a>
44-
<a href="https://twitter.com/kochi_python">
44+
<a href="https://www.facebook.com/groups/kochi-python" target="_blank">
4545
<i class="fa fa-facebook fa-1x"></i>
4646
</a>
4747
<p>
@@ -109,5 +109,15 @@ <h3><a class="post-title" href="./welcome-to-kochi-python.html">Welcome to Kochi
109109
event.preventDefault();
110110
});
111111
</script>
112+
<script type="text/javascript">
113+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
114+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
115+
</script>
116+
<script type="text/javascript">
117+
try {
118+
var pageTracker = _gat._getTracker("UA-56551965-1");
119+
pageTracker._trackPageview();
120+
} catch(err) {}
121+
</script>
112122
</body>
113123
</html>

‎tag/meetup.html‎

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ <h1 class="brand-main">
3232
</h1>
3333
<p class="tagline"></p>
3434
<p class="social">
35-
<a href="http://www.meetup.com/kochi-python/">
35+
<a href="http://www.meetup.com/kochi-python/" target="_blank">
3636
<i class="fa fa-group fa-1x"></i>
3737
</a>
38-
<a href="https://github.com/kochi-python/">
38+
<a href="https://github.com/kochi-python/" target="_blank">
3939
<i class="fa fa-github fa-1x"></i>
4040
</a>
41-
<a href="https://twitter.com/kochi_python">
41+
<a href="https://twitter.com/kochi_python" target="_blank">
4242
<i class="fa fa-twitter-square fa-1x"></i>
4343
</a>
44-
<a href="https://twitter.com/kochi_python">
44+
<a href="https://www.facebook.com/groups/kochi-python" target="_blank">
4545
<i class="fa fa-facebook fa-1x"></i>
4646
</a>
4747
<p>
@@ -108,5 +108,15 @@ <h3><a class="post-title" href="../welcome-to-kochi-python.html">Welcome to Koch
108108
event.preventDefault();
109109
});
110110
</script>
111+
<script type="text/javascript">
112+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
113+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
114+
</script>
115+
<script type="text/javascript">
116+
try {
117+
var pageTracker = _gat._getTracker("UA-56551965-1");
118+
pageTracker._trackPageview();
119+
} catch(err) {}
120+
</script>
111121
</body>
112122
</html>

‎tag/python.html‎

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ <h1 class="brand-main">
3232
</h1>
3333
<p class="tagline"></p>
3434
<p class="social">
35-
<a href="http://www.meetup.com/kochi-python/">
35+
<a href="http://www.meetup.com/kochi-python/" target="_blank">
3636
<i class="fa fa-group fa-1x"></i>
3737
</a>
38-
<a href="https://github.com/kochi-python/">
38+
<a href="https://github.com/kochi-python/" target="_blank">
3939
<i class="fa fa-github fa-1x"></i>
4040
</a>
41-
<a href="https://twitter.com/kochi_python">
41+
<a href="https://twitter.com/kochi_python" target="_blank">
4242
<i class="fa fa-twitter-square fa-1x"></i>
4343
</a>
44-
<a href="https://twitter.com/kochi_python">
44+
<a href="https://www.facebook.com/groups/kochi-python" target="_blank">
4545
<i class="fa fa-facebook fa-1x"></i>
4646
</a>
4747
<p>
@@ -108,5 +108,15 @@ <h3><a class="post-title" href="../welcome-to-kochi-python.html">Welcome to Koch
108108
event.preventDefault();
109109
});
110110
</script>
111+
<script type="text/javascript">
112+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
113+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
114+
</script>
115+
<script type="text/javascript">
116+
try {
117+
var pageTracker = _gat._getTracker("UA-56551965-1");
118+
pageTracker._trackPageview();
119+
} catch(err) {}
120+
</script>
111121
</body>
112122
</html>

‎tags.html‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,15 @@ <h1>Tags for Kochi Python</h1> <li><a href="./tag/meetup.html">meetup</a>
4343
event.preventDefault();
4444
});
4545
</script>
46+
<script type="text/javascript">
47+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
48+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
49+
</script>
50+
<script type="text/javascript">
51+
try {
52+
var pageTracker = _gat._getTracker("UA-56551965-1");
53+
pageTracker._trackPageview();
54+
} catch(err) {}
55+
</script>
4656
</body>
4757
</html>

‎welcome-to-kochi-python.html‎

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,22 @@ <h1>Welcome to Kochi Python</h1>
7878
<p>Come, Join hands and get illuminated.</p>
7979
<div class="hr"></div>
8080
<a href="#" class="go-top">Go Top</a>
81-
<footer class="footer">
81+
<div class="comments">
82+
<div id="disqus_thread"></div>
83+
<script type="text/javascript">
84+
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
85+
var disqus_shortname = "kochipython"; // required: replace example with your forum shortname
86+
87+
/* * * DON'T EDIT BELOW THIS LINE * * */
88+
(function() {
89+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
90+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
91+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
92+
})();
93+
</script>
94+
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
95+
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
96+
</div><footer class="footer">
8297
<p>&copy; Kochi Python &ndash;
8398
Built with <a href="https://github.com/PurePelicanTheme/pure">Pure Theme</a>
8499
for <a href="http://blog.getpelican.com/">Pelican</a>
@@ -110,5 +125,15 @@ <h1>Welcome to Kochi Python</h1>
110125
event.preventDefault();
111126
});
112127
</script>
128+
<script type="text/javascript">
129+
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
130+
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
131+
</script>
132+
<script type="text/javascript">
133+
try {
134+
var pageTracker = _gat._getTracker("UA-56551965-1");
135+
pageTracker._trackPageview();
136+
} catch(err) {}
137+
</script>
113138
</body>
114139
</html>

0 commit comments

Comments
 (0)