naive 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/footer.html +4 -0
- data/_includes/head.html +7 -0
- data/_includes/header.html +3 -0
- data/_includes/nav.html +10 -0
- data/_layouts/default.html +22 -1
- data/_layouts/home.html +24 -0
- data/_layouts/page.html +4 -1
- data/_layouts/post.html +3 -1
- data/_sass/_color.scss +263 -0
- data/_sass/_layout.scss +17 -0
- data/_sass/_pinboard.scss +3 -0
- data/assets/css/main.scss +10 -0
- metadata +11 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5767d9543cabc4be8693b8d7a1bba3b333f54cce
|
4
|
+
data.tar.gz: ac9958bf6bbc5a4257bf671f017e0f29633a0d5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e0e9697ada44a9e644552ee7de34e77f82a3405b0e12783a3d4db0cccdc377f98186db410a9794d18c5c8776e0f17de0c19e6ba5213b8e197a93b48bf68767d
|
7
|
+
data.tar.gz: 5a73747aa54b0c0cfd3374ab0f83dd19e39f1ecdc612bb83b5a779327d9f5edb425c03c25509d6204a16de76bb74626165a10e68a5a3556f5e9e156d1e0fde5e
|
data/_includes/head.html
ADDED
data/_includes/nav.html
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
<nav>
|
2
|
+
<ul class="nav-ul">
|
3
|
+
<li class="nav-li"><a href="{{ site.baseurl }}/">Home</a></li>
|
4
|
+
{% for page in site.pages %}
|
5
|
+
{% if page.title %}
|
6
|
+
<li class="nav-li"><a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a></li>
|
7
|
+
{% endif %}
|
8
|
+
{% endfor %}
|
9
|
+
</ul>
|
10
|
+
</nav>
|
data/_layouts/default.html
CHANGED
@@ -1 +1,22 @@
|
|
1
|
-
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
|
4
|
+
{%- include head.html -%}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
|
8
|
+
{%- include header.html -%}
|
9
|
+
{%- include nav.html -%}
|
10
|
+
<hr>
|
11
|
+
|
12
|
+
<main>
|
13
|
+
<div>
|
14
|
+
{{ content }}
|
15
|
+
</div>
|
16
|
+
</main>
|
17
|
+
|
18
|
+
{%- include footer.html -%}
|
19
|
+
|
20
|
+
</body>
|
21
|
+
|
22
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<div>
|
6
|
+
{%- if site.posts.size > 0 -%}
|
7
|
+
<ul>
|
8
|
+
{%- for post in site.posts -%}
|
9
|
+
<li>
|
10
|
+
<h2>
|
11
|
+
<a href="{{ post.url | relative_url }}">
|
12
|
+
{{ post.title }}
|
13
|
+
</a>
|
14
|
+
</h2>
|
15
|
+
{%- if site.show_excerpts -%}
|
16
|
+
{{ post.excerpt }}
|
17
|
+
{%- endif -%}
|
18
|
+
</li>
|
19
|
+
{%- endfor -%}
|
20
|
+
</ul>
|
21
|
+
{%- endif -%}
|
22
|
+
|
23
|
+
</div>
|
24
|
+
|
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
data/_sass/_color.scss
ADDED
@@ -0,0 +1,263 @@
|
|
1
|
+
html,
|
2
|
+
body {
|
3
|
+
background-color: #fdf6e3;
|
4
|
+
color: #839496;
|
5
|
+
}
|
6
|
+
|
7
|
+
a {
|
8
|
+
color: #2aa198;
|
9
|
+
border-color: #eee8d5;
|
10
|
+
&:hover {
|
11
|
+
text-decoration: underline;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
h1,
|
16
|
+
h2,
|
17
|
+
h3 {
|
18
|
+
color: #cb4b16;
|
19
|
+
}
|
20
|
+
|
21
|
+
h1 a,
|
22
|
+
h1 a:visited,
|
23
|
+
h1 a:active {
|
24
|
+
color: #cb4b16;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 a:hover {
|
28
|
+
background-color: #eee8d5;
|
29
|
+
border-color: #eee8d5;
|
30
|
+
}
|
31
|
+
|
32
|
+
article h1 a.anchor {
|
33
|
+
color: #2aa198;
|
34
|
+
}
|
35
|
+
|
36
|
+
blockquote {
|
37
|
+
border-color: #cb4b16;
|
38
|
+
}
|
39
|
+
|
40
|
+
#sidebar a:hover {
|
41
|
+
color: #2aa198;
|
42
|
+
background-color: #eee8d5;
|
43
|
+
}
|
44
|
+
|
45
|
+
#footer {
|
46
|
+
border-color: #eee8d5;
|
47
|
+
}
|
48
|
+
|
49
|
+
/*** Pygments ***/
|
50
|
+
.highlight {
|
51
|
+
background-color: #eee8d5;
|
52
|
+
color: #657b83;
|
53
|
+
border: 1px solid #d6ceb6;
|
54
|
+
border-radius: 3px 3px 3px 3px;
|
55
|
+
overflow: auto;
|
56
|
+
padding: 6px 10px;
|
57
|
+
}
|
58
|
+
.highlight .c {
|
59
|
+
color: #586e75;
|
60
|
+
}
|
61
|
+
.highlight .err {
|
62
|
+
color: #93a1a1;
|
63
|
+
}
|
64
|
+
.highlight .g {
|
65
|
+
color: #93a1a1;
|
66
|
+
}
|
67
|
+
.highlight .k {
|
68
|
+
color: #859900;
|
69
|
+
}
|
70
|
+
.highlight .l {
|
71
|
+
color: #93a1a1;
|
72
|
+
}
|
73
|
+
.highlight .n {
|
74
|
+
color: #93a1a1;
|
75
|
+
}
|
76
|
+
.highlight .o {
|
77
|
+
color: #859900;
|
78
|
+
}
|
79
|
+
.highlight .x {
|
80
|
+
color: #cb4b16;
|
81
|
+
}
|
82
|
+
.highlight .p {
|
83
|
+
color: #93a1a1;
|
84
|
+
}
|
85
|
+
.highlight .cm {
|
86
|
+
color: #586e75;
|
87
|
+
}
|
88
|
+
.highlight .cp {
|
89
|
+
color: #859900;
|
90
|
+
}
|
91
|
+
.highlight .c1 {
|
92
|
+
color: #586e75;
|
93
|
+
}
|
94
|
+
.highlight .cs {
|
95
|
+
color: #859900;
|
96
|
+
}
|
97
|
+
.highlight .gd {
|
98
|
+
color: #2aa198;
|
99
|
+
}
|
100
|
+
.highlight .ge {
|
101
|
+
color: #93a1a1;
|
102
|
+
font-style: italic;
|
103
|
+
}
|
104
|
+
.highlight .gr {
|
105
|
+
color: #dc322f;
|
106
|
+
}
|
107
|
+
.highlight .gh {
|
108
|
+
color: #cb4b16;
|
109
|
+
}
|
110
|
+
.highlight .gi {
|
111
|
+
color: #859900;
|
112
|
+
}
|
113
|
+
.highlight .go {
|
114
|
+
color: #93a1a1;
|
115
|
+
}
|
116
|
+
.highlight .gp {
|
117
|
+
color: #93a1a1;
|
118
|
+
}
|
119
|
+
.highlight .gs {
|
120
|
+
color: #93a1a1;
|
121
|
+
font-weight: bold;
|
122
|
+
}
|
123
|
+
.highlight .gu {
|
124
|
+
color: #cb4b16;
|
125
|
+
}
|
126
|
+
.highlight .gt {
|
127
|
+
color: #93a1a1;
|
128
|
+
}
|
129
|
+
.highlight .kc {
|
130
|
+
color: #cb4b16;
|
131
|
+
}
|
132
|
+
.highlight .kd {
|
133
|
+
color: #268bd2;
|
134
|
+
}
|
135
|
+
.highlight .kn {
|
136
|
+
color: #859900;
|
137
|
+
}
|
138
|
+
.highlight .kp {
|
139
|
+
color: #859900;
|
140
|
+
}
|
141
|
+
.highlight .kr {
|
142
|
+
color: #268bd2;
|
143
|
+
}
|
144
|
+
.highlight .kt {
|
145
|
+
color: #dc322f;
|
146
|
+
}
|
147
|
+
.highlight .ld {
|
148
|
+
color: #93a1a1;
|
149
|
+
}
|
150
|
+
.highlight .m {
|
151
|
+
color: #2aa198;
|
152
|
+
}
|
153
|
+
.highlight .s {
|
154
|
+
color: #2aa198;
|
155
|
+
}
|
156
|
+
.highlight .na {
|
157
|
+
color: #93a1a1;
|
158
|
+
}
|
159
|
+
.highlight .nb {
|
160
|
+
color: #b58900;
|
161
|
+
}
|
162
|
+
.highlight .nc {
|
163
|
+
color: #268bd2;
|
164
|
+
}
|
165
|
+
.highlight .no {
|
166
|
+
color: #cb4b16;
|
167
|
+
}
|
168
|
+
.highlight .nd {
|
169
|
+
color: #268bd2;
|
170
|
+
}
|
171
|
+
.highlight .ni {
|
172
|
+
color: #cb4b16;
|
173
|
+
}
|
174
|
+
.highlight .ne {
|
175
|
+
color: #cb4b16;
|
176
|
+
}
|
177
|
+
.highlight .nf {
|
178
|
+
color: #268bd2;
|
179
|
+
}
|
180
|
+
.highlight .nl {
|
181
|
+
color: #93a1a1;
|
182
|
+
}
|
183
|
+
.highlight .nn {
|
184
|
+
color: #93a1a1;
|
185
|
+
}
|
186
|
+
.highlight .nx {
|
187
|
+
color: #93a1a1;
|
188
|
+
}
|
189
|
+
.highlight .py {
|
190
|
+
color: #93a1a1;
|
191
|
+
}
|
192
|
+
.highlight .nt {
|
193
|
+
color: #268bd2;
|
194
|
+
}
|
195
|
+
.highlight .nv {
|
196
|
+
color: #268bd2;
|
197
|
+
}
|
198
|
+
.highlight .ow {
|
199
|
+
color: #859900;
|
200
|
+
}
|
201
|
+
.highlight .w {
|
202
|
+
color: #93a1a1;
|
203
|
+
}
|
204
|
+
.highlight .mf {
|
205
|
+
color: #2aa198;
|
206
|
+
}
|
207
|
+
.highlight .mh {
|
208
|
+
color: #2aa198;
|
209
|
+
}
|
210
|
+
.highlight .mi {
|
211
|
+
color: #2aa198;
|
212
|
+
}
|
213
|
+
.highlight .mo {
|
214
|
+
color: #2aa198;
|
215
|
+
}
|
216
|
+
.highlight .sb {
|
217
|
+
color: #586e75;
|
218
|
+
}
|
219
|
+
.highlight .sc {
|
220
|
+
color: #2aa198;
|
221
|
+
}
|
222
|
+
.highlight .sd {
|
223
|
+
color: #93a1a1;
|
224
|
+
}
|
225
|
+
.highlight .s2 {
|
226
|
+
color: #2aa198;
|
227
|
+
}
|
228
|
+
.highlight .se {
|
229
|
+
color: #cb4b16;
|
230
|
+
}
|
231
|
+
.highlight .sh {
|
232
|
+
color: #93a1a1;
|
233
|
+
}
|
234
|
+
.highlight .si {
|
235
|
+
color: #2aa198;
|
236
|
+
}
|
237
|
+
.highlight .sx {
|
238
|
+
color: #2aa198;
|
239
|
+
}
|
240
|
+
.highlight .sr {
|
241
|
+
color: #dc322f;
|
242
|
+
}
|
243
|
+
.highlight .s1 {
|
244
|
+
color: #2aa198;
|
245
|
+
}
|
246
|
+
.highlight .ss {
|
247
|
+
color: #2aa198;
|
248
|
+
}
|
249
|
+
.highlight .bp {
|
250
|
+
color: #268bd2;
|
251
|
+
}
|
252
|
+
.highlight .vc {
|
253
|
+
color: #268bd2;
|
254
|
+
}
|
255
|
+
.highlight .vg {
|
256
|
+
color: #268bd2;
|
257
|
+
}
|
258
|
+
.highlight .vi {
|
259
|
+
color: #268bd2;
|
260
|
+
}
|
261
|
+
.highlight .il {
|
262
|
+
color: #2aa198;
|
263
|
+
}
|
data/_sass/_layout.scss
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: naive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- luohy15
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -61,9 +61,18 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- LICENSE.txt
|
63
63
|
- README.md
|
64
|
+
- _includes/footer.html
|
65
|
+
- _includes/head.html
|
66
|
+
- _includes/header.html
|
67
|
+
- _includes/nav.html
|
64
68
|
- _layouts/default.html
|
69
|
+
- _layouts/home.html
|
65
70
|
- _layouts/page.html
|
66
71
|
- _layouts/post.html
|
72
|
+
- _sass/_color.scss
|
73
|
+
- _sass/_layout.scss
|
74
|
+
- _sass/_pinboard.scss
|
75
|
+
- assets/css/main.scss
|
67
76
|
homepage: https://luohy15.com/
|
68
77
|
licenses:
|
69
78
|
- MIT
|