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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9da7989c02beb8a0a6f35f8986a331f5dec76259
4
- data.tar.gz: 8dda677482fcb2a2cf9adce109ca0b7c2fa77c54
3
+ metadata.gz: 6847d6bb721f8d10ee6757ff57f9706328c86168
4
+ data.tar.gz: 7291afa99b70ed8c7e3e509dad23839f0643dcbb
5
5
  SHA512:
6
- metadata.gz: e305669e7b83ddf3df504585a577d6efaae4730594187139c3083796b9bfd17b271e51774f3d9824402c0172410db59ac1a355e2b604d3847cb70aeecbd95988
7
- data.tar.gz: 0bfa9541871cd4746de2473ea1fcddb87bf9db481fcba48a4d2bc48de0c8716627626fdb029c74ca5ba0f6975378bd88b90d4737a5eabe2af4ad6c1529a7b4a1
6
+ metadata.gz: 18b40d517ce6b93b2f8aa285695e900ddb0c5f7dd5df32845ef5c2e1d2423547b99155c7110782775e053b2759cb217e4154e12a13206b1aebfd77a97673c96e
7
+ data.tar.gz: ad637ad627f608db9febe101d84d7f5adaca95b448a7197f894cf50b21411c98aa11b483efa3838b04d6dd18b0659f8900e1bf305078d8044826535d3985b1d9
@@ -1,27 +1,53 @@
1
1
  <script type="text/javascript">
2
2
 
3
- function defer(method) {
4
- if (window.jQuery) {
5
- method();
6
- } else {
7
- setTimeout(function() { defer(method) }, 50);
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
 
@@ -1,6 +1,5 @@
1
1
  //= require vendor/jquery
2
2
  //= require vendor/bootstrap
3
- //= require vendor/mc
4
3
  //= require vendor/cookieconsent
5
4
  //= require vendor/lazysizes
6
5
 
@@ -1,6 +1,5 @@
1
1
  //= require vendor/jquery
2
2
  //= require vendor/bootstrap
3
- //= require vendor/mc
4
3
  //= require vendor/cookieconsent
5
4
  //= require vendor/owl.carousel
6
5
  //= require vendor/lazysizes
@@ -1,6 +1,5 @@
1
1
  //= require vendor/jquery
2
2
  //= require vendor/bootstrap
3
- //= require vendor/mc
4
3
  //= require vendor/cookieconsent
5
4
  //= require vendor/lazysizes
6
5
  //= require vendor/owl.carousel
@@ -1,6 +1,5 @@
1
1
  //= require vendor/jquery
2
2
  //= require vendor/bootstrap
3
- //= require vendor/mc
4
3
  //= require vendor/cookieconsent
5
4
  //= require vendor/lazysizes
6
5
 
@@ -0,0 +1,6 @@
1
+ //= require vendor/jquery
2
+ //= require vendor/bootstrap
3
+ //= require vendor/cookieconsent
4
+ //= require vendor/lazysizes
5
+ //= require app/main
6
+ //= require app/custom
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.5.5
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.8'
19
+ version: '3.7'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.8.0
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.8'
29
+ version: '3.7'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.8.0
32
+ version: 3.7.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: jekyll-seo-tag
35
35
  requirement: !ruby/object:Gem::Requirement