jekyll-theme-perry 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa83f7d953891d6a2c21f7172c7af9af8fe0cf1e
4
- data.tar.gz: d3c3bcfe3677e3d838511a41f4235ceab0645819
3
+ metadata.gz: 7e890dab3f7716c9c3f243e845ddc24fb5e952b6
4
+ data.tar.gz: 2aaea4149d3715bef020881130bd9a72808b9b31
5
5
  SHA512:
6
- metadata.gz: c82b070a32541a41f4a3d08fd3c4293642e774cf94c9180c17bb137df805cc5771389f9606b722a9f995257840a7a5f9666ff9cc4ce1dae79d7a16bcb0374e9d
7
- data.tar.gz: fd85361a863f38e0d5d4b2dd414bb0f7f336b2d94c3842cff05b31557d8ad33a5e13bd3ad3622bd57357915744f021b6f17b941511b0ff8967f486545e5b9e09
6
+ metadata.gz: 5070309183b6db6d97efb5e78a8d331797a006093d552ebdf87b1743b181942112b37baa14bdb4570120f28c1ab1eead095f545774ac670c1689062581d1db9d
7
+ data.tar.gz: 523672af373e9490d3ac39af49b9a73ba36aa46558da938e88943da42afb94b002b8cdb9499299730252055aaa66668473f7224b2857cf43bd1dbb256f482082
@@ -1,32 +1,21 @@
1
1
  {% if jekyll.environment == 'production' %}{% if page.comments and site.disqus.shortname %}{% capture identifier %}{% if page.wordpress_id %}{{ page.wordpress_id }}{% else %}{{ page.url }}{% endif %}{% endcapture %}<div id="disqus_thread"></div>
2
- <script>
2
+ <script type="text/javascript">
3
+ var disqus_shortname = '{{site.disqus.shortname}}'
3
4
  var disqus_config = function () {
4
- this.page.url = {{site.url}}{{page.url}}; // Replace PAGE_URL with your page's canonical URL variable
5
- this.page.identifier = {{ identifier }}; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
5
+ this.page.url = {{site.url}}{{page.url}};
6
+ this.page.identifier = {{ identifier }};
6
7
  };
7
8
 
8
- (function() { // REQUIRED CONFIGURATION VARIABLE: EDIT THE SHORTNAME BELOW
9
+ (function() {
9
10
  var d = document, s = d.createElement('script');
10
-
11
- s.src = '//{{ site.disqus.shortname }}.disqus.com/embed.js'; // IMPORTANT: Replace EXAMPLE with your forum shortname!
12
-
11
+ s.src = '//' + disqus_shortname + '.disqus.com/embed.js';
13
12
  s.setAttribute('data-timestamp', +new Date());
14
13
  (d.head || d.body).appendChild(s);
15
14
  })();
16
15
  </script>
17
16
  <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
18
17
  <a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>{% endif %}
19
- {% if site.google.analytics %}<script>
20
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
21
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
22
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
23
- })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
24
-
25
- ga('create', '{{site.google.analytics}}', 'auto');
26
- ga('send', 'pageview');
27
-
28
- </script>
29
- {% endif %}{% endif %}
30
- <script defer src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
18
+ {% endif %}
19
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
31
20
  <script defer src="/assets/scripts/vendor/jquery.colorbox.min.js"></script>
32
21
  <script defer src="/assets/scripts/main.min.js"></script>
@@ -15,6 +15,15 @@
15
15
  <link rel='author' href='https://plus.google.com/{{auth.google}}'>
16
16
 
17
17
  <script defer src='/assets/scripts/vendor/modernizr-2.6.2-respond-1.1.0.min.js'></script>
18
+ {% if jekyll.environment == 'production' and site.google.analytics %}<script>
19
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
20
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
21
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
22
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
23
+
24
+ ga('create', '{{site.google.analytics}}', 'auto');
25
+ ga('send', 'pageview');
26
+ </script>{% endif %}
18
27
 
19
28
  {% seo title=false %}
20
29
  </head>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-perry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Perry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-06 00:00:00.000000000 Z
11
+ date: 2017-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.3'
19
+ version: '3.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.3'
26
+ version: '3.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-archives
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.11'
47
+ version: '0.12'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.11'
54
+ version: '0.12'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: jekyll-seo-tag
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.12'
75
+ version: '1.13'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.12'
82
+ version: '1.13'
83
83
  description:
84
84
  email:
85
85
  - gems@perrymail.me.uk