jekyll-theme-perry 0.1.3 → 0.1.4

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/foot-scripts.html +3 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e890dab3f7716c9c3f243e845ddc24fb5e952b6
4
- data.tar.gz: 2aaea4149d3715bef020881130bd9a72808b9b31
3
+ metadata.gz: a04ea2ddbd29b6d928ad8b5845bfdede88d9b56e
4
+ data.tar.gz: 7520525d0be56071324c106639b6e592cd903008
5
5
  SHA512:
6
- metadata.gz: 5070309183b6db6d97efb5e78a8d331797a006093d552ebdf87b1743b181942112b37baa14bdb4570120f28c1ab1eead095f545774ac670c1689062581d1db9d
7
- data.tar.gz: 523672af373e9490d3ac39af49b9a73ba36aa46558da938e88943da42afb94b002b8cdb9499299730252055aaa66668473f7224b2857cf43bd1dbb256f482082
6
+ metadata.gz: db2615f372332598c3ff0bf919a3b21d9c5aa90d37fdc09d425241ba3d7849513cdd1bd443457e1140e57bbc2592053b19a84fe9675a32ac826c3579d5ceb7c8
7
+ data.tar.gz: 98f45d6cad33b930b8c3cebc93bb92aeb7bb3661d8552f5de36afa5ecd68a8aa7ac1fab1dcd9d9e8cc6baf74f4eb05554ef8679be43e9919db8c0aaa40da49af
@@ -1,6 +1,5 @@
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 type="text/javascript">
3
- var disqus_shortname = '{{site.disqus.shortname}}'
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 %}
2
+ <script>
4
3
  var disqus_config = function () {
5
4
  this.page.url = {{site.url}}{{page.url}};
6
5
  this.page.identifier = {{ identifier }};
@@ -8,7 +7,7 @@
8
7
 
9
8
  (function() {
10
9
  var d = document, s = d.createElement('script');
11
- s.src = '//' + disqus_shortname + '.disqus.com/embed.js';
10
+ s.src = '//{{site.disqus.shortname}}.disqus.com/embed.js';
12
11
  s.setAttribute('data-timestamp', +new Date());
13
12
  (d.head || d.body).appendChild(s);
14
13
  })();
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-perry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Perry