jekyll-theme-lily 1.9.2.3.0 → 2.1.2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/_includes/footer.html +2 -16
- data/_includes/head.html +15 -0
- data/_layouts/default.html +1 -1
- data/_sass/jekyll-theme-lily.scss +4 -1
- data/assets/js/lily.js +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46002c08672c462e1ab92a0e29a7aa4d612e728f75251b27269a8e8431a41eec
|
4
|
+
data.tar.gz: 6d05c221bbd87ea1e87898f6f2b7883529b72cd71be24fcf05fdc33a3d2b2ed5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb49479758e1e8b07b1ebc7c4ac54c89e2c4aeb82df1e4a7d2c9791db4579b45bb0fe29721381bbe2b521e12b87b2fce6031df1f382f848a820850d9f577dd67
|
7
|
+
data.tar.gz: 35ca1af6bf29cd1973fe7de7bb7b8a1143a6cb67b92d961cac7ba1e5d168898d3c00bdcf67eebc4a579a846ac7537ccb1884c6e9ea508562ad6bf7988536e7c5
|
data/README.md
CHANGED
@@ -34,7 +34,7 @@ To directly use the Lily theme:
|
|
34
34
|
1. Add the following to your site's `_config.yml`:
|
35
35
|
|
36
36
|
```yml
|
37
|
-
remote_theme: HowerZiu/jekyll-theme-lily@1.
|
37
|
+
remote_theme: HowerZiu/jekyll-theme-lily@2.1.2.3.0
|
38
38
|
plugins:
|
39
39
|
- jekyll-remote-theme # add this line to the plugins list if you already have one
|
40
40
|
```
|
data/_includes/footer.html
CHANGED
@@ -1,22 +1,8 @@
|
|
1
|
-
<footer>
|
1
|
+
<footer class="lily-footer">
|
2
2
|
{% if site.github.is_project_page %}
|
3
3
|
{{ site.title | default: site.github.repository_name }} is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a><br>
|
4
4
|
<div class="small-divider"></div>
|
5
5
|
{% endif %}
|
6
6
|
<p>{{ site.description }}</p>
|
7
7
|
<p class="footer-copyright">© 2022 {{site.title}}. Powered by <a href="https://github.com/HowerZiu/jekyll-theme-lily">Lily</a>.</p>
|
8
|
-
</footer>
|
9
|
-
{% for js in layout.js %}
|
10
|
-
{% if js contains "//" %}
|
11
|
-
<script src="{{js}}"></script>
|
12
|
-
{% else %}
|
13
|
-
<script src="{{site.baseurl}}/assets/js/{{js}}"></script>
|
14
|
-
{% endif %}
|
15
|
-
{% endfor %}
|
16
|
-
{% for js in page.js %}
|
17
|
-
{% if js contains "//" %}
|
18
|
-
<script src="{{js}}"></script>
|
19
|
-
{% else %}
|
20
|
-
<script src="{{site.baseurl}}/assets/js/{{js}}"></script>
|
21
|
-
{% endif %}
|
22
|
-
{% endfor %}
|
8
|
+
</footer>
|
data/_includes/head.html
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
<head>
|
2
2
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
3
3
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
4
|
+
<meta name="theme-color" content="#dee0ff">
|
4
5
|
<title>
|
5
6
|
{% if page.title %}
|
6
7
|
{{ page.title | escape }}
|
@@ -42,4 +43,18 @@
|
|
42
43
|
}
|
43
44
|
</script>
|
44
45
|
{% include head-custom.html %}
|
46
|
+
{% for js in layout.js %}
|
47
|
+
{% if js contains "//" %}
|
48
|
+
<script src="{{js}}"></script>
|
49
|
+
{% else %}
|
50
|
+
<script src="{{site.baseurl}}/assets/js/{{js}}"></script>
|
51
|
+
{% endif %}
|
52
|
+
{% endfor %}
|
53
|
+
{% for js in page.js %}
|
54
|
+
{% if js contains "//" %}
|
55
|
+
<script src="{{js}}"></script>
|
56
|
+
{% else %}
|
57
|
+
<script src="{{site.baseurl}}/assets/js/{{js}}"></script>
|
58
|
+
{% endif %}
|
59
|
+
{% endfor %}
|
45
60
|
</head>
|
data/_layouts/default.html
CHANGED
@@ -13,7 +13,6 @@
|
|
13
13
|
}
|
14
14
|
|
15
15
|
.lily-translucent-bar {
|
16
|
-
background-color: rgba(#000000, 0);
|
17
16
|
&:after {
|
18
17
|
content: "";
|
19
18
|
position: absolute;
|
@@ -34,6 +33,10 @@
|
|
34
33
|
text-overflow: ellipsis;
|
35
34
|
}
|
36
35
|
|
36
|
+
.lily-footer {
|
37
|
+
padding: 16rem 16rem;
|
38
|
+
}
|
39
|
+
|
37
40
|
.lily-post-date {
|
38
41
|
flex: auto;
|
39
42
|
word-wrap: break-word;
|
data/assets/js/lily.js
CHANGED
@@ -21,16 +21,19 @@ function delLilyCookie(cname) {
|
|
21
21
|
function setLilyMode() {
|
22
22
|
body=document.body;
|
23
23
|
var lily_mode=getLilyCookie("lily_mode");
|
24
|
+
var theme_color_meta=document.querySelector('meta[name="theme-color"]');
|
24
25
|
if (lily_mode=="dark") {
|
25
26
|
body.classList.remove("light");
|
26
27
|
body.classList.add("dark");
|
27
28
|
document.getElementById("body").classList.remove("lily-mode-light");
|
28
29
|
document.getElementById("body").classList.add("lily-mode-dark");
|
30
|
+
theme_color_meta.setAttribute("content","#343e8f");
|
29
31
|
} else {
|
30
32
|
body.classList.remove("dark");
|
31
33
|
body.classList.add("light");
|
32
34
|
document.getElementById("body").classList.remove("lily-mode-dark");
|
33
35
|
document.getElementById("body").classList.add("lily-mode-light");
|
36
|
+
theme_color_meta.setAttribute("content","#dee0ff");
|
34
37
|
}
|
35
38
|
}
|
36
39
|
function changeLilyMode() {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-lily
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 2.1.2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HowerZiu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|