jekyll-theme-simple-texture 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/blog/scripts.html +6 -2
- data/_includes/common/disqus.html +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f1292d0038a8d7c535bfc58ae6763a0fbd6069e
|
4
|
+
data.tar.gz: 619fe255463c90ab3738ebe4ba77329b1ba80105
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e75390e5fc7be3ff9fce93b19a87f9d42dcb9f23436545dbc8cb5ee4973a89ba407b4cf06efbed19d8b01999431f00a65e70a5481407ed0eb2577d76eed417d2
|
7
|
+
data.tar.gz: b7bdb256420512867aeafe7ad8ee9fd8d22a194deb38e9a376a44c8c07f6fb0d3f3623cbd130fc33b436fd6529ac302e3a9a834074cfaf5bee588ba9b5e59a95
|
data/_includes/blog/scripts.html
CHANGED
@@ -26,7 +26,6 @@ $(document).ready(function () {
|
|
26
26
|
});
|
27
27
|
|
28
28
|
$('footer .back-to-top, .gotop').on('click', function (event) {
|
29
|
-
sendGaEvent('Blog', 'Back to Top', event.currentTarget);
|
30
29
|
event.preventDefault();
|
31
30
|
$('html, body').animate({
|
32
31
|
scrollTop: 0
|
@@ -35,7 +34,6 @@ $(document).ready(function () {
|
|
35
34
|
});
|
36
35
|
|
37
36
|
$('.show-hidden').on('click', function () {
|
38
|
-
sendGaEvent('Post', 'Show Hidden', event.currentTarget);
|
39
37
|
$(this).parent().next().toggleClass("hidden");
|
40
38
|
$(this).toggleClass("hidden");
|
41
39
|
});
|
@@ -45,6 +43,12 @@ $(document).ready(function () {
|
|
45
43
|
<!-- Google Analytics Event tracking -->
|
46
44
|
{% if site.google_analytics %}
|
47
45
|
<script>
|
46
|
+
$(document).on('click', 'footer .back-to-top, .gotop', function (event) {
|
47
|
+
sendGaEvent('Blog', 'Back to Top', event.currentTarget);
|
48
|
+
});
|
49
|
+
$(document).on('click', '.show-hidden', function (event) {
|
50
|
+
sendGaEvent('Post', 'Show Hidden', event.currentTarget);
|
51
|
+
});
|
48
52
|
$(document).on('click', 'a.internal', function(event) {
|
49
53
|
sendGaEvent('Blog', 'Navigate', event.currentTarget);
|
50
54
|
});
|
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
$.ajax({
|
8
8
|
type: 'GET',
|
9
|
-
url: '
|
9
|
+
url: '//disqus.com/api/3.0/threads/set.jsonp',
|
10
10
|
data: {
|
11
11
|
api_key: disqusPublicKey,
|
12
12
|
forum: disqusShortname,
|
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
$('.comments .show-hidden').on('click', function () {
|
26
26
|
$.ajaxSetup({cache: true});
|
27
|
-
$.getScript('
|
27
|
+
$.getScript('//' + disqusShortname + '.disqus.com/embed.js');
|
28
28
|
$.ajaxSetup({cache: false});
|
29
29
|
$(this).remove();
|
30
30
|
});
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-simple-texture
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yi Zeng
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|