jekyll-theme-mdui 0.5.2.3 → 0.5.2.4

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
- SHA1:
3
- metadata.gz: 8ca3f5594f1ea73c037059fbab6302eaecd00173
4
- data.tar.gz: e955c2c5d3220ee62ae58413329a9923e5686773
2
+ SHA256:
3
+ metadata.gz: 17693c928906239453a1fa8894b35894548aad497f11e258a23cb2b9971a8df1
4
+ data.tar.gz: 3aa865aeb3678052fdb1ef42c3a24cc86025099de0a3763a7fbade4b44cd5966
5
5
  SHA512:
6
- metadata.gz: 804866003bd817843823ce68c3b4f58dc3c77eb18ad7fd7850efc3d766bc97c25d7e59d09012c59c64010ff8dd90e26537c1856ff048b454e05ea30f00f54b77
7
- data.tar.gz: ea44a9902de147c07a729fbaf160acb3e4966a6cb81291f24dbd3fa38b9a97f3f007344d5fd950a1ff649fea4d6eb1fd271fc65fd553dbcf11b6a29208193c75
6
+ metadata.gz: 33bc0d73673c3e4baeb0e84c43248b785af732fad85da093a32b48c4613b9917c965f1db16163bb464ccd879fb31b3dc8a9a19ed600b6601626e4dceeec4f243
7
+ data.tar.gz: ca0c7ecd6a093101cc8a442cf5e99a6ff56e16d1f05322351f147ec4e9bcae219d9ba6b55713e9913075fc4437282714d7b249fe054166ed507f3dadc22a08bf
@@ -1,7 +1,7 @@
1
- {% if site.data.site.lang == 'zh-CN' %}
2
- {% assign lang = site.data.lang[site.data.site.lang] %}
3
- {% else %}
1
+ {% if site.data.site.lang == null or site.data.site.lang == "" %}
4
2
  {% assign lang = site.data.lang.en-US %}
3
+ {% else %}
4
+ {% assign lang = site.data.lang[site.data.site.lang] %}
5
5
  {% endif %}
6
6
  <style>
7
7
  #disqus_thread{
@@ -1,43 +1,27 @@
1
1
  <!-- 来必力City版安装代码 -->
2
- <script>
3
- var livereurl = 'http://' + (document.location.hostname || document.location.host);
4
- $(document).delegate('a[href^="/"],a[href^="' + livereurl + '"]', "click", function (e) {
5
- $('script[src="https://cdn-city.livere.com/js/embed.dist.js"]').remove();
6
- });
7
- </script>
8
- <style>
9
- iframe+iframe {
10
- display: none;
11
- }
12
- </style>
13
- <div style="padding:0px 16px;" id="lv-container" data-id="{{site.data.site.comment.livere_type}}" data-uid="{{site.data.site.comment.livere_data_uid}}">
2
+ <div id="lv-container" style="padding:0px 16px;" data-id="{{site.data.site.comment.livere_type}}" data-uid="{{site.data.site.comment.livere_data_uid}}">
14
3
  <script type="text/javascript">
15
- $(function () {
16
- (function (d, s) {
17
- var j, e = d.getElementsByTagName(s)[0];
4
+ (function (d, s) {
5
+ var j, e = d.getElementsByTagName(s)[0];
18
6
 
19
- if (typeof LivereTower === 'function') {
20
- return;
21
- }
7
+ if (typeof LivereTower === 'function') { return; }
22
8
 
23
- j = d.createElement(s);
24
- j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
25
- j.async = true;
9
+ j = d.createElement(s);
10
+ j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
11
+ j.async = true;
26
12
 
27
- e.parentNode.insertBefore(j, e);
28
- })(document, 'script');
29
- $('script[src="https://cdn-city.livere.com/js/embed.dist.js"]').eq(1).remove();
30
- setTimeout(function () {
31
- if ($('iframe').length == 2) {
32
- var livereFlag = true;
33
- } else {
34
- $('body').find('iframe').eq(2).remove();
35
- $('body').find('iframe').eq(3).remove();
36
- var livereFlag = false;
37
- }
38
- }, 1000);
39
- })
13
+ e.parentNode.insertBefore(j, e);
14
+ })(document, 'script');
15
+ setTimeout(function () {
16
+ if ($('iframe').length == 3) {
17
+ var livereFlag = true;
18
+ } else {
19
+ $('body').find('iframe').remove();
20
+ LivereTower.init();
21
+ var livereFlag = false;
22
+ }
23
+ }, 2000);
40
24
  </script>
