jekyll-theme-scaffold 1.1.0 → 1.2.0
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 +4 -2
- data/_layouts/home.html +7 -1
- data/_sass/scaffold/_archive.scss +2 -6
- data/_sass/scaffold/_code.scss +1 -0
- data/_sass/scaffold/_footer.scss +1 -6
- data/_sass/scaffold/_functions.scss +9 -0
- data/_sass/scaffold/_header.scss +1 -7
- data/_sass/scaffold/_highlight-dark.scss +32 -35
- data/_sass/scaffold/_highlight-light.scss +31 -35
- data/_sass/scaffold/_home.scss +1 -7
- data/_sass/scaffold/_main.scss +1 -0
- data/_sass/scaffold/_post.scss +5 -0
- data/_sass/scaffold/_toc.scss +1 -1
- metadata +3 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c8e53446306727d0c463e168903b88ec92a33d9d338424cff8558bf3a81aa987
|
|
4
|
+
data.tar.gz: 39022624791e76637d51fa7942ad7c8c4c74d057ec43bd4f1b990dc76e98d532
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ddd308f32c52458613291d254d9605fda1b5f1000dbede9589036bd3844348f6aaf19c6cc504a1d9b0f2ce7c78e928d1f99dec89be761b67422afce6e70ee08
|
|
7
|
+
data.tar.gz: cf64ec9786502b0041dda118383cd091fe0cc43f184d1ca82912c6862fc48960f7f4e84827b7c7eb499f38ce67d33e400eb03084b41121351b0ee1876b641430
|
data/README.md
CHANGED
|
@@ -10,7 +10,7 @@ According to [Merriam-Webster](https://www.merriam-webster.com/), a *scaffold* i
|
|
|
10
10
|
|
|
11
11
|
> a temporary or movable platform for workers (such as bricklayers, painters, or miners) to stand or sit on when working at a height above the floor or ground
|
|
12
12
|
|
|
13
|
-
So is the target of the Jekyll theme Scaffold. It doesn't need to be modern,
|
|
13
|
+
So is the target of the Jekyll theme Scaffold. It doesn't need to be modern, colorful, or beautiful; It just needs to be **simple**, **proper**, **naked**, and **neat**.
|
|
14
14
|
|
|
15
15
|
Scaffold is empirical. Standing on it, you -- the blogger -- can build a great building based on your words.
|
|
16
16
|
|
|
@@ -30,7 +30,6 @@ Scaffold is empirical. Standing on it, you -- the blogger -- can build a great b
|
|
|
30
30
|
- TOC, via [`jekyll-toc`](https://github.com/allejo/jekyll-toc)
|
|
31
31
|
- [Jekyll Feed](https://github.com/jekyll/jekyll-feed/)
|
|
32
32
|
- [Jekyll SEO Tag](https://github.com/jekyll/jekyll-seo-tag/)
|
|
33
|
-
- [Jekyll Sitemap](https://github.com/jekyll/jekyll-sitemap/)
|
|
34
33
|
- [Google Analytics](https://analytics.google.com/)
|
|
35
34
|
- [Disqus](https://disqus.com/)
|
|
36
35
|
- [MathJax](https://www.mathjax.org/)
|
|
@@ -91,6 +90,8 @@ If you want to use this theme on GitHub Pages, you can do that via `jekyll-remot
|
|
|
91
90
|
|
|
92
91
|
## Usage
|
|
93
92
|
|
|
93
|
+
The main usage of this theme is described in detail below. If you find the document difficult to understand or not specific enough, you can also use the [`gh-pages`](https://github.com/sziv2p/jekyll-theme-scaffold/tree/gh-pages) branch of this repository as an example to learn how to use this theme.
|
|
94
|
+
|
|
94
95
|
### Global Configuration
|
|
95
96
|
|
|
96
97
|
| Variable | Type | Default | Specification |
|
|
@@ -109,6 +110,7 @@ If you want to use this theme on GitHub Pages, you can do that via `jekyll-remot
|
|
|
109
110
|
|
|
110
111
|
| Variable | Type | Default | Specification |
|
|
111
112
|
| -------- | ---- | ------- | ------------- |
|
|
113
|
+
| `description` | String | --- | A description of the current post |
|
|
112
114
|
| `last_modified_at` | String | --- | The date of the last modification you made on a post after its publishing |
|
|
113
115
|
| `author` | String or Array | --- | The author name(s) of the post |
|
|
114
116
|
| `math` | Boolean | `false` | Does enable MathJax on this page |
|
data/_layouts/home.html
CHANGED
|
@@ -28,7 +28,13 @@ layout: default
|
|
|
28
28
|
{%- endif -%}
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
|
-
<p>
|
|
31
|
+
<p>
|
|
32
|
+
{% if post.description %}
|
|
33
|
+
{{ post.description }}
|
|
34
|
+
{% else %}
|
|
35
|
+
{{ post.excerpt | strip_html }}
|
|
36
|
+
{% endif %}
|
|
37
|
+
</p>
|
|
32
38
|
</section>
|
|
33
39
|
{% endfor %}
|
|
34
40
|
</div>
|
|
@@ -16,15 +16,11 @@
|
|
|
16
16
|
display: flex;
|
|
17
17
|
padding: 0.25em 0;
|
|
18
18
|
justify-content: space-between;
|
|
19
|
-
color: inherit;
|
|
20
19
|
text-decoration: none;
|
|
21
20
|
border-bottom: 1px solid;
|
|
22
21
|
margin-bottom: var(--spacer);
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
&:focus {
|
|
26
|
-
color: var(--link-color);
|
|
27
|
-
}
|
|
22
|
+
|
|
23
|
+
@include alternative-link-style();
|
|
28
24
|
}
|
|
29
25
|
}
|
|
30
26
|
|
data/_sass/scaffold/_code.scss
CHANGED
data/_sass/scaffold/_footer.scss
CHANGED
data/_sass/scaffold/_header.scss
CHANGED
|
@@ -1,84 +1,81 @@
|
|
|
1
1
|
.highlight table td { padding: 5px; }
|
|
2
2
|
.highlight table pre { margin: 0; }
|
|
3
3
|
.highlight, .highlight .w {
|
|
4
|
-
color: #
|
|
5
|
-
background-color: #
|
|
4
|
+
color: #93a1a1;
|
|
5
|
+
background-color: #002b36;
|
|
6
6
|
}
|
|
7
7
|
.highlight .err {
|
|
8
|
-
color: #
|
|
9
|
-
background-color: #
|
|
10
|
-
font-weight: bold;
|
|
8
|
+
color: #002b36;
|
|
9
|
+
background-color: #dc322f;
|
|
11
10
|
}
|
|
12
11
|
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs {
|
|
13
|
-
color: #
|
|
14
|
-
font-style: italic;
|
|
12
|
+
color: #657b83;
|
|
15
13
|
}
|
|
16
14
|
.highlight .cp {
|
|
17
|
-
color: #
|
|
15
|
+
color: #b58900;
|
|
18
16
|
}
|
|
19
17
|
.highlight .nt {
|
|
20
|
-
color: #
|
|
18
|
+
color: #b58900;
|
|
21
19
|
}
|
|
22
20
|
.highlight .o, .highlight .ow {
|
|
23
|
-
color: #
|
|
21
|
+
color: #93a1a1;
|
|
24
22
|
}
|
|
25
23
|
.highlight .p, .highlight .pi {
|
|
26
|
-
color: #
|
|
24
|
+
color: #93a1a1;
|
|
27
25
|
}
|
|
28
26
|
.highlight .gi {
|
|
29
|
-
color: #
|
|
30
|
-
background-color: #282828;
|
|
27
|
+
color: #859900;
|
|
31
28
|
}
|
|
32
29
|
.highlight .gd {
|
|
33
|
-
color: #
|
|
34
|
-
background-color: #282828;
|
|
30
|
+
color: #dc322f;
|
|
35
31
|
}
|
|
36
32
|
.highlight .gh {
|
|
37
|
-
color: #
|
|
33
|
+
color: #268bd2;
|
|
34
|
+
background-color: #002b36;
|
|
38
35
|
font-weight: bold;
|
|
39
36
|
}
|
|
40
37
|
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
|
|
41
|
-
color: #
|
|
38
|
+
color: #6c71c4;
|
|
42
39
|
}
|
|
43
40
|
.highlight .kc {
|
|
44
|
-
color: #
|
|
41
|
+
color: #cb4b16;
|
|
45
42
|
}
|
|
46
43
|
.highlight .kt {
|
|
47
|
-
color: #
|
|
44
|
+
color: #cb4b16;
|
|
48
45
|
}
|
|
49
46
|
.highlight .kd {
|
|
50
|
-
color: #
|
|
47
|
+
color: #cb4b16;
|
|
51
48
|
}
|
|
52
|
-
.highlight .s, .highlight .
|
|
53
|
-
color: #
|
|
54
|
-
font-style: italic;
|
|
49
|
+
.highlight .s, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
|
|
50
|
+
color: #859900;
|
|
55
51
|
}
|
|
56
|
-
.highlight .
|
|
57
|
-
color: #
|
|
58
|
-
font-style: italic;
|
|
52
|
+
.highlight .sa {
|
|
53
|
+
color: #6c71c4;
|
|
59
54
|
}
|
|
60
55
|
.highlight .sr {
|
|
61
|
-
color: #
|
|
62
|
-
|
|
56
|
+
color: #2aa198;
|
|
57
|
+
}
|
|
58
|
+
.highlight .si {
|
|
59
|
+
color: #d33682;
|
|
63
60
|
}
|
|
64
61
|
.highlight .se {
|
|
65
|
-
color: #
|
|
62
|
+
color: #d33682;
|
|
66
63
|
}
|
|
67
64
|
.highlight .nn {
|
|
68
|
-
color: #
|
|
65
|
+
color: #b58900;
|
|
69
66
|
}
|
|
70
67
|
.highlight .nc {
|
|
71
|
-
color: #
|
|
68
|
+
color: #b58900;
|
|
72
69
|
}
|
|
73
70
|
.highlight .no {
|
|
74
|
-
color: #
|
|
71
|
+
color: #b58900;
|
|
75
72
|
}
|
|
76
73
|
.highlight .na {
|
|
77
|
-
color: #
|
|
74
|
+
color: #268bd2;
|
|
78
75
|
}
|
|
79
76
|
.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
|
|
80
|
-
color: #
|
|
77
|
+
color: #859900;
|
|
81
78
|
}
|
|
82
79
|
.highlight .ss {
|
|
83
|
-
color: #
|
|
80
|
+
color: #859900;
|
|
84
81
|
}
|
|
@@ -1,84 +1,80 @@
|
|
|
1
1
|
.highlight table td { padding: 5px; }
|
|
2
2
|
.highlight table pre { margin: 0; }
|
|
3
3
|
.highlight, .highlight .w {
|
|
4
|
-
color: #
|
|
5
|
-
background-color: #fbf1c7;
|
|
4
|
+
color: #586e75;
|
|
6
5
|
}
|
|
7
6
|
.highlight .err {
|
|
8
|
-
color: #
|
|
9
|
-
background-color: #
|
|
10
|
-
font-weight: bold;
|
|
7
|
+
color: #002b36;
|
|
8
|
+
background-color: #dc322f;
|
|
11
9
|
}
|
|
12
10
|
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs {
|
|
13
|
-
color: #
|
|
14
|
-
font-style: italic;
|
|
11
|
+
color: #657b83;
|
|
15
12
|
}
|
|
16
13
|
.highlight .cp {
|
|
17
|
-
color: #
|
|
14
|
+
color: #b58900;
|
|
18
15
|
}
|
|
19
16
|
.highlight .nt {
|
|
20
|
-
color: #
|
|
17
|
+
color: #b58900;
|
|
21
18
|
}
|
|
22
19
|
.highlight .o, .highlight .ow {
|
|
23
|
-
color: #
|
|
20
|
+
color: #93a1a1;
|
|
24
21
|
}
|
|
25
22
|
.highlight .p, .highlight .pi {
|
|
26
|
-
color: #
|
|
23
|
+
color: #93a1a1;
|
|
27
24
|
}
|
|
28
25
|
.highlight .gi {
|
|
29
|
-
color: #
|
|
30
|
-
background-color: #fbf1c7;
|
|
26
|
+
color: #859900;
|
|
31
27
|
}
|
|
32
28
|
.highlight .gd {
|
|
33
|
-
color: #
|
|
34
|
-
background-color: #fbf1c7;
|
|
29
|
+
color: #dc322f;
|
|
35
30
|
}
|
|
36
31
|
.highlight .gh {
|
|
37
|
-
color: #
|
|
32
|
+
color: #268bd2;
|
|
33
|
+
background-color: #002b36;
|
|
38
34
|
font-weight: bold;
|
|
39
35
|
}
|
|
40
36
|
.highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
|
|
41
|
-
color: #
|
|
37
|
+
color: #6c71c4;
|
|
42
38
|
}
|
|
43
39
|
.highlight .kc {
|
|
44
|
-
color: #
|
|
40
|
+
color: #cb4b16;
|
|
45
41
|
}
|
|
46
42
|
.highlight .kt {
|
|
47
|
-
color: #
|
|
43
|
+
color: #cb4b16;
|
|
48
44
|
}
|
|
49
45
|
.highlight .kd {
|
|
50
|
-
color: #
|
|
46
|
+
color: #cb4b16;
|
|
51
47
|
}
|
|
52
|
-
.highlight .s, .highlight .
|
|
53
|
-
color: #
|
|
54
|
-
font-style: italic;
|
|
48
|
+
.highlight .s, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
|
|
49
|
+
color: #859900;
|
|
55
50
|
}
|
|
56
|
-
.highlight .
|
|
57
|
-
color: #
|
|
58
|
-
font-style: italic;
|
|
51
|
+
.highlight .sa {
|
|
52
|
+
color: #6c71c4;
|
|
59
53
|
}
|
|
60
54
|
.highlight .sr {
|
|
61
|
-
color: #
|
|
62
|
-
|
|
55
|
+
color: #2aa198;
|
|
56
|
+
}
|
|
57
|
+
.highlight .si {
|
|
58
|
+
color: #d33682;
|
|
63
59
|
}
|
|
64
60
|
.highlight .se {
|
|
65
|
-
color: #
|
|
61
|
+
color: #d33682;
|
|
66
62
|
}
|
|
67
63
|
.highlight .nn {
|
|
68
|
-
color: #
|
|
64
|
+
color: #b58900;
|
|
69
65
|
}
|
|
70
66
|
.highlight .nc {
|
|
71
|
-
color: #
|
|
67
|
+
color: #b58900;
|
|
72
68
|
}
|
|
73
69
|
.highlight .no {
|
|
74
|
-
color: #
|
|
70
|
+
color: #b58900;
|
|
75
71
|
}
|
|
76
72
|
.highlight .na {
|
|
77
|
-
color: #
|
|
73
|
+
color: #268bd2;
|
|
78
74
|
}
|
|
79
75
|
.highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
|
|
80
|
-
color: #
|
|
76
|
+
color: #859900;
|
|
81
77
|
}
|
|
82
78
|
.highlight .ss {
|
|
83
|
-
color: #
|
|
79
|
+
color: #859900;
|
|
84
80
|
}
|
data/_sass/scaffold/_home.scss
CHANGED
data/_sass/scaffold/_main.scss
CHANGED
data/_sass/scaffold/_post.scss
CHANGED
data/_sass/scaffold/_toc.scss
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-scaffold
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Songzi Vong
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-01-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -66,20 +66,6 @@ dependencies:
|
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '2.6'
|
|
69
|
-
- !ruby/object:Gem::Dependency
|
|
70
|
-
name: jekyll-sitemap
|
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
|
72
|
-
requirements:
|
|
73
|
-
- - "~>"
|
|
74
|
-
- !ruby/object:Gem::Version
|
|
75
|
-
version: '1.4'
|
|
76
|
-
type: :runtime
|
|
77
|
-
prerelease: false
|
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
-
requirements:
|
|
80
|
-
- - "~>"
|
|
81
|
-
- !ruby/object:Gem::Version
|
|
82
|
-
version: '1.4'
|
|
83
69
|
- !ruby/object:Gem::Dependency
|
|
84
70
|
name: bundler
|
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -138,6 +124,7 @@ files:
|
|
|
138
124
|
- _sass/scaffold/_base.scss
|
|
139
125
|
- _sass/scaffold/_code.scss
|
|
140
126
|
- _sass/scaffold/_footer.scss
|
|
127
|
+
- _sass/scaffold/_functions.scss
|
|
141
128
|
- _sass/scaffold/_header.scss
|
|
142
129
|
- _sass/scaffold/_highlight-dark.scss
|
|
143
130
|
- _sass/scaffold/_highlight-light.scss
|