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 +5 -5
- data/_includes/comment/disqus.html +3 -3
- data/_includes/comment/livere.html +19 -35
- data/_includes/comment/valine.html +3 -3
- data/_includes/content/category_post_list.html +3 -3
- data/_includes/content/component/lastupdate.html +3 -3
- data/_includes/content/component/page_tags.html +3 -3
- data/_includes/content/component/qrcode.html +5 -5
- data/_includes/content/component/readtime.html +5 -5
- data/_includes/content/component/sns_share.html +3 -3
- data/_includes/content/editor.html +3 -3
- data/_includes/content/paginator_post_list.html +3 -3
- data/_includes/header/header.html +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 17693c928906239453a1fa8894b35894548aad497f11e258a23cb2b9971a8df1
|
4
|
+
data.tar.gz: 3aa865aeb3678052fdb1ef42c3a24cc86025099de0a3763a7fbade4b44cd5966
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33bc0d73673c3e4baeb0e84c43248b785af732fad85da093a32b48c4613b9917c965f1db16163bb464ccd879fb31b3dc8a9a19ed600b6601626e4dceeec4f243
|
7
|
+
data.tar.gz: ca0c7ecd6a093101cc8a442cf5e99a6ff56e16d1f05322351f147ec4e9bcae219d9ba6b55713e9913075fc4437282714d7b249fe054166ed507f3dadc22a08bf
|
@@ -1,7 +1,7 @@
|
|
1
|
-
{% if
|
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
|
-
<
|
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
|
-
|
16
|
-
|
17
|
-
var j, e = d.getElementsByTagName(s)[0];
|
4
|
+
(function (d, s) {
|
5
|
+
var j, e = d.getElementsByTagName(s)[0];
|
18
6
|
|
19
|
-
|
20
|
-
return;
|
21
|
-
}
|
7
|
+
if (typeof LivereTower === 'function') { return; }
|
22
8
|
|
23
|
-
|
24
|
-
|
25
|
-
|
9
|
+
j = d.createElement(s);
|
10
|
+
j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
|
11
|
+
j.async = true;
|
26
12
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
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
|
25
|
+
<noscript>为正常使用来必力评论功能请激活JavaScript</noscript>
|
42
26
|
</div>
|
43
27
|
<!-- City版安装代码已完成 -->
|
@@ -1,7 +1,7 @@
|
|
1
|
-
{% if
|
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
|
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
|
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
|
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
|
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://
|
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
|
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
|
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"></i></button>
|
7
7
|
<ul class="mdui-menu" id="k-sns_share">
|
@@ -1,7 +1,7 @@
|
|
1
|
-
{% if
|
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
|
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
|
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.
|
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-
|
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.
|
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.
|
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
|
153
|
+
rubygems_version: 2.7.6
|
154
154
|
signing_key:
|
155
155
|
specification_version: 4
|
156
156
|
summary: A Jekyll theme based on mdui
|