jumbo-jekyll-theme 1.5.5 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/newsletter-script.html +35 -9
- data/assets/js/package-blog.js +0 -1
- data/assets/js/package-extended.js +0 -1
- data/assets/js/package-home.js +0 -1
- data/assets/js/package-main.js +0 -1
- data/assets/js/package-search.js +6 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6847d6bb721f8d10ee6757ff57f9706328c86168
|
4
|
+
data.tar.gz: 7291afa99b70ed8c7e3e509dad23839f0643dcbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18b40d517ce6b93b2f8aa285695e900ddb0c5f7dd5df32845ef5c2e1d2423547b99155c7110782775e053b2759cb217e4154e12a13206b1aebfd77a97673c96e
|
7
|
+
data.tar.gz: ad637ad627f608db9febe101d84d7f5adaca95b448a7197f894cf50b21411c98aa11b483efa3838b04d6dd18b0659f8900e1bf305078d8044826535d3985b1d9
|
@@ -1,27 +1,53 @@
|
|
1
1
|
<script type="text/javascript">
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
// Fill in your MailChimp popup settings below.
|
4
|
+
// These can be found in the original popup script from MailChimp.
|
5
|
+
var mailchimpConfig = {
|
6
|
+
baseUrl: 'mc.us3.list-manage.com',
|
7
|
+
uuid: '14baaae786342d0d405ee59c2',
|
8
|
+
lid: '{{site.data.settings.mailchimp.id}}'
|
9
|
+
};
|
10
|
+
|
11
|
+
function defer(method) {
|
12
|
+
if (window.jQuery) {
|
13
|
+
method();
|
14
|
+
} else {
|
15
|
+
setTimeout(function() { defer(method) }, 50);
|
16
|
+
}
|
8
17
|
}
|
9
|
-
}
|
10
18
|
|
11
19
|
function showMailingPopUp() {
|
12
20
|
|
13
21
|
document.cookie = "MCPopupClosed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
|
14
22
|
document.cookie = "MCPopupSubscribed=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/";
|
23
|
+
|
24
|
+
var mailchimpConfig = {
|
25
|
+
baseUrl: 'mc.us3.list-manage.com',
|
26
|
+
uuid: '14baaae786342d0d405ee59c2',
|
27
|
+
lid: '{{site.data.settings.mailchimp.id}}'
|
28
|
+
};
|
29
|
+
|
30
|
+
// No edits below this line are required
|
31
|
+
var chimpPopupLoader = document.createElement("script");
|
32
|
+
chimpPopupLoader.src = '//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js';
|
33
|
+
chimpPopupLoader.setAttribute('data-dojo-config', 'usePlainJson: true, isDebug: false');
|
34
|
+
|
35
|
+
var chimpPopup = document.createElement("script");
|
36
|
+
chimpPopup.appendChild(document.createTextNode('require(["mojo/signup-forms/Loader"], function (L) { L.start({"baseUrl": "' + mailchimpConfig.baseUrl + '", "uuid": "' + mailchimpConfig.uuid + '", "lid": "' + mailchimpConfig.lid + '"})});'));
|
15
37
|
|
16
|
-
require(["mojo/signup-forms/Loader"], function(L) { L.start(
|
17
|
-
{"baseUrl":"mc.us3.list-manage.com","uuid":"14baaae786342d0d405ee59c2","lid":"{{site.data.settings.mailchimp.id}}"}
|
18
|
-
) })
|
19
38
|
};
|
20
39
|
|
21
40
|
defer(function () {
|
22
41
|
$("#open-newsletter-popup").on('click', function() {
|
23
42
|
showMailingPopUp();
|
24
43
|
});
|
44
|
+
|
45
|
+
document.body.appendChild(chimpPopupLoader);
|
46
|
+
|
47
|
+
$(window).load(function () {
|
48
|
+
document.body.appendChild(chimpPopup);
|
49
|
+
});
|
50
|
+
|
25
51
|
});
|
26
52
|
|
27
53
|
|
data/assets/js/package-blog.js
CHANGED
data/assets/js/package-home.js
CHANGED
data/assets/js/package-main.js
CHANGED
data/assets/js/package-search.js
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jumbo-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Kirkby
|
@@ -16,20 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.7'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.7.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '3.
|
29
|
+
version: '3.7'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.7.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: jekyll-seo-tag
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|