41
- <noscript> 为正常使用来必力评论功能请激活JavaScript</noscript>
25
+ <noscript>为正常使用来必力评论功能请激活JavaScript</noscript>
42
26
  </div>
43
27
  <!-- City版安装代码已完成 -->
@@ -1,7 +1,7 @@
1
- {% if site.data.site.lang == 'zh-CN' %}
2
- {% assign lang = site.data.lang[site.data.site.lang] %}
3
- {% else %}
1
+ {% if site.data.site.lang == null or site.data.site.lang == "" %}
4
2
  {% assign lang = site.data.lang.en-US %}
3
+ {% else %}
4
+ {% assign lang = site.data.lang[site.data.site.lang] %}
5
5
  {% endif %}
6
6
  <script src="https://cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
7
7
  <script src="//cdn.jsdelivr.net/npm/valine@1.1.6/dist/Valine.min.js"></script>
@@ -1,7 +1,7 @@
1
- {% if site.data.site.lang == 'zh-CN' %}
2
- {% assign lang = site.data.lang[site.data.site.lang] %}
3
- {% else %}
1
+ {% if site.data.site.lang == null or site.data.site.lang == "" %}
4
2
  {% assign lang = site.data.lang.en-US %}
3
+ {% else %}
4
+ {% assign lang = site.data.lang[site.data.site.lang] %}
5
5
  {% endif %}
6
6
  {% assign filename = page.url | replace_first: '/', '' | replace: '/', '' | replace: '.html', '' | replace: 'category', '' %}
7
7
  {{filename}}
@@ -1,7 +1,7 @@
1
- {% if site.data.site.lang == 'zh-CN' %}
2
- {% assign lang = site.data.lang[site.data.site.lang] %}
3
- {% else %}
1
+ {% if site.data.site.lang == null or site.data.site.lang == "" %}
4
2
  {% assign lang = site.data.lang.en-US %}
3
+ {% else %}
4
+ {% assign lang = site.data.lang[site.data.site.lang] %}
5
5
  {% endif %}
6
6
  <style>
