jekyll-theme-lily 1.7.2.2.11 → 1.8.2.2.11
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 +4 -4
- data/README.md +1 -1
- data/_includes/header.html +4 -4
- data/_layouts/post.html +2 -2
- data/assets/js/lily.js +11 -1
- 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: '00715211947e765cf40217abeae0a904b2a31f51de7fd720c7059bc528d22f9f'
|
4
|
+
data.tar.gz: 06bf2ded16dc89ddde10ac97c7ba9ce6aba53a47bb4f68446809232d305dce73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08be84349ee21070f3b65cdf8319d24087f1c260d5a83237e16c2f754f0813754bff387766d8c103b101a6d5b8029265c36d91f10fc6c04083bd8417553b5067'
|
7
|
+
data.tar.gz: 0274f57e03d12ad1eb424ad0bef219ca6d344af9de9ed1f590a74d8c62dcd848ddc049380b07d74942e1674ab5318b8dd73e714debba76c0fc7dfbc7456f6798
|
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@1.8.2.2.11
|
38
38
|
plugins:
|
39
39
|
- jekyll-remote-theme # add this line to the plugins list if you already have one
|
40
40
|
```
|
data/_includes/header.html
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
<header class="responsive fixed lily-translucent-bar">
|
2
2
|
<nav>
|
3
3
|
{% if page.hide_title %}
|
4
|
-
<h5 class="max lily-bar-text" ondblclick="
|
4
|
+
<h5 class="max lily-bar-text" ondblclick="lilyScrollTop()"></h5>
|
5
5
|
{% else %}
|
6
6
|
{% if page.hide_excerpt %}
|
7
|
-
<h5 class="max lily-bar-text" ondblclick="
|
7
|
+
<h5 class="max lily-bar-text" ondblclick="lilyScrollTop()">{{ page.title | default: site.title | default: site.github.repository_name }}</h5>
|
8
8
|
{% else %}
|
9
9
|
{% if page.layout=="post" %}
|
10
|
-
<h5 class="max lily-bar-text" ondblclick="
|
10
|
+
<h5 class="max lily-bar-text" ondblclick="lilyScrollTop()">{{ page.title | default: site.title | default: site.github.repository_name }}</h5>
|
11
11
|
{% else %}
|
12
|
-
<div class="max lily-bar-text" ondblclick="
|
12
|
+
<div class="max lily-bar-text" ondblclick="lilyScrollTop()">
|
13
13
|
<h6 class="lily-bar-text">{{ page.title | default: site.title | default: site.github.repository_name }}</h6>
|
14
14
|
<p class="lily-bar-text">{{ page.excerpt | default: site.description | default: site.github.project_tagline }}</p>
|
15
15
|
</div>
|
data/_layouts/post.html
CHANGED
@@ -18,7 +18,7 @@ layout: default
|
|
18
18
|
</summary>
|
19
19
|
<div class="medium-divider"></div>
|
20
20
|
<div class="row">
|
21
|
-
<i title="Categories">
|
21
|
+
<i title="Categories">category</i>
|
22
22
|
{% for cat in page.categories %}
|
23
23
|
{% capture test %}{{ cat | slice: 0 }}{% endcapture %}
|
24
24
|
{% capture testup %}{{ cat | slice: 0 | upcase }}{% endcapture %}
|
@@ -26,7 +26,7 @@ layout: default
|
|
26
26
|
{% endfor %}
|
27
27
|
</div>
|
28
28
|
<div class="row">
|
29
|
-
<i title="Tags">
|
29
|
+
<i title="Tags">tag</i>
|
30
30
|
{% for tag in page.tags %}
|
31
31
|
{% capture test %}{{ tag | slice: 0 }}{% endcapture %}
|
32
32
|
{% capture testup %}{{ tag | slice: 0 | upcase }}{% endcapture %}
|
data/assets/js/lily.js
CHANGED
@@ -34,5 +34,15 @@ function setLilyMode() {
|
|
34
34
|
}
|
35
35
|
}
|
36
36
|
function changeLilyMode() {
|
37
|
-
var lily_mode=getLilyCookie('lily_mode');
|
37
|
+
var lily_mode=getLilyCookie('lily_mode');
|
38
|
+
if (lily_mode=='dark')
|
39
|
+
lily_mode='light';
|
40
|
+
else
|
41
|
+
lily_mode='dark';
|
42
|
+
setLilyCookie('lily_mode',lily_mode,180,'/');
|
43
|
+
setLilyMode();
|
44
|
+
}
|
45
|
+
function lilyScrollTop() {
|
46
|
+
var elm=document.body||document.documentElement;
|
47
|
+
elm.scrollIntoView({behavior:"smooth"});
|
38
48
|
}
|
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: 1.8.2.2.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HowerZiu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|