7
7
  .k-lastupdate{
@@ -1,7 +1,7 @@
1
- {% if site.data.site.lang == 'zh-CN' %}
2
- {% assign lang = site.data.lang[site.data.site.lang] %}
3
- {% else %}
1
+ {% if site.data.site.lang == null or site.data.site.lang == "" %}
4
2
  {% assign lang = site.data.lang.en-US %}
3
+ {% else %}
4
+ {% assign lang = site.data.lang[site.data.site.lang] %}
5
5
  {% endif %}
6
6
  {% for ta in site.pages %}
7
7
  {% if ta.layout == "tags" %}
@@ -1,7 +1,7 @@
1
- {% if site.data.site.lang == 'zh-CN' %}
2
- {% assign lang = site.data.lang[site.data.site.lang] %}
3
- {% else %}
1
+ {% if site.data.site.lang == null or site.data.site.lang == "" %}
4
2
  {% assign lang = site.data.lang.en-US %}
3
+ {% else %}
4
+ {% assign lang = site.data.lang[site.data.site.lang] %}
5
5
  {% endif %}
6
6
  <style>
7
7
  #k-qrcode{
@@ -16,11 +16,11 @@
16
16
  </li>
17
17
  {% if site.data.site.lang == 'zh-CN' %}
18
18
  <li class="mdui-menu-item">
19
- <img class="mdui-center" src="https://pan.baidu.com/share/qrcode?w=200&h=200&url={{page.url | absolute_url |url_encode}}" alt="">
19
+ <img class="mdui-center" src="https://api.imjad.cn/qrcode/?size=210&&text={{page.url | absolute_url |url_encode}}" alt="">
20
20
  </li>
21
21
  {% else %}
22
22
  <li class="mdui-menu-item">
23
23
  <img class="mdui-center" src="https://chart.googleapis.com/chart?chs=210x210&cht=qr&chl={{page.url | absolute_url |url_encode}}" alt="">
24
24
  </li>
25
25
  {% endif %}
26
- </ul>
26
+ </ul>
@@ -1,7 +1,7 @@
1
- {% if site.data.site.lang == 'zh-CN' %}
2
- {% assign lang = site.data.lang[site.data.site.lang] %}
3
- {% else %}
1
+ {% if site.data.site.lang == null or site.data.site.lang == "" %}
4
2
  {% assign lang = site.data.lang.en-US %}
3
+ {% else %}
4
+ {% assign lang = site.data.lang[site.data.site.lang] %}
5
5
  {% endif %}
6
6
  <style>
7
7
  .k-readtime{
@@ -21,7 +21,7 @@
21
21
  </style>
22
22
  {% assign words = content | strip_html | strip_newlines | size %}
23
23
  {% if words < 360 %}
24
- <a class="mdui-btn mdui-btn-block k-readtime" href="javascript:;">{{lang.readtime.one}}1{{lang.readtime.two}}</a>
24
+ <a class="mdui-btn mdui-btn-block k-readtime" href="javascript:;">{{lang.readtime.one}} 1 {{lang.readtime.two}}</a>
25
25
  {% else %}
26
26
  <a class="mdui-btn mdui-btn-block k-readtime" href="javascript:;">{{lang.readtime.one}} {{ content | strip_html | strip_newlines | size | divided_by:360 | round}} {{lang.readtime.two}}</a>
27
- {% endif %}
27
+ {% endif %}
@@ -1,7 +1,7 @@
1
- {% if site.data.site.lang == 'zh-CN' %}
2
- {% assign lang = site.data.lang[site.data.site.lang] %}
3
- {% else %}
1
+ {% if site.data.site.lang == null or site.data.site.lang == "" %}
4
2
  {% assign lang = site.data.lang.en-US %}
3
+ {% else %}
4
+ {% assign lang = site.data.lang[site.data.site.lang] %}
5
5
  {% endif %}
6
6
  <button class="mdui-btn mdui-btn-icon" mdui-tooltip="{content: '{{lang.share.share }}', delay: 100}" mdui-menu="{target: '#k-sns_share',align:'right',covered:false}"><i class="mdui-icon material-icons">&#xe80d;</i></button>
7
7
  <ul class="mdui-menu" id="k-sns_share">
@@ -1,7 +1,7 @@
1
- {% if site.data.site.lang == 'zh-CN' %}
2
- {% assign lang = site.data.lang[site.data.site.lang] %}
3
- {% else %}
1
+ {% if site.data.site.lang == null or site.data.site.lang == "" %}
4
2
  {% assign lang = site.data.lang.en-US %}
3
+ {% else %}
4
+ {% assign lang = site.data.lang[site.data.site.lang] %}
5
5
  {% endif %}
6
6
  {% capture categories %}
7
7
  {% for c in site.categories %}
@@ -1,7 +1,7 @@
1
- {% if site.data.site.lang == 'zh-CN' %}
2
- {% assign lang = site.data.lang[site.data.site.lang] %}
3
- {% else %}
1
+ {% if site.data.site.lang == null or site.data.site.lang == "" %}
4
2
  {% assign lang = site.data.lang.en-US %}
3
+ {% else %}
4
+ {% assign lang = site.data.lang[site.data.site.lang] %}
5
5
  {% endif %}
6
6
  <style>
7
7
  .k-list-card{
@@ -1,7 +1,7 @@
1
- {% if site.data.site.lang == 'zh-CN' %}
2
- {% assign lang = site.data.lang[site.data.site.lang] %}
3
- {% else %}
1
+ {% if site.data.site.lang == null or site.data.site.lang == "" %}
4
2
  {% assign lang = site.data.lang.en-US %}
3
+ {% else %}
4
+ {% assign lang = site.data.lang[site.data.site.lang] %}
5
5
  {% endif %}
6
6
 
7
7
  {% for menu in site.data.menus %}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-mdui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2.3
4
+ version: 0.5.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - KeJun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-13 00:00:00.000000000 Z
11
+ date: 2018-07-27 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.6.2
19
+ version: 3.8.3
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.6.2
26
+ version: 3.8.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: jekyll-paginate
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  version: '0'
151
151
  requirements: []
152
152
  rubyforge_project:
153
- rubygems_version: 2.6.11
153
+ rubygems_version: 2.7.6
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  summary: A Jekyll theme based on mdui