Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e134d13e45 | ||
|
|
5423463ca0 | ||
|
|
65eb672dcc | ||
|
|
ee67ad9743 | ||
|
|
635b1790f3 | ||
|
|
4847ce3330 | ||
|
|
b0f5370ede | ||
|
|
4e2e64989f | ||
|
|
2127655ad8 | ||
|
|
b0261f7c43 | ||
|
|
68327eb69b | ||
|
|
1ae5b070b6 | ||
|
|
4710639f05 | ||
|
|
736f77c9c6 | ||
|
|
e1fce9fc94 | ||
|
|
4259ffdd6f | ||
|
|
de6870743d | ||
|
|
99cd379c61 | ||
|
|
5ffad0d956 | ||
|
|
b1e4881c50 | ||
|
|
c521fe58df | ||
|
|
2e05b8568b | ||
|
|
2301fdf5a7 | ||
|
|
8a39b748c2 | ||
|
|
deaed193af | ||
|
|
641ca6f3d8 | ||
|
|
3d3cb58a2e | ||
|
|
6e4aa384d0 | ||
|
|
c501842db8 | ||
|
|
30ae2357c9 | ||
|
|
aaee7b0ac7 | ||
|
|
4556423b66 | ||
|
|
f734cf7e99 | ||
|
|
6282bd9221 | ||
|
|
29c403b3f6 | ||
|
|
3a2075a090 | ||
|
|
9be80f891f | ||
|
|
f189e40766 | ||
|
|
7bb68edf03 | ||
|
|
5fe4c4810d | ||
|
|
d585934803 | ||
|
|
0ec1aa1292 | ||
|
|
923aa95c97 | ||
|
|
20f45e1d01 | ||
|
|
4b29913413 | ||
|
|
0fe0d83976 | ||
|
|
784264d1e6 | ||
|
|
e243901e9f | ||
|
|
db9cff2ade | ||
|
|
08c53cb804 | ||
|
|
5d52384b85 | ||
|
|
5ef9af5fe5 | ||
|
|
fe77557d60 | ||
|
|
faf86f59e9 | ||
|
|
e61476d0a9 | ||
|
|
e3200acafc | ||
|
|
f69e6cbfc4 | ||
|
|
13a644d22c | ||
|
|
48bf0d4e6c | ||
|
|
2d813530d4 | ||
|
|
72897524d7 | ||
|
|
2e6fe02f78 | ||
|
|
d591b2b8d8 | ||
|
|
64dc575476 | ||
|
|
899050cdfa | ||
|
|
d1dd94246c | ||
|
|
010825dfca | ||
|
|
b24f69a71f | ||
|
|
144cfee5b7 | ||
|
|
d993845dfd | ||
|
|
133dffe2f9 | ||
|
|
8d162a7767 | ||
|
|
de2cf5609b | ||
|
|
2a6d2bdd13 | ||
|
|
0c8cb15210 | ||
|
|
0c9553da06 | ||
|
|
caa21efd4d | ||
|
|
a5aeef3d70 | ||
|
|
efe9f3bf94 | ||
|
|
7e3a7c1b16 | ||
|
|
f98d7de897 | ||
|
|
10a4cb116f | ||
|
|
95f3f0ac64 | ||
|
|
c70990aa70 | ||
|
|
b69acb6743 | ||
|
|
f75d8e552c | ||
|
|
11524f165e | ||
|
|
4488d4cf2b | ||
|
|
c2c05b9b67 | ||
|
|
50bd68e6d0 | ||
|
|
187752b673 | ||
|
|
052f3f786f | ||
|
|
d6444412c6 | ||
|
|
99a77e4d3a | ||
|
|
bdc8ac01e8 | ||
|
|
ab19c77ac9 | ||
|
|
526445bffe | ||
|
|
8bec01b76d | ||
|
|
e21035e62d | ||
|
|
2fcb13a8cc | ||
|
|
8cb95a7005 | ||
|
|
c6f10529a4 | ||
|
|
7a6060a55a | ||
|
|
5b5b3ad4e0 | ||
|
|
24b4585084 | ||
|
|
b75f057a5e | ||
|
|
92f94d5549 | ||
|
|
e0b0448f05 | ||
|
|
b7144931c7 | ||
|
|
5c8b220bf9 | ||
|
|
d57fe1de2c | ||
|
|
5741539e17 | ||
|
|
b4abce3b78 | ||
|
|
53ad4d343a | ||
|
|
3135099203 | ||
|
|
95ba9242bf | ||
|
|
cb18aaa7a0 | ||
|
|
6d1aea573c | ||
|
|
e4fbcf7383 | ||
|
|
eb31e33365 | ||
|
|
f15e02ea58 | ||
|
|
5d85bf1912 | ||
|
|
b093b52074 | ||
|
|
a695d7728f | ||
|
|
83b4dba2f0 | ||
|
|
1f0b50044c | ||
|
|
f099739f42 | ||
|
|
cd7aa71ffc | ||
|
|
960d80dc6d | ||
|
|
34ff24e31b | ||
|
|
d5d3863322 | ||
|
|
bae1a2eb0d | ||
|
|
a0e3387677 | ||
|
|
16bacdcc37 | ||
|
|
be9a90fa0c | ||
|
|
a89a015ce7 | ||
|
|
8a60d43b12 | ||
|
|
a0309bba05 | ||
|
|
af7805a985 | ||
|
|
adb301096f | ||
|
|
42c4df6244 | ||
|
|
8711be97c6 | ||
|
|
28edd82198 | ||
|
|
91433e72e6 | ||
|
|
82f79d3045 | ||
|
|
3af9e57c6a | ||
|
|
c980d7f079 | ||
|
|
f297fe1b51 | ||
|
|
4f8e2b48bb | ||
|
|
2ef1bfb856 | ||
|
|
776ab26ce1 | ||
|
|
a870cbddd9 | ||
|
|
5021021fc8 | ||
|
|
c6145356fd | ||
|
|
7ec8e90c76 | ||
|
|
3ab6ba0b1f | ||
|
|
59e007b20e | ||
|
|
875dbdefb8 | ||
|
|
da2035c1ff | ||
|
|
b336eab85b | ||
|
|
3ca2503745 | ||
|
|
d392698661 | ||
|
|
a3d1d904d5 | ||
|
|
cf398b07ab | ||
|
|
f7770ad079 | ||
|
|
7a4b65711d | ||
|
|
7bdc8dc193 | ||
|
|
1a6bc842ae | ||
|
|
476b12c867 | ||
|
|
890e573989 | ||
|
|
b27da24c8d | ||
|
|
502e28a54e | ||
|
|
9280de7075 | ||
|
|
2147ee2b66 | ||
|
|
172321f115 | ||
|
|
f8ab328e8a | ||
|
|
ac970d98b8 | ||
|
|
3c6c8586ba | ||
|
|
f9c4e37816 | ||
|
|
4ba02060e4 | ||
|
|
8ba8be1cac | ||
|
|
ef9431ccdd | ||
|
|
d387d410eb | ||
|
|
07957f6d64 | ||
|
|
f3c74113fd | ||
|
|
63c929655d | ||
|
|
7790757722 | ||
|
|
b4ccaa6ae2 | ||
|
|
29f4efc441 | ||
|
|
54001dade7 | ||
|
|
843c38b892 | ||
|
|
c57dfd78b0 | ||
|
|
a0a0a78b07 | ||
|
|
7f222d7e1f | ||
|
|
e773a08645 | ||
|
|
def3aaf229 | ||
|
|
2d0b445634 | ||
|
|
6bc673d331 | ||
|
|
0d4e54283a | ||
|
|
c5523d119a | ||
|
|
e00e24dc9d | ||
|
|
e3fd8dc17b | ||
|
|
2d407a9d9e | ||
|
|
b1d7c4062f | ||
|
|
4e25e5242e | ||
|
|
eeecf26117 | ||
|
|
864892c507 | ||
|
|
ece34c1c57 | ||
|
|
7051c2b595 | ||
|
|
e31701787e | ||
|
|
78f049abee | ||
|
|
f9b4ddb869 | ||
|
|
a2385e2584 | ||
|
|
b5abe62bf6 | ||
|
|
9c90563d1a | ||
|
|
02098bc079 | ||
|
|
60f0f1c33a | ||
|
|
e1724aec9d | ||
|
|
7b953b6b01 | ||
|
|
21ae828654 | ||
|
|
cba217a6da | ||
|
|
72bc135b5f | ||
|
|
5e5d4210e2 | ||
|
|
bcd6126612 | ||
|
|
0cf1a2e114 | ||
|
|
52fcc60474 | ||
|
|
dc8a41bb60 | ||
|
|
4fa9cf63d2 | ||
|
|
4bf72cf73f | ||
|
|
31dff63ad1 | ||
|
|
648ef257a4 | ||
|
|
909745a7c9 | ||
|
|
2513357cdc | ||
|
|
e8b36c94d3 | ||
|
|
f7884a31c6 | ||
|
|
060d50eda0 | ||
|
|
b06b6477e9 | ||
|
|
1799ddd6a5 | ||
|
|
636ea3eb87 | ||
|
|
82a71a59f2 | ||
|
|
ec0b288f9e | ||
|
|
1b9b8465b0 | ||
|
|
3332196ec5 | ||
|
|
1163ddc3f2 | ||
|
|
d6c935aaaa | ||
|
|
741b6dcb10 | ||
|
|
0ce6c0d648 | ||
|
|
2397da4e28 | ||
|
|
c6b4cdac97 | ||
|
|
b84c196178 | ||
|
|
d1db419e59 | ||
|
|
31d230934c | ||
|
|
a9f927a353 | ||
|
|
39423bc233 | ||
|
|
eb1af70810 | ||
|
|
6deaab8d3a | ||
|
|
be0e7ca971 | ||
|
|
f2af873e94 | ||
|
|
e2f0cf82f9 | ||
|
|
65051cce2e | ||
|
|
f331584125 | ||
|
|
e604b4742a | ||
|
|
8e2d290c7f | ||
|
|
92401a14b7 | ||
|
|
e7d429cd74 | ||
|
|
7607fcf7b6 | ||
|
|
4a85725bfe | ||
|
|
abf29432f6 | ||
|
|
af528d49ce | ||
|
|
df3da4f7e3 | ||
|
|
e749af9ff8 | ||
|
|
ee9aa75213 | ||
|
|
032aaf209b | ||
|
|
5c9b5c3218 | ||
|
|
02dd27ccdc | ||
|
|
6c733c3b93 | ||
|
|
0be64d50fc | ||
|
|
14ebcce4a9 | ||
|
|
c7e3c5e3cb | ||
|
|
c2c33a9ca8 | ||
|
|
e09ff7efd7 | ||
|
|
2d257a905e | ||
|
|
13d7a231f7 | ||
|
|
4ef8db79ba | ||
|
|
5eaa0e5ec8 | ||
|
|
96feec08a9 | ||
|
|
ef22eb314e | ||
|
|
d4edd0c1e3 | ||
|
|
6d1edf339c | ||
|
|
13ab95d1ad | ||
|
|
2328c8192c | ||
|
|
6d28d12d1d | ||
|
|
29263ac102 | ||
|
|
8e722d0276 | ||
|
|
4462af335e | ||
|
|
4f206843e4 | ||
|
|
647c1672c5 | ||
|
|
1c8c7e6844 | ||
|
|
9a8a64cfbe | ||
|
|
f5da37ea7e | ||
|
|
3e4069c5ba | ||
|
|
a101d668e8 | ||
|
|
2d22b95c32 | ||
|
|
519824eee7 | ||
|
|
9238caac41 | ||
|
|
3b3da46fea | ||
|
|
6a3d325cd4 | ||
|
|
57a7401768 | ||
|
|
a52394c02e | ||
|
|
69edbfba58 | ||
|
|
4b6b76853f | ||
|
|
5c19a81fe6 | ||
|
|
f2c5d79451 | ||
|
|
a2fdc94fb7 | ||
|
|
cc365940c5 | ||
|
|
c642c0f694 | ||
|
|
5ab086cb4c | ||
|
|
58f1d16900 | ||
|
|
143bb32a95 | ||
|
|
2388cbe020 | ||
|
|
35b31e7143 | ||
|
|
724ea26197 | ||
|
|
14e009ee29 | ||
|
|
43b5e5f2ef | ||
|
|
9ffdabb51f | ||
|
|
d48fe54559 | ||
|
|
6d44ad6ca4 | ||
|
|
0959ef52ce | ||
|
|
b84e5fde6a | ||
|
|
4f9aca2a55 | ||
|
|
07461d7648 | ||
|
|
bd449813e5 | ||
|
|
666c15a66b | ||
|
|
a2255d03e1 | ||
|
|
bd2d947a55 | ||
|
|
ae2ab92420 | ||
|
|
c1df29422b | ||
|
|
a1200bbd1d | ||
|
|
6311da0b16 | ||
|
|
95ad34bcf5 | ||
|
|
958441dc15 | ||
|
|
f1fba3d8db | ||
|
|
64daa7f882 | ||
|
|
af772af56f | ||
|
|
75c120f56d | ||
|
|
ca786b68f7 | ||
|
|
3bbfeac62d | ||
|
|
8b708a0ee3 | ||
|
|
cfad550975 | ||
|
|
00bec58bee | ||
|
|
86e9d31857 | ||
|
|
8444d54593 | ||
|
|
dc99092c54 | ||
|
|
b5b8c45530 | ||
|
|
098a475726 | ||
|
|
828b0041a6 | ||
|
|
56701a0bde | ||
|
|
301594f1a3 | ||
|
|
ee81b4613a | ||
|
|
349e4840f1 | ||
|
|
1436671500 | ||
|
|
14adf5c9ef | ||
|
|
e664d1d4d6 | ||
|
|
08e14587cd | ||
|
|
ca12dcd340 | ||
|
|
74ea18ecc5 | ||
|
|
7127afad90 | ||
|
|
3b43fac12b | ||
|
|
f5dafab391 | ||
|
|
480e81d285 | ||
|
|
cd928021ea | ||
|
|
80b6f60205 | ||
|
|
16fc624b82 | ||
|
|
f0037aeb00 | ||
|
|
1b30ffdec2 | ||
|
|
26c1989bf6 | ||
|
|
cb4acd9423 | ||
|
|
64a34ee5ae | ||
|
|
843fa688cc | ||
|
|
8da334b517 | ||
|
|
9b68374559 | ||
|
|
06820bc6b1 | ||
|
|
d7af62a34b | ||
|
|
129500b852 | ||
|
|
93d29be369 | ||
|
|
31cb045a61 | ||
|
|
abf71c6b2a | ||
|
|
3f83a0df91 | ||
|
|
b83ab5600c | ||
|
|
b797deffeb | ||
|
|
4e41e73558 | ||
|
|
d90cea5ef3 | ||
|
|
7cd711e416 | ||
|
|
d84c3ded70 | ||
|
|
0cf24b028d | ||
|
|
90df6afc68 | ||
|
|
cf0c046dd2 | ||
|
|
44760c989e | ||
|
|
dce8f9c10a | ||
|
|
3f1f7da5c8 | ||
|
|
d06e437ced | ||
|
|
9164fda18a | ||
|
|
df8a030a42 | ||
|
|
9baef1bda2 | ||
|
|
e4c0689cda | ||
|
|
29acb2a0bf | ||
|
|
60b5bacca8 | ||
|
|
2413ea7204 | ||
|
|
d09bf47087 | ||
|
|
ac2975a8dd | ||
|
|
146186ab82 | ||
|
|
c7184ba2a2 | ||
|
|
63f3240366 | ||
|
|
01150a8dac | ||
|
|
737c011d46 | ||
|
|
b93ec8ca34 | ||
|
|
baec5d00b5 | ||
|
|
54e141aa0b | ||
|
|
346c8a9257 | ||
|
|
7fa5ac49db | ||
|
|
2e9e2ab312 | ||
|
|
a66cf1d700 | ||
|
|
a1ff46cc59 | ||
|
|
5ed1f79557 | ||
|
|
a44dc2f914 | ||
|
|
94e8280950 | ||
|
|
8625e0708a | ||
|
|
097c01eff1 | ||
|
|
960d6af1a2 | ||
|
|
bd5f157833 | ||
|
|
d5dae86319 | ||
|
|
102924ff94 | ||
|
|
59111d1e01 | ||
|
|
4a38b5fae0 | ||
|
|
3dbe89d3f0 | ||
|
|
fb74bde6f6 | ||
|
|
10f62bb9ac | ||
|
|
c1094cad44 | ||
|
|
78817f9c66 | ||
|
|
7f414f4968 | ||
|
|
4501e4f4b0 | ||
|
|
397c13f087 | ||
|
|
1e78b160ca | ||
|
|
8eb880aaa0 | ||
|
|
67c08a05fd | ||
|
|
65c401b319 | ||
|
|
9be0551c69 | ||
|
|
aefe633770 | ||
|
|
adfdf4b1d9 | ||
|
|
1d4cad2fd7 | ||
|
|
f59711945e | ||
|
|
8efaa7e46a | ||
|
|
246c678028 | ||
|
|
81f7851347 | ||
|
|
ea2b6de555 | ||
|
|
622005cb44 | ||
|
|
cc4471e4dd | ||
|
|
bcb7343b17 | ||
|
|
c510b51a43 | ||
|
|
d41a284bd2 | ||
|
|
f405d24ce2 | ||
|
|
d0d267697e | ||
|
|
8f5140ab42 | ||
|
|
afd8cfd99e | ||
|
|
c44e65cdec | ||
|
|
282806ae07 | ||
|
|
86e95b4f6f | ||
|
|
1b7e8335fe | ||
|
|
a974e45712 | ||
|
|
cac73fb87d | ||
|
|
89c4169191 | ||
|
|
77059e3710 | ||
|
|
2274abb67d | ||
|
|
4c2557d670 | ||
|
|
04e1614184 | ||
|
|
6990f8fcc9 | ||
|
|
f2f580101e | ||
|
|
d361c00f8a | ||
|
|
33551c8cdb | ||
|
|
2784b3ad43 | ||
|
|
9232a38f2a | ||
|
|
53a45a240e | ||
|
|
c848d1ed61 | ||
|
|
b45c66f1f8 | ||
|
|
a81ed706da | ||
|
|
1cd1e7112a | ||
|
|
47450e8d08 | ||
|
|
f27bd39a41 | ||
|
|
70c937392d | ||
|
|
9fb484940f | ||
|
|
8ec8def1b8 | ||
|
|
f98445ef96 | ||
|
|
599847bf2d | ||
|
|
f3f73fdedc | ||
|
|
7de372cea9 | ||
|
|
e647af55dd | ||
|
|
c1412e3958 | ||
|
|
f4d890f282 | ||
|
|
4c6dd4fb41 | ||
|
|
7178b37b08 | ||
|
|
5b8a9de8eb | ||
|
|
f83fce9a02 | ||
|
|
f6d41f8fc8 | ||
|
|
aeb09ff7e1 | ||
|
|
63109a8316 | ||
|
|
5a8f737732 | ||
|
|
9de7eab353 | ||
|
|
be82750f82 | ||
|
|
f4f6e32cc3 | ||
|
|
6a93cea9bd | ||
|
|
f36a8a0bb0 | ||
|
|
19862018e5 | ||
|
|
82e9aee6a8 | ||
|
|
4e745d2f14 | ||
|
|
763d1c1bb5 | ||
|
|
b689af7eea | ||
|
|
83aa6ecb98 | ||
|
|
ed09740b42 | ||
|
|
5a68b46e5a | ||
|
|
edaf61b3ef | ||
|
|
e954039b13 | ||
|
|
2a64d8f514 | ||
|
|
573ce183c8 | ||
|
|
319a74621b | ||
|
|
851426dba2 | ||
|
|
1a88b6a24a | ||
|
|
e2ea799424 | ||
|
|
99ca41c4fe | ||
|
|
8a03ffb439 | ||
|
|
31828d3174 | ||
|
|
22a9c523d6 | ||
|
|
2729b692f3 | ||
|
|
cbcc53de31 | ||
|
|
3cd24c4b69 | ||
|
|
a59dd4a84c | ||
|
|
e4af8a4036 | ||
|
|
e24e259650 | ||
|
|
b2b66378ac | ||
|
|
a2620d34f6 | ||
|
|
d89c9a35fe | ||
|
|
ed24ab50be | ||
|
|
bede124d3f | ||
|
|
8fd8a0ff3d | ||
|
|
dbec2b9975 | ||
|
|
c00e5cf84c | ||
|
|
4b8de03b82 | ||
|
|
309b664cdb | ||
|
|
7d257e4e8b | ||
|
|
2cd757e601 | ||
|
|
5c7fe6b603 | ||
|
|
d786c190c7 | ||
|
|
85237fda1e | ||
|
|
d0ee15eb5c | ||
|
|
9aedf9a694 | ||
|
|
6fcd16154a | ||
|
|
85dca86d0a | ||
|
|
f4cfc87b0a | ||
|
|
0db8fc3ffb | ||
|
|
50e1ed8900 | ||
|
|
6bb8ff0c24 | ||
|
|
6690630917 | ||
|
|
edae4eaa00 | ||
|
|
39a0aa91de | ||
|
|
bf2c543c6c | ||
|
|
45d2ad86ed | ||
|
|
28e918e47d | ||
|
|
98d518817f | ||
|
|
c8f4820d31 | ||
|
|
de15fb80c4 | ||
|
|
4f21d99d56 | ||
|
|
c3693656dd | ||
|
|
91e71e3de5 | ||
|
|
e665944f26 | ||
|
|
f932eeae3e | ||
|
|
05d296c247 | ||
|
|
86d64f412c | ||
|
|
9e8899569a | ||
|
|
2a323940b7 | ||
|
|
e704cd40d4 | ||
|
|
c801107754 | ||
|
|
71df5e0112 | ||
|
|
dcdbba835c | ||
|
|
a7258d4fe4 | ||
|
|
4bd6efc323 | ||
|
|
6d6d738e23 | ||
|
|
2f1b8f3321 | ||
|
|
0a7cab0180 | ||
|
|
a5e96659a0 | ||
|
|
adfbe8622b | ||
|
|
7869947455 | ||
|
|
fe67efdee8 | ||
|
|
396e2ae402 | ||
|
|
2167884cae | ||
|
|
07f203bd1d | ||
|
|
a95fae0155 | ||
|
|
90f5a98406 | ||
|
|
2f40bb6403 | ||
|
|
98682985d7 | ||
|
|
5b2a699a11 | ||
|
|
f4bb3971e7 | ||
|
|
2ef2f27ab9 | ||
|
|
1504379168 | ||
|
|
42de7a56fc | ||
|
|
68df0b6b63 | ||
|
|
833ab3933d | ||
|
|
d082dc2a39 | ||
|
|
d23a569eff | ||
|
|
0fe7a7af2e | ||
|
|
192c22a637 | ||
|
|
174dfd1ba0 |
+9
-5
@@ -1,6 +1,10 @@
|
|||||||
assets/fonts/* linguist-vendored
|
assets/fonts/* linguist-vendored
|
||||||
assets/js/main.min.js linguist-vendored
|
assets/js/main.min.js linguist-vendored
|
||||||
assets/js/lunr/* linguist-vendored
|
assets/js/lunr/* linguist-vendored
|
||||||
assets/js/plugins/* linguist-vendored
|
assets/js/plugins/* linguist-vendored
|
||||||
assets/js/vendor/* linguist-vendored
|
assets/js/vendor/* linguist-vendored
|
||||||
_sass/minimal-mistakes/vendor/* linguist-vendored
|
_sass/minimal-mistakes/vendor/* linguist-vendored
|
||||||
|
CHANGELOG.md text merge=union
|
||||||
|
docs/_docs/18-history.md text merge=union
|
||||||
|
|
||||||
|
*.md text
|
||||||
|
|||||||
+13
-5
@@ -1,15 +1,23 @@
|
|||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
Having trouble working with the theme? Found a typo in the documentation? Interested in adding a feature or [fixing a bug](https://github.com/mmistakes/minimal-mistakes/issues)? Then by all means [submit an issue](https://github.com/mmistakes/minimal-mistakes/issues/new) or [pull request](https://help.github.com/articles/using-pull-requests/). If this is your first pull request, it may be helpful to read up on the [GitHub Flow](https://guides.github.com/introduction/flow/) first.
|
Found a typo in the documentation or interested in [fixing a bug](https://github.com/mmistakes/minimal-mistakes/issues)? Then by all means [submit an issue](https://github.com/mmistakes/minimal-mistakes/issues/new) or [pull request](https://help.github.com/articles/using-pull-requests/). If this is your first pull request, it may be helpful to read up on the [GitHub Flow](https://guides.github.com/introduction/flow/) first.
|
||||||
|
|
||||||
Minimal Mistakes has been designed as a base for you to customize and fit your site's unique needs. Please keep this in mind when requesting features and/or submitting pull requests. If it's not something that most people will use, I probably won't consider it. When in doubt ask.
|
For help with using the theme or general Jekyll support questions, please use the [Jekyll Talk forums](https://talk.jekyllrb.com/).
|
||||||
|
|
||||||
This goes for author sidebar links and "share button" additions -- I have no intention of merging in every possibly option, the essentials are there to get you started :smile:.
|
Minimal Mistakes has been designed as a base for you to customize and fit your
|
||||||
|
site's unique needs. Please keep this in mind when requesting features and/or
|
||||||
|
submitting pull requests. If it's not something that most people will use, I
|
||||||
|
probably won't consider it. When in doubt ask.
|
||||||
|
|
||||||
|
This goes for author sidebar links and "share button" additions -- I have no
|
||||||
|
intention of merging in every possibly option, the essentials are there to get
|
||||||
|
you started :smile:.
|
||||||
|
|
||||||
## Pull Requests
|
## Pull Requests
|
||||||
|
|
||||||
When submitting a pull request:
|
When submitting a pull request:
|
||||||
|
|
||||||
1. Clone the repo.
|
1. Clone the repo.
|
||||||
2. Create a branch off of `master` and give it a meaningful name (e.g. `my-awesome-new-feature`) and describe the feature or fix.
|
2. Create a branch off of `master` and give it a meaningful name (e.g.
|
||||||
3. Open a pull request on GitHub.
|
`my-awesome-new-feature`) and describe the feature or fix.
|
||||||
|
3. Open a pull request on GitHub.
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
custom: https://www.paypal.me/mmistakes
|
||||||
@@ -1,3 +1,8 @@
|
|||||||
|
---
|
||||||
|
name: "Bug Report"
|
||||||
|
about: "Is something not working as expected?"
|
||||||
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Before opening a new issue please:
|
Before opening a new issue please:
|
||||||
|
|
||||||
@@ -7,17 +12,11 @@
|
|||||||
https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
|
https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
|
||||||
- Search all issues at https://github.com/mmistakes/minimal-mistakes/issues
|
- Search all issues at https://github.com/mmistakes/minimal-mistakes/issues
|
||||||
for solutions and to avoid duplication.
|
for solutions and to avoid duplication.
|
||||||
- Ask for help at https://talk.jekyllrb.com/
|
- Ask for help at http://talk.jekyllrb.com/
|
||||||
|
|
||||||
After exhausting these suggestions use the format below.
|
After exhausting these suggestions use the format below.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
## Description
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Describe the issue or proposed feature enhancement.
|
|
||||||
-->
|
|
||||||
|
|
||||||
## Environment
|
## Environment
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
@@ -34,15 +33,14 @@
|
|||||||
- Ruby gem or remote theme version:
|
- Ruby gem or remote theme version:
|
||||||
- Jekyll version:
|
- Jekyll version:
|
||||||
- Git repository URL:
|
- Git repository URL:
|
||||||
- Operating system:
|
|
||||||
- GitHub Pages hosted (if yes provide URL to site):
|
- GitHub Pages hosted (if yes provide URL to site):
|
||||||
|
- Operating system:
|
||||||
---
|
|
||||||
|
|
||||||
## Expected behavior
|
## Expected behavior
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Describe the intended output or what you expected to see.
|
What is it you expected to happen? This should be a description of how the
|
||||||
|
functionality you tried to use is supposed to work.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
## Steps to reproduce the behavior
|
## Steps to reproduce the behavior
|
||||||
@@ -61,3 +59,10 @@
|
|||||||
|
|
||||||
Screenshots can also be included if they help illustrate a behavior.
|
Screenshots can also be included if they help illustrate a behavior.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
## Other
|
||||||
|
|
||||||
|
<!--
|
||||||
|
NOTE: Please provide a code repository, gist, code snippet, sample files,
|
||||||
|
screenshots, or anything else you think will aid in reproducing the issue.
|
||||||
|
-->
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
name: "Documentation"
|
||||||
|
about: "Found a typo or something that needs clarification?"
|
||||||
|
---
|
||||||
|
|
||||||
|
<!-- Thanks for taking the time to open an issue and help make the docs better -->
|
||||||
|
|
||||||
|
## Motivation
|
||||||
|
|
||||||
|
<!-- Why should we update our docs? -->
|
||||||
|
|
||||||
|
<!-- What should we do instead? -->
|
||||||
|
|
||||||
|
## Suggestion
|
||||||
|
|
||||||
|
<!-- What should we do instead? -->
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
<!--
|
||||||
|
Thanks for creating a Pull Request! Before you submit, please make sure
|
||||||
|
you've done the following:
|
||||||
|
|
||||||
|
- Read the contributing document at https://github.com/mmistakes/minimal-mistakes#contributing
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Choose one of the following by uncommenting it:
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- This is a bug fix. -->
|
||||||
|
<!-- This is an enhancement or feature. -->
|
||||||
|
<!-- This is a documentation change. -->
|
||||||
|
|
||||||
|
## Summary
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Provide a description of what your pull request changes.
|
||||||
|
-->
|
||||||
|
|
||||||
|
## Context
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Is this related to any GitHub issue(s)?
|
||||||
|
-->
|
||||||
@@ -6,6 +6,7 @@ daysUntilClose: 7
|
|||||||
exemptLabels:
|
exemptLabels:
|
||||||
- "Status: Accepted"
|
- "Status: Accepted"
|
||||||
- "Status: Under Consideration"
|
- "Status: Under Consideration"
|
||||||
|
- "Status: Review Needed"
|
||||||
# Label to use when marking an issue as stale
|
# Label to use when marking an issue as stale
|
||||||
staleLabel: "Status: Stale"
|
staleLabel: "Status: Stale"
|
||||||
# Comment to post when marking an issue as stale. Set to `false` to disable
|
# Comment to post when marking an issue as stale. Set to `false` to disable
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
name: "Close stale issues and PRs"
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "30 1 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v3
|
||||||
|
with:
|
||||||
|
stale-issue-message: |
|
||||||
|
This issue has been automatically marked as stale because it has not had recent activity.
|
||||||
|
|
||||||
|
If this is a **bug** and you can still reproduce this error on the `master` branch, please reply with any additional information you have about it in order to keep the issue open.
|
||||||
|
|
||||||
|
If this is a feature request, please [add as an Idea under discussions](https://github.com/mmistakes/minimal-mistakes/discussions/categories/ideas) and elaborate on why it is core to this project and why you feel more than 80% of users would find it beneficial.
|
||||||
|
|
||||||
|
This issue will automatically be closed in 7 days if no further activity occurs. Thank you for all your contributions.
|
||||||
|
stale-pr-message: |
|
||||||
|
This pull request has been automatically marked as stale because it has not had recent activity.
|
||||||
|
|
||||||
|
This pull request will automatically be closed in 7 days if no further activity occurs. Thank you for all your contributions.
|
||||||
|
stale-issue-label: "Status: Stale"
|
||||||
|
exempt-issue-labels: "Status: Accepted,Status: Under Consideration,Status: Review Needed,Status: In Progress"
|
||||||
|
stale-pr-label: "Status: Stale"
|
||||||
|
exempt-pr-labels: "Status: Accepted,Status: Under Consideration,Status: Review Needed,Status: In Progress"
|
||||||
+21
-6
@@ -1,14 +1,29 @@
|
|||||||
*.gem
|
# Vim
|
||||||
|
*~
|
||||||
|
*.sw[p_]
|
||||||
|
|
||||||
|
# Sublime Text
|
||||||
*.sublime-project
|
*.sublime-project
|
||||||
*.sublime-workspace
|
*.sublime-workspace
|
||||||
|
|
||||||
|
# Ruby Gem
|
||||||
|
*.gem
|
||||||
.bundle
|
.bundle
|
||||||
|
Gemfile.lock
|
||||||
|
**/vendor/bundle
|
||||||
|
|
||||||
|
# Node.js and NPM
|
||||||
|
node_modules
|
||||||
|
npm-debug.log*
|
||||||
|
package-lock.json
|
||||||
|
codekit-config.json
|
||||||
|
|
||||||
|
# macOS
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
# Jekyll generated files
|
||||||
|
.jekyll-cache
|
||||||
.jekyll-metadata
|
.jekyll-metadata
|
||||||
.sass-cache
|
.sass-cache
|
||||||
_asset_bundler_cache
|
_asset_bundler_cache
|
||||||
_site
|
_site
|
||||||
codekit-config.json
|
|
||||||
example/_site
|
|
||||||
Gemfile.lock
|
|
||||||
node_modules
|
|
||||||
npm-debug.log*
|
|
||||||
+650
-204
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,21 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2013-2020 Michael Rose and contributors
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
||||||
-63
@@ -1,63 +0,0 @@
|
|||||||
The MIT License (MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2013-2018 Michael Rose and contributors
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
||||||
|
|
||||||
Minimal Mistakes incorporates icons from [The Noun Project](https://thenounproject.com/)
|
|
||||||
creators Garrett Knoll, Arthur Shlain, and Tracy Tam.
|
|
||||||
Icons are distributed under Creative Commons Attribution 3.0 United States (CC BY 3.0 US).
|
|
||||||
|
|
||||||
Minimal Mistakes incorporates [Font Awesome](http://fontawesome.io/),
|
|
||||||
Copyright (c) 2017 Dave Gandy.
|
|
||||||
Font Awesome is distributed under the terms of the [SIL OFL 1.1](http://scripts.sil.org/OFL)
|
|
||||||
and [MIT License](http://opensource.org/licenses/MIT).
|
|
||||||
|
|
||||||
Minimal Mistakes incorporates photographs from [Unsplash](https://unsplash.com).
|
|
||||||
|
|
||||||
Minimal Mistakes incorporates [Susy](http://susy.oddbird.net/),
|
|
||||||
Copyright (c) 2017, Miriam Eric Suzanne.
|
|
||||||
Susy is distributed under the terms of the [BSD 3-clause "New" or "Revised" License](https://opensource.org/licenses/BSD-3-Clause).
|
|
||||||
|
|
||||||
Minimal Mistakes incorporates [Breakpoint](http://breakpoint-sass.com/).
|
|
||||||
Breakpoint is distributed under the terms of the [MIT/GPL Licenses](http://opensource.org/licenses/MIT).
|
|
||||||
|
|
||||||
Minimal Mistakes incorporates [FitVids.js](https://github.com/davatron5000/FitVids.js/),
|
|
||||||
Copyright (c) 2013 Dave Rubert and Chris Coyier.
|
|
||||||
FitVids is distributed under the terms of the [WTFPL License](http://sam.zoy.org/wtfpl/).
|
|
||||||
|
|
||||||
Minimal Mistakes incorporates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/),
|
|
||||||
Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com.
|
|
||||||
Magnific Popup is distributed under the terms of the MIT License.
|
|
||||||
|
|
||||||
Minimal Mistakes incorporates [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll),
|
|
||||||
Copyright (c) 2017 Karl Swedberg.
|
|
||||||
jQuery Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
||||||
|
|
||||||
Minimal Mistakes incorporates [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav),
|
|
||||||
Copyright (c) 2015 Luke Jackson.
|
|
||||||
GreedyNav.js is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
||||||
|
|
||||||
Minimal Mistakes incorporates [Jekyll Group-By-Array](https://github.com/mushishi78/jekyll-group-by-array),
|
|
||||||
Copyright (c) 2015 Max White <mushishi78@gmail.com>.
|
|
||||||
Jekyll Group-By-Array is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
||||||
|
|
||||||
Minimal Mistakes incorporates [Lunr](http://lunrjs.com),
|
|
||||||
Copyright (c) 2017 Oliver Nightingale.
|
|
||||||
Lunr is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
||||||
@@ -1,14 +1,20 @@
|
|||||||
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
|
# [Minimal Mistakes Jekyll theme](https://mmistakes.github.io/minimal-mistakes/)
|
||||||
|
|
||||||
[](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE.txt)
|
[](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
|
||||||
[](https://jekyllrb.com/)
|
[](https://jekyllrb.com/)
|
||||||
[](https://rubygems.org/gems/minimal-mistakes-jekyll)
|
[](https://rubygems.org/gems/minimal-mistakes-jekyll)
|
||||||
[](https://www.paypal.me/mmistakes)
|
[](https://www.paypal.me/mmistakes)
|
||||||
|
|
||||||
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building personal sites, blogs, and portfolios. As the name implies, styling is purposely minimalistic to be enhanced and customized by you :smile:.
|
||||||
|
|
||||||
:sparkles: See what's new in the [CHANGELOG](CHANGELOG.md).
|
:sparkles: See what's new in the [CHANGELOG](CHANGELOG.md).
|
||||||
|
|
||||||
|
**If you enjoy this theme, please consider [supporting me](https://www.paypal.me/mmistakes) to continue developing and maintaining it.**
|
||||||
|
|
||||||
|
[](https://www.paypal.me/mmistakes)
|
||||||
|
|
||||||
|
**Note:** The theme uses the [jekyll-include-cache](https://github.com/benbalter/jekyll-include-cache) plugin which will need to be installed in your `Gemfile` and added to the `plugins` array of `_config.yml`. Otherwise you'll encounter `Unknown tag 'include_cached'` errors at build.
|
||||||
|
|
||||||
[![Minimal Mistakes live preview][2]][1]
|
[![Minimal Mistakes live preview][2]][1]
|
||||||
|
|
||||||
[1]: https://mmistakes.github.io/minimal-mistakes/
|
[1]: https://mmistakes.github.io/minimal-mistakes/
|
||||||
@@ -16,36 +22,36 @@ Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Notable Features
|
## Notable features
|
||||||
|
|
||||||
- Bundled as a "theme gem" for easier install/upgrading.
|
- Bundled as a "theme gem" for easier installation/upgrading.
|
||||||
- Compatible with GitHub Pages.
|
- Compatible with GitHub Pages.
|
||||||
- Support for Jekyll's built-in Sass/SCSS preprocessor.
|
- Support for Jekyll's built-in Sass/SCSS preprocessor.
|
||||||
- Nine different skins (color variations).
|
- Nine different skins (color variations).
|
||||||
- Several responsive layout options (single, archive index, search, splash, and paginated home page).
|
- Several responsive layout options (single, archive index, search, splash, and paginated home page).
|
||||||
- Optimized for search engines with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
|
- Optimized for search engines with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data.
|
||||||
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
|
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
|
||||||
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman v1 and v2](https://staticman.net/), and custom).
|
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), and [utterances](https://utteranc.es/)).
|
||||||
- [Google Analytics](https://www.google.com/analytics/) support.
|
- [Google Analytics](https://www.google.com/analytics/) support.
|
||||||
- UI localized text in English (default), Brazilian Portuguese (Português brasileiro), Chinese, Danish, Dutch, French (Français), German (Deutsch), Greek, Hungarian, Indonesian, Italian (Italiano), Japanese, Korean, Nepali (Nepalese), Polish, Russian, Slovak, Spanish (Español), Swedish, Turkish (Türkçe), and Vietnamese.
|
- UI localized text in English (default), Arabic (عربي), Brazilian Portuguese (Português brasileiro), Catalan, Chinese, Danish, Dutch, Finnish, French (Français), German (Deutsch), Greek, Hebrew, Hindi (हिंदी), Hungarian, Indonesian, Irish (Gaeilge), Italian (Italiano), Japanese, Korean, Malayalam, Myanmar (Burmese), Nepali (Nepalese), Norwegian (Norsk), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), and Vietnamese.
|
||||||
|
|
||||||
## Skins (Color Variations)
|
## Skins (color variations)
|
||||||
|
|
||||||
This theme comes in nine different skins (including the default one).
|
This theme comes in nine different skins (in addition to the default one).
|
||||||
|
|
||||||
| `air` | `contrast` | `dark` |
|
| `air` | `contrast` | `dark` |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
|  |  |  |
|
| [](https://mmistakes.github.io/minimal-mistakes/assets/images/air-skin-archive-large.png) | [](https://mmistakes.github.io/minimal-mistakes/assets/images/contrast-skin-archive-large.png) | [](https://mmistakes.github.io/minimal-mistakes/assets/images/dark-skin-archive-large.png) |
|
||||||
|
|
||||||
| `dirt` | `mint` | `sunrise` |
|
| `dirt` | `mint` | `sunrise` |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
|  |  |  |
|
| [](https://mmistakes.github.io/minimal-mistakes/assets/images/dirt-skin-archive-large.png) | [](https://mmistakes.github.io/minimal-mistakes/assets/images/mint-skin-archive-large.png) | [](https://mmistakes.github.io/minimal-mistakes/assets/images/sunrise-skin-archive-large.png) |
|
||||||
|
|
||||||
| `aqua` | `neon` | `plum` |
|
| `aqua` | `neon` | `plum` |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
|  |  |  |
|
| [](https://mmistakes.github.io/minimal-mistakes/assets/images/aqua-skin-archive-large.png) | [](https://mmistakes.github.io/minimal-mistakes/assets/images/neon-skin-archive-large.png) | [](https://mmistakes.github.io/minimal-mistakes/assets/images/plum-skin-archive-large.png) |
|
||||||
|
|
||||||
## Demo Pages
|
## Demo pages
|
||||||
|
|
||||||
| Name | Description |
|
| Name | Description |
|
||||||
| ------------------------------------------- | ----------------------------------------------------- |
|
| ------------------------------------------- | ----------------------------------------------------- |
|
||||||
@@ -70,11 +76,15 @@ Additional sample posts are available under [posts archive][year-archive] on the
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
There are three ways to install the theme: as a Ruby gem (for self-hosted sites), as a Ruby gem + jekyll-remote-theme plugin (GitHub Pages hosted sites), or forking/directly copying all of the theme files into your project.
|
There are three ways to install: as a [gem-based theme](https://jekyllrb.com/docs/themes/#understanding-gem-based-themes), as a [remote theme](https://blog.github.com/2017-11-29-use-any-theme-with-github-pages/) (GitHub Pages compatible), or forking/directly copying all of the theme files into your project.
|
||||||
|
|
||||||
### Ruby Gem Method
|
### Gem-based method
|
||||||
|
|
||||||
1. Install the theme as a Ruby Gem by adding it to your `Gemfile` like so:
|
With Gem-based themes, directories such as the `assets`, `_layouts`, `_includes`, and `_sass` are stored in the theme’s gem, hidden from your immediate view. Yet all of the necessary directories will be read and processed during Jekyll’s build process.
|
||||||
|
|
||||||
|
This allows for easier installation and updating as you don't have to manage any of the theme files. To install:
|
||||||
|
|
||||||
|
1. Add the following to your `Gemfile`:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
gem "minimal-mistakes-jekyll"
|
gem "minimal-mistakes-jekyll"
|
||||||
@@ -94,7 +104,11 @@ There are three ways to install the theme: as a Ruby gem (for self-hosted sites)
|
|||||||
|
|
||||||
To update the theme run `bundle update`.
|
To update the theme run `bundle update`.
|
||||||
|
|
||||||
### GitHub Pages Method
|
### Remote theme method
|
||||||
|
|
||||||
|
Remote themes are similar to Gem-based themes, but do not require `Gemfile` changes or whitelisting making them ideal for sites hosted with GitHub Pages.
|
||||||
|
|
||||||
|
To install:
|
||||||
|
|
||||||
1. Create/replace the contents of your `Gemfile` with the following:
|
1. Create/replace the contents of your `Gemfile` with the following:
|
||||||
|
|
||||||
@@ -102,15 +116,20 @@ To update the theme run `bundle update`.
|
|||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
|
||||||
gem "github-pages", group: :jekyll_plugins
|
gem "github-pages", group: :jekyll_plugins
|
||||||
|
gem "jekyll-include-cache", group: :jekyll_plugins
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:
|
2. Add `jekyll-include-cache` to the `plugins` array of your `_config.yml`.
|
||||||
|
|
||||||
|
3. Fetch and update bundled gems by running the following [Bundler](http://bundler.io/) command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bundle
|
bundle
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Add `remote_theme: "mmistakes/minimal-mistakes"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.23.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
||||||
|
|
||||||
|
**Looking for an example?** Use the [Minimal Mistakes remote theme starter](https://github.com/mmistakes/mm-github-pages-starter/generate) for the quickest method of getting a GitHub Pages hosted site up and running. Generate a new repository from the starter, replace sample content with your own, and configure as needed.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
@@ -120,11 +139,9 @@ For detailed instructions on how to configure, customize, add/migrate content, a
|
|||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
Having trouble working with the theme? Found a typo in the documentation? Interested in adding a feature or [fixing a bug](https://github.com/mmistakes/minimal-mistakes/issues)? Then by all means [submit an issue](https://github.com/mmistakes/minimal-mistakes/issues/new) or [pull request](https://help.github.com/articles/using-pull-requests/). If this is your first pull request, it may be helpful to read up on the [GitHub Flow](https://guides.github.com/introduction/flow/) first.
|
Found a typo in the documentation or interested in [fixing a bug](https://github.com/mmistakes/minimal-mistakes/issues)? Then by all means [submit an issue](https://github.com/mmistakes/minimal-mistakes/issues/new) or [pull request](https://help.github.com/articles/using-pull-requests/). If this is your first pull request, it may be helpful to read up on the [GitHub Flow](https://guides.github.com/introduction/flow/) first.
|
||||||
|
|
||||||
Minimal Mistakes has been designed as a base for you to customize and fit your site's unique needs. Please keep this in mind when requesting features and/or submitting pull requests. If it's not something that most people will use, I probably won't consider it. When in doubt ask.
|
For help with using the theme or general Jekyll support questions, please use the [Jekyll Talk forums](https://talk.jekyllrb.com/).
|
||||||
|
|
||||||
This goes for author sidebar links and "share button" additions -- I have no intention of merging in every possibly option, the essentials are there to get you started :smile:.
|
|
||||||
|
|
||||||
### Pull Requests
|
### Pull Requests
|
||||||
|
|
||||||
@@ -169,7 +186,9 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
|
|||||||
- [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/)
|
- [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/)
|
||||||
- [FitVids.JS](http://fitvidsjs.com/)
|
- [FitVids.JS](http://fitvidsjs.com/)
|
||||||
- [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav)
|
- [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav)
|
||||||
- [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll)
|
- [Smooth Scroll](https://github.com/cferdinandi/smooth-scroll)
|
||||||
|
- [Gumshoe](https://github.com/cferdinandi/gumshoe)
|
||||||
|
- [jQuery throttle / debounce](http://benalman.com/projects/jquery-throttle-debounce-plugin/)
|
||||||
- [Lunr](http://lunrjs.com)
|
- [Lunr](http://lunrjs.com)
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -178,7 +197,7 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
|
|||||||
|
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2013-2018 Michael Rose and contributors
|
Copyright (c) 2013-2020 Michael Rose and contributors
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -218,15 +237,23 @@ Breakpoint is distributed under the terms of the [MIT/GPL Licenses](http://opens
|
|||||||
|
|
||||||
Minimal Mistakes incorporates [FitVids.js](https://github.com/davatron5000/FitVids.js/),
|
Minimal Mistakes incorporates [FitVids.js](https://github.com/davatron5000/FitVids.js/),
|
||||||
Copyright (c) 2013 Dave Rubert and Chris Coyier.
|
Copyright (c) 2013 Dave Rubert and Chris Coyier.
|
||||||
FitVids is distributed under the terms of the [WTFPL License](http://sam.zoy.org/wtfpl/).
|
FitVids is distributed under the terms of the [WTFPL License](http://www.wtfpl.net/).
|
||||||
|
|
||||||
Minimal Mistakes incorporates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/),
|
Minimal Mistakes incorporates [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/),
|
||||||
Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com.
|
Copyright (c) 2014-2016 Dmitry Semenov, http://dimsemenov.com.
|
||||||
Magnific Popup is distributed under the terms of the MIT License.
|
Magnific Popup is distributed under the terms of the MIT License.
|
||||||
|
|
||||||
Minimal Mistakes incorporates [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll),
|
Minimal Mistakes incorporates [Smooth Scroll](http://github.com/cferdinandi/smooth-scroll),
|
||||||
Copyright (c) 2017 Karl Swedberg.
|
Copyright (c) 2019 Chris Ferdinandi.
|
||||||
jQuery Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates [Gumshoejs](http://github.com/cferdinandi/gumshoe),
|
||||||
|
Copyright (c) 2019 Chris Ferdinandi.
|
||||||
|
Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates [jQuery throttle / debounce](http://benalman.com/projects/jquery-throttle-debounce-plugin/),
|
||||||
|
Copyright (c) 2010 "Cowboy" Ben Alman.
|
||||||
|
jQuery throttle / debounce is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|
||||||
Minimal Mistakes incorporates [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav),
|
Minimal Mistakes incorporates [GreedyNav.js](https://github.com/lukejacksonn/GreedyNav),
|
||||||
Copyright (c) 2015 Luke Jackson.
|
Copyright (c) 2015 Luke Jackson.
|
||||||
@@ -241,5 +268,5 @@ Copyright (c) 2017 Vladimir Jimenez.
|
|||||||
Pure Liquid Jekyll Table of Contents is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
Pure Liquid Jekyll Table of Contents is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|
||||||
Minimal Mistakes incorporates [Lunr](http://lunrjs.com),
|
Minimal Mistakes incorporates [Lunr](http://lunrjs.com),
|
||||||
Copyright (c) 2017 Oliver Nightingale.
|
Copyright (c) 2018 Oliver Nightingale.
|
||||||
Lunr is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
Lunr is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
||||||
|
|||||||
+61
-50
@@ -18,16 +18,19 @@ minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt"
|
|||||||
locale : "en-US"
|
locale : "en-US"
|
||||||
title : "Site Title"
|
title : "Site Title"
|
||||||
title_separator : "-"
|
title_separator : "-"
|
||||||
|
subtitle : # site tagline that appears below site title in masthead
|
||||||
name : "Your Name"
|
name : "Your Name"
|
||||||
description : "An amazing website."
|
description : "An amazing website."
|
||||||
url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
|
url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
|
||||||
baseurl : # the subpath of your site, e.g. "/blog"
|
baseurl : # the subpath of your site, e.g. "/blog"
|
||||||
repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
|
repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
|
||||||
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
|
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
|
||||||
|
logo : # path of logo image to display in the masthead, e.g. "/assets/images/88x88.png"
|
||||||
|
masthead_title : # overrides the website title displayed in the masthead, use " " for no title
|
||||||
# breadcrumbs : false # true, false (default)
|
# breadcrumbs : false # true, false (default)
|
||||||
words_per_minute : 200
|
words_per_minute : 200
|
||||||
comments:
|
comments:
|
||||||
provider : # false (default), "disqus", "discourse", "facebook", "google-plus", "staticman", "staticman_v2" "custom"
|
provider : # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "custom"
|
||||||
disqus:
|
disqus:
|
||||||
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
|
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
|
||||||
discourse:
|
discourse:
|
||||||
@@ -37,27 +40,18 @@ comments:
|
|||||||
appid :
|
appid :
|
||||||
num_posts : # 5 (default)
|
num_posts : # 5 (default)
|
||||||
colorscheme : # "light" (default), "dark"
|
colorscheme : # "light" (default), "dark"
|
||||||
staticman:
|
utterances:
|
||||||
allowedFields : # ['name', 'email', 'url', 'message']
|
theme : # "github-light" (default), "github-dark"
|
||||||
branch : # "master"
|
issue_term : # "pathname" (default)
|
||||||
commitMessage : # "New comment by {fields.name}"
|
staticman:
|
||||||
filename : # comment-{@timestamp}
|
branch : # "master"
|
||||||
format : # "yml"
|
endpoint : # "https://{your Staticman v3 API}/v3/entry/github/"
|
||||||
moderation : # true
|
|
||||||
path : # "/_data/comments/{options.slug}" (default)
|
|
||||||
requiredFields : # ['name', 'email', 'message']
|
|
||||||
transforms:
|
|
||||||
email : # "md5"
|
|
||||||
generatedFields:
|
|
||||||
date:
|
|
||||||
type : # "date"
|
|
||||||
options:
|
|
||||||
format : # "iso8601" (default), "timestamp-seconds", "timestamp-milliseconds"
|
|
||||||
reCaptcha:
|
reCaptcha:
|
||||||
siteKey :
|
siteKey :
|
||||||
secret :
|
secret :
|
||||||
atom_feed:
|
atom_feed:
|
||||||
path : # blank (default) uses feed.xml
|
path : # blank (default) uses feed.xml
|
||||||
|
hide : # true, false (default)
|
||||||
search : # true, false (default)
|
search : # true, false (default)
|
||||||
search_full_content : # true, false (default)
|
search_full_content : # true, false (default)
|
||||||
search_provider : # lunr (default), algolia, google
|
search_provider : # lunr (default), algolia, google
|
||||||
@@ -92,7 +86,7 @@ social:
|
|||||||
|
|
||||||
# Analytics
|
# Analytics
|
||||||
analytics:
|
analytics:
|
||||||
provider : false # false (default), "google", "google-universal", "custom"
|
provider : false # false (default), "google", "google-universal", "google-gtag", "custom"
|
||||||
google:
|
google:
|
||||||
tracking_id :
|
tracking_id :
|
||||||
anonymize_ip : # true, false (default)
|
anonymize_ip : # true, false (default)
|
||||||
@@ -102,34 +96,50 @@ analytics:
|
|||||||
author:
|
author:
|
||||||
name : "Your Name"
|
name : "Your Name"
|
||||||
avatar : # path of avatar image, e.g. "/assets/images/bio-photo.jpg"
|
avatar : # path of avatar image, e.g. "/assets/images/bio-photo.jpg"
|
||||||
bio : "I am an amazing person."
|
bio : "I am an **amazing** person."
|
||||||
location : "Somewhere"
|
location : "Somewhere"
|
||||||
email :
|
email :
|
||||||
uri :
|
links:
|
||||||
home : # null (default), "absolute or relative url to link to author home"
|
- label: "Email"
|
||||||
bitbucket :
|
icon: "fas fa-fw fa-envelope-square"
|
||||||
codepen :
|
# url: "mailto:your.name@email.com"
|
||||||
dribbble :
|
- label: "Website"
|
||||||
flickr :
|
icon: "fas fa-fw fa-link"
|
||||||
facebook :
|
# url: "https://your-website.com"
|
||||||
foursquare :
|
- label: "Twitter"
|
||||||
github :
|
icon: "fab fa-fw fa-twitter-square"
|
||||||
gitlab :
|
# url: "https://twitter.com/"
|
||||||
google_plus :
|
- label: "Facebook"
|
||||||
keybase :
|
icon: "fab fa-fw fa-facebook-square"
|
||||||
instagram :
|
# url: "https://facebook.com/"
|
||||||
lastfm :
|
- label: "GitHub"
|
||||||
linkedin : # "john-doe-12345678" (the last part of your profile url, e.g. https://www.linkedin.com/in/john-doe-12345678)
|
icon: "fab fa-fw fa-github"
|
||||||
pinterest :
|
# url: "https://github.com/"
|
||||||
soundcloud :
|
- label: "Instagram"
|
||||||
stackoverflow : # "123456/username" (the last part of your profile url, e.g. https://stackoverflow.com/users/123456/username)
|
icon: "fab fa-fw fa-instagram"
|
||||||
steam : # "steamId" (the last part of your profile url, e.g. https://steamcommunity.com/id/steamId/)
|
# url: "https://instagram.com/"
|
||||||
tumblr :
|
|
||||||
twitter :
|
# Site Footer
|
||||||
vine :
|
footer:
|
||||||
weibo :
|
links:
|
||||||
xing :
|
- label: "Twitter"
|
||||||
youtube : # "https://youtube.com/c/MichaelRoseDesign"
|
icon: "fab fa-fw fa-twitter-square"
|
||||||
|
# url:
|
||||||
|
- label: "Facebook"
|
||||||
|
icon: "fab fa-fw fa-facebook-square"
|
||||||
|
# url:
|
||||||
|
- label: "GitHub"
|
||||||
|
icon: "fab fa-fw fa-github"
|
||||||
|
# url:
|
||||||
|
- label: "GitLab"
|
||||||
|
icon: "fab fa-fw fa-gitlab"
|
||||||
|
# url:
|
||||||
|
- label: "Bitbucket"
|
||||||
|
icon: "fab fa-fw fa-bitbucket"
|
||||||
|
# url:
|
||||||
|
- label: "Instagram"
|
||||||
|
icon: "fab fa-fw fa-instagram"
|
||||||
|
# url:
|
||||||
|
|
||||||
|
|
||||||
# Reading Files
|
# Reading Files
|
||||||
@@ -157,6 +167,7 @@ exclude:
|
|||||||
- log
|
- log
|
||||||
- node_modules
|
- node_modules
|
||||||
- package.json
|
- package.json
|
||||||
|
- package-lock.json
|
||||||
- Rakefile
|
- Rakefile
|
||||||
- README
|
- README
|
||||||
- tmp
|
- tmp
|
||||||
@@ -192,7 +203,7 @@ kramdown:
|
|||||||
# Sass/SCSS
|
# Sass/SCSS
|
||||||
sass:
|
sass:
|
||||||
sass_dir: _sass
|
sass_dir: _sass
|
||||||
style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
|
style: compressed # https://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
|
||||||
|
|
||||||
|
|
||||||
# Outputting
|
# Outputting
|
||||||
@@ -208,7 +219,7 @@ plugins:
|
|||||||
- jekyll-sitemap
|
- jekyll-sitemap
|
||||||
- jekyll-gist
|
- jekyll-gist
|
||||||
- jekyll-feed
|
- jekyll-feed
|
||||||
- jemoji
|
- jekyll-include-cache
|
||||||
|
|
||||||
# mimic GitHub Pages with --safe
|
# mimic GitHub Pages with --safe
|
||||||
whitelist:
|
whitelist:
|
||||||
@@ -216,7 +227,7 @@ whitelist:
|
|||||||
- jekyll-sitemap
|
- jekyll-sitemap
|
||||||
- jekyll-gist
|
- jekyll-gist
|
||||||
- jekyll-feed
|
- jekyll-feed
|
||||||
- jemoji
|
- jekyll-include-cache
|
||||||
|
|
||||||
|
|
||||||
# Archives
|
# Archives
|
||||||
@@ -227,8 +238,8 @@ whitelist:
|
|||||||
# - Archive page should exist at path when using Liquid method or you can
|
# - Archive page should exist at path when using Liquid method or you can
|
||||||
# expect broken links (especially with breadcrumbs enabled)
|
# expect broken links (especially with breadcrumbs enabled)
|
||||||
# - <base_path>/tags/my-awesome-tag/index.html ~> path: /tags/
|
# - <base_path>/tags/my-awesome-tag/index.html ~> path: /tags/
|
||||||
# - <base_path/categories/my-awesome-category/index.html ~> path: /categories/
|
# - <base_path>/categories/my-awesome-category/index.html ~> path: /categories/
|
||||||
# - <base_path/my-awesome-category/index.html ~> path: /
|
# - <base_path>/my-awesome-category/index.html ~> path: /
|
||||||
category_archive:
|
category_archive:
|
||||||
type: liquid
|
type: liquid
|
||||||
path: /categories/
|
path: /categories/
|
||||||
@@ -249,7 +260,7 @@ tag_archive:
|
|||||||
|
|
||||||
|
|
||||||
# HTML Compression
|
# HTML Compression
|
||||||
# - http://jch.penibelst.de/
|
# - https://jch.penibelst.de/
|
||||||
compress_html:
|
compress_html:
|
||||||
clippings: all
|
clippings: all
|
||||||
ignore:
|
ignore:
|
||||||
|
|||||||
+957
-73
File diff suppressed because it is too large
Load Diff
@@ -1,10 +1,7 @@
|
|||||||
<script>
|
<script>
|
||||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
|
||||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
ga('create','{{ site.analytics.google.tracking_id }}','auto');
|
||||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
ga('set', 'anonymizeIp', {{ site.analytics.google.anonymize_ip | default: false }});
|
||||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
ga('send','pageview')
|
||||||
|
|
||||||
ga('create', '{{ site.analytics.google.tracking_id }}', 'auto');
|
|
||||||
ga('set', 'anonymizeIp', {{ site.analytics.google.anonymize_ip | default: false }})
|
|
||||||
ga('send', 'pageview');
|
|
||||||
</script>
|
</script>
|
||||||
|
<script src="https://www.google-analytics.com/analytics.js" async></script>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<script type="text/javascript">
|
<script>
|
||||||
var _gaq = _gaq || [];
|
var _gaq = _gaq || [];
|
||||||
_gaq.push(['_setAccount', '{{ site.analytics.google.tracking_id }}']);
|
_gaq.push(['_setAccount', '{{ site.analytics.google.tracking_id }}']);
|
||||||
{% if site.analytics.google.anonymize_ip == true %}
|
{% if site.analytics.google.anonymize_ip == true %}
|
||||||
@@ -11,4 +11,4 @@
|
|||||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -10,29 +10,21 @@
|
|||||||
{% assign title = post.title %}
|
{% assign title = post.title %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="{{ include.type | default: "list" }}__item">
|
<div class="{{ include.type | default: 'list' }}__item">
|
||||||
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
|
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
|
||||||
{% if include.type == "grid" and teaser %}
|
{% if include.type == "grid" and teaser %}
|
||||||
<div class="archive__item-teaser">
|
<div class="archive__item-teaser">
|
||||||
<img src=
|
<img src="{{ teaser | relative_url }}" alt="">
|
||||||
{% if teaser contains "://" %}
|
|
||||||
"{{ teaser }}"
|
|
||||||
{% else %}
|
|
||||||
"{{ teaser | relative_url }}"
|
|
||||||
{% endif %}
|
|
||||||
alt="">
|
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<h2 class="archive__item-title" itemprop="headline">
|
<h2 class="archive__item-title no_toc" itemprop="headline">
|
||||||
{% if post.link %}
|
{% if post.link %}
|
||||||
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | relative_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
|
<a href="{{ post.link }}">{{ title }}</a> <a href="{{ post.url | relative_url }}" rel="permalink"><i class="fas fa-link" aria-hidden="true" title="permalink"></i><span class="sr-only">Permalink</span></a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ post.url | relative_url }}" rel="permalink">{{ title }}</a>
|
<a href="{{ post.url | relative_url }}" rel="permalink">{{ title }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h2>
|
</h2>
|
||||||
{% if post.read_time %}
|
{% include page__meta.html type=include.type %}
|
||||||
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
|
|
||||||
{% endif %}
|
|
||||||
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
|
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<!--
|
<!--
|
||||||
<li>
|
<li>
|
||||||
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs">
|
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fas fa-fw" aria-hidden="true"></i> Custom Social Profile Link
|
<i class="fas fa-fw" aria-hidden="true"></i> Custom Social Profile Link
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -1,41 +1,30 @@
|
|||||||
{% assign author = page.author | default: page.authors[0] | default: site.author %}
|
{% assign author = page.author | default: page.authors[0] | default: site.author %}
|
||||||
{% assign author = site.data.authors[author] | default: author %}
|
{% assign author = site.data.authors[author] | default: author %}
|
||||||
|
|
||||||
<div itemscope itemtype="http://schema.org/Person">
|
<div itemscope itemtype="https://schema.org/Person">
|
||||||
|
|
||||||
{% if author.avatar %}
|
{% if author.avatar %}
|
||||||
<div class="author__avatar">
|
<div class="author__avatar">
|
||||||
{% if author.avatar contains "://" %}
|
|
||||||
{% assign author_src = author.avatar %}
|
|
||||||
{% else %}
|
|
||||||
{% assign author_src = author.avatar | relative_url %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if author.home %}
|
{% if author.home %}
|
||||||
{% if author.home contains "://" %}
|
<a href="{{ author.home | relative_url }}">
|
||||||
{% assign author_link = author.home %}
|
<img src="{{ author.avatar | relative_url }}" alt="{{ author.name }}" itemprop="image">
|
||||||
{% else %}
|
|
||||||
{% assign author_link = author.home | relative_url %}
|
|
||||||
{% endif %}
|
|
||||||
<a href="{{ author_link }}">
|
|
||||||
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
|
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
|
<img src="{{ author.avatar | relative_url }}" alt="{{ author.name }}" itemprop="image">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="author__content">
|
<div class="author__content">
|
||||||
{% if author.home %}
|
{% if author.home %}
|
||||||
<a href="{{ author_link }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
|
<a href="{{ author.home | relative_url }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
|
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if author.bio %}
|
{% if author.bio %}
|
||||||
<p class="author__bio" itemprop="description">
|
<div class="author__bio" itemprop="description">
|
||||||
{{ author.bio }}
|
{{ author.bio | markdownify }}
|
||||||
</p>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -43,15 +32,23 @@
|
|||||||
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
|
<button class="btn btn--inverse">{{ site.data.ui-text[site.locale].follow_label | remove: ":" | default: "Follow" }}</button>
|
||||||
<ul class="author__urls social-icons">
|
<ul class="author__urls social-icons">
|
||||||
{% if author.location %}
|
{% if author.location %}
|
||||||
<li itemprop="homeLocation" itemscope itemtype="http://schema.org/Place">
|
<li itemprop="homeLocation" itemscope itemtype="https://schema.org/Place">
|
||||||
<i class="fas fa-fw fa-map-marker-alt" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span>
|
<i class="fas fa-fw fa-map-marker-alt" aria-hidden="true"></i> <span itemprop="name">{{ author.location }}</span>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if author.links %}
|
||||||
|
{% for link in author.links %}
|
||||||
|
{% if link.label and link.url %}
|
||||||
|
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i><span class="label">{{ link.label }}</span></a></li>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if author.uri %}
|
{% if author.uri %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ author.uri }}" itemprop="url">
|
<a href="{{ author.uri }}" itemprop="url">
|
||||||
<i class="fas fa-fw fa-link" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].website_label | default: "Website" }}
|
<i class="fas fa-fw fa-link" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].website_label | default: "Website" }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -60,143 +57,135 @@
|
|||||||
<li>
|
<li>
|
||||||
<a href="mailto:{{ author.email }}">
|
<a href="mailto:{{ author.email }}">
|
||||||
<meta itemprop="email" content="{{ author.email }}" />
|
<meta itemprop="email" content="{{ author.email }}" />
|
||||||
<i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].email_label | default: "Email" }}
|
<i class="fas fa-fw fa-envelope-square" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].email_label | default: "Email" }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.keybase %}
|
{% if author.keybase %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs">
|
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fas fa-fw fa-key" aria-hidden="true"></i> Keybase
|
<i class="fas fa-fw fa-key" aria-hidden="true"></i><span class="label">Keybase</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.twitter %}
|
{% if author.twitter %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs">
|
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter
|
<i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i><span class="label">Twitter</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.facebook %}
|
{% if author.facebook %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs">
|
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook
|
<i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i><span class="label">Facebook</span>
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if author.google_plus %}
|
|
||||||
<li>
|
|
||||||
<a href="https://plus.google.com/{{ author.google_plus }}" itemprop="sameAs">
|
|
||||||
<i class="fab fa-fw fa-google-plus-square" aria-hidden="true"></i> Google+
|
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.linkedin %}
|
{% if author.linkedin %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs">
|
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i> LinkedIn
|
<i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span class="label">LinkedIn</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.xing %}
|
{% if author.xing %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs">
|
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-xing-square" aria-hidden="true"></i> XING
|
<i class="fab fa-fw fa-xing-square" aria-hidden="true"></i><span class="label">XING</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.instagram %}
|
{% if author.instagram %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs">
|
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-instagram" aria-hidden="true"></i> Instagram
|
<i class="fab fa-fw fa-instagram" aria-hidden="true"></i><span class="label">Instagram</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.tumblr %}
|
{% if author.tumblr %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs">
|
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i> Tumblr
|
<i class="fab fa-fw fa-tumblr-square" aria-hidden="true"></i><span class="label">Tumblr</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.bitbucket %}
|
{% if author.bitbucket %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs">
|
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket
|
<i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i><span class="label">Bitbucket</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.github %}
|
{% if author.github %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/{{ author.github }}" itemprop="sameAs">
|
<a href="https://github.com/{{ author.github }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub
|
<i class="fab fa-fw fa-github" aria-hidden="true"></i><span class="label">GitHub</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.gitlab %}
|
{% if author.gitlab %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs">
|
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-gitlab" aria-hidden="true"></i> GitLab
|
<i class="fab fa-fw fa-gitlab" aria-hidden="true"></i><span class="label">GitLab</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.stackoverflow %}
|
{% if author.stackoverflow %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs">
|
<a href="https://stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i> Stack Overflow
|
<i class="fab fa-fw fa-stack-overflow" aria-hidden="true"></i><span class="label">Stack Overflow</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.lastfm %}
|
{% if author.lastfm %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs">
|
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i> Last.fm
|
<i class="fab fa-fw fa-lastfm-square" aria-hidden="true"></i><span class="label">Last.fm</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.dribbble %}
|
{% if author.dribbble %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs">
|
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-dribbble" aria-hidden="true"></i> Dribbble
|
<i class="fab fa-fw fa-dribbble" aria-hidden="true"></i><span class="label">Dribbble</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.pinterest %}
|
{% if author.pinterest %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs">
|
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-pinterest" aria-hidden="true"></i> Pinterest
|
<i class="fab fa-fw fa-pinterest" aria-hidden="true"></i><span class="label">Pinterest</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.foursquare %}
|
{% if author.foursquare %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs">
|
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-foursquare" aria-hidden="true"></i> Foursquare
|
<i class="fab fa-fw fa-foursquare" aria-hidden="true"></i><span class="label">Foursquare</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.steam %}
|
{% if author.steam %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs">
|
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-steam" aria-hidden="true"></i> Steam
|
<i class="fab fa-fw fa-steam" aria-hidden="true"></i><span class="label">Steam</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -204,14 +193,14 @@
|
|||||||
{% if author.youtube %}
|
{% if author.youtube %}
|
||||||
{% if author.youtube contains "://" %}
|
{% if author.youtube contains "://" %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ author.youtube }}" itemprop="sameAs">
|
<a href="{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
|
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i><span class="label">YouTube</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% else author.youtube %}
|
{% elsif author.youtube %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs">
|
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i> YouTube
|
<i class="fab fa-fw fa-youtube" aria-hidden="true"></i><span class="label">YouTube</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -219,40 +208,40 @@
|
|||||||
|
|
||||||
{% if author.soundcloud %}
|
{% if author.soundcloud %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs">
|
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i> SoundCloud
|
<i class="fab fa-fw fa-soundcloud" aria-hidden="true"></i><span class="label">SoundCloud</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.weibo %}
|
{% if author.weibo %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs">
|
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-weibo" aria-hidden="true"></i> Weibo
|
<i class="fab fa-fw fa-weibo" aria-hidden="true"></i><span class="label">Weibo</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.flickr %}
|
{% if author.flickr %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs">
|
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-flickr" aria-hidden="true"></i> Flickr
|
<i class="fab fa-fw fa-flickr" aria-hidden="true"></i><span class="label">Flickr</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.codepen %}
|
{% if author.codepen %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs">
|
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-codepen" aria-hidden="true"></i> CodePen
|
<i class="fab fa-fw fa-codepen" aria-hidden="true"></i><span class="label">CodePen</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.vine %}
|
{% if author.vine %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs">
|
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
||||||
<i class="fab fa-fw fa-vine" aria-hidden="true"></i> Vine
|
<i class="fab fa-fw fa-vine" aria-hidden="true"></i><span class="label">{{ site.data.ui-text[site.locale].email_label | default: "Email" }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
{% if site.url %}
|
|
||||||
{% assign base_path = site.url | append: site.baseurl %}
|
|
||||||
{% else %}
|
|
||||||
{% assign base_path = site.github.url %}
|
|
||||||
{% endif %}
|
|
||||||
@@ -13,12 +13,12 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<nav class="breadcrumbs">
|
<nav class="breadcrumbs">
|
||||||
<ol itemscope itemtype="http://schema.org/BreadcrumbList">
|
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
|
||||||
{% assign crumbs = page.url | split: '/' %}
|
{% assign crumbs = page.url | split: '/' %}
|
||||||
{% assign i = 1 %}
|
{% assign i = 1 %}
|
||||||
{% for crumb in crumbs offset: 1 %}
|
{% for crumb in crumbs offset: 1 %}
|
||||||
{% if forloop.first %}
|
{% if forloop.first %}
|
||||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||||
<a href="{{ site.url }}{{ site.baseurl }}/" itemprop="item"><span itemprop="name">{{ site.data.ui-text[site.locale].breadcrumb_home_label | default: "Home" }}</span></a>
|
<a href="{{ site.url }}{{ site.baseurl }}/" itemprop="item"><span itemprop="name">{{ site.data.ui-text[site.locale].breadcrumb_home_label | default: "Home" }}</span></a>
|
||||||
<meta itemprop="position" content="{{ i }}" />
|
<meta itemprop="position" content="{{ i }}" />
|
||||||
</li>
|
</li>
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
<li class="current">{{ page.title }}</li>
|
<li class="current">{{ page.title }}</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign i = i | plus: 1 %}
|
{% assign i = i | plus: 1 %}
|
||||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||||
<a href="{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path | relative_url }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
|
<a href="{{ crumb | downcase | replace: '%20', '-' | prepend: path_type | prepend: crumb_path | relative_url }}" itemprop="item"><span itemprop="name">{{ crumb | replace: '-', ' ' | replace: '%20', ' ' | capitalize }}</span></a>
|
||||||
<meta itemprop="position" content="{{ i }}" />
|
<meta itemprop="position" content="{{ i }}" />
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -6,19 +6,12 @@
|
|||||||
{% endcase %}
|
{% endcase %}
|
||||||
|
|
||||||
{% if site.category_archive.path %}
|
{% if site.category_archive.path %}
|
||||||
{% comment %}
|
{% assign categories_sorted = page.categories | sort_natural %}
|
||||||
<!-- Sort alphabetically regardless of case e.g. a B c d E -->
|
|
||||||
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
|
|
||||||
{% endcomment %}
|
|
||||||
{% capture page_categories %}{% for category in page.categories %}{{ category | downcase }}#{{ category }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
|
|
||||||
{% assign category_hashes = page_categories | split: ',' | sort %}
|
|
||||||
|
|
||||||
<p class="page__taxonomy">
|
<p class="page__taxonomy">
|
||||||
<strong><i class="fas fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} </strong>
|
<strong><i class="fas fa-fw fa-folder-open" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].categories_label | default: "Categories:" }} </strong>
|
||||||
<span itemprop="keywords">
|
<span itemprop="keywords">
|
||||||
{% for hash in category_hashes %}
|
{% for category_word in categories_sorted %}
|
||||||
{% assign keyValue = hash | split: '#' %}
|
|
||||||
{% capture category_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
|
||||||
<a href="{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path | relative_url }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
<a href="{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path | relative_url }}" class="page__taxonomy-item" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="http://schema.org/Comment">
|
<article id="comment{{ include.index }}" class="js-comment comment" itemprop="comment" itemscope itemtype="https://schema.org/Comment">
|
||||||
<div class="comment__avatar-wrapper">
|
<div class="comment__avatar-wrapper">
|
||||||
<img class="comment__avatar" src="https://www.gravatar.com/avatar/{{ include.email }}?d=mm&s=80" alt="{{ include.name }}">
|
<img class="comment__avatar" src="https://www.gravatar.com/avatar/{{ include.email }}?d=mm&s=80" alt="{{ include.name }}">
|
||||||
</div>
|
</div>
|
||||||
<div class="comment__content-wrapper">
|
<div class="comment__content-wrapper">
|
||||||
<h3 class="comment__author" itemprop="author" itemscope itemtype="http://schema.org/Person">
|
<h3 class="comment__author" itemprop="author" itemscope itemtype="https://schema.org/Person">
|
||||||
{% unless include.url == blank %}
|
{% unless include.url == blank %}
|
||||||
<span itemprop="name"><a rel="external nofollow" itemprop="url" href="{{ include.url }}">{{ include.name }}</a></span>
|
<span itemprop="name"><a rel="external nofollow" itemprop="url" href="{{ include.url }}">{{ include.name }}</a></span>
|
||||||
{% else %}
|
{% else %}
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
<p class="comment__date">
|
<p class="comment__date">
|
||||||
{% if include.date %}
|
{% if include.date %}
|
||||||
{% if include.index %}<a href="#comment{{ include.index }}" itemprop="url">{% endif %}
|
{% if include.index %}<a href="#comment{{ include.index }}" itemprop="url">{% endif %}
|
||||||
<time datetime="{{ include.date | date_to_xmlschema }}" itemprop="datePublished">{{ include.date | date: "%B %d, %Y at %I:%M %p" }}</time>
|
<time datetime="{{ include.date | date_to_xmlschema }}" itemprop="datePublished">{{ include.date | date: "%B %-d, %Y at %I:%M %p" }}</time>
|
||||||
{% if include.index %}</a>{% endif %}
|
{% if include.index %}</a>{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
<!-- start custom comments scripts -->
|
||||||
|
|
||||||
|
<!-- end custom comments scripts -->
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
{% if site.comments.disqus.shortname %}
|
{% if site.comments.disqus.shortname %}
|
||||||
<script>
|
<script>
|
||||||
var disqus_config = function () {
|
var disqus_config = function () {
|
||||||
this.page.url = "{{ page.url | absolute_url }}"; // Replace PAGE_URL with your page's canonical URL variable
|
this.page.url = "{{ page.url | absolute_url }}"; /* Replace PAGE_URL with your page's canonical URL variable */
|
||||||
this.page.identifier = "{{ page.id }}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
|
this.page.identifier = "{{ page.id }}"; /* Replace PAGE_IDENTIFIER with your page's unique identifier variable */
|
||||||
};
|
};
|
||||||
(function() { // DON'T EDIT BELOW THIS LINE
|
(function() { /* DON'T EDIT BELOW THIS LINE */
|
||||||
var d = document, s = d.createElement('script');
|
var d = document, s = d.createElement('script');
|
||||||
s.src = 'https://{{ site.comments.disqus.shortname }}.disqus.com/embed.js';
|
s.src = 'https://{{ site.comments.disqus.shortname }}.disqus.com/embed.js';
|
||||||
s.setAttribute('data-timestamp', +new Date());
|
s.setAttribute('data-timestamp', +new Date());
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
<script async type="text/javascript" src="//apis.google.com/js/plusone.js?callback=gpcb"></script>
|
|
||||||
<noscript>Please enable JavaScript to view the <a href="https://plus.google.com/">comments powered by Google+.</a></noscript>
|
|
||||||
@@ -6,13 +6,13 @@
|
|||||||
{% include /comments-providers/discourse.html %}
|
{% include /comments-providers/discourse.html %}
|
||||||
{% when "facebook" %}
|
{% when "facebook" %}
|
||||||
{% include /comments-providers/facebook.html %}
|
{% include /comments-providers/facebook.html %}
|
||||||
{% when "google-plus" %}
|
|
||||||
{% include /comments-providers/google-plus.html %}
|
|
||||||
{% when "staticman" %}
|
{% when "staticman" %}
|
||||||
{% include /comments-providers/staticman.html %}
|
{% include /comments-providers/staticman.html %}
|
||||||
{% when "staticman_v2" %}
|
{% when "staticman_v2" %}
|
||||||
{% include /comments-providers/staticman_v2.html %}
|
{% include /comments-providers/staticman_v2.html %}
|
||||||
|
{% when "utterances" %}
|
||||||
|
{% include /comments-providers/utterances.html %}
|
||||||
{% when "custom" %}
|
{% when "custom" %}
|
||||||
{% include /comments-providers/custom.html %}
|
{% include /comments-providers/custom_scripts.html %}
|
||||||
{% endcase %}
|
{% endcase %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -1,8 +1,6 @@
|
|||||||
{% if site.repository and site.staticman.branch %}
|
{% if site.repository and site.staticman.branch %}
|
||||||
<script>
|
<script>
|
||||||
(function ($) {
|
(function ($) {
|
||||||
var $comments = $('.js-comments');
|
|
||||||
|
|
||||||
$('#new_comment').submit(function () {
|
$('#new_comment').submit(function () {
|
||||||
var form = this;
|
var form = this;
|
||||||
|
|
||||||
@@ -39,4 +37,4 @@
|
|||||||
}
|
}
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
{% if site.repository and site.staticman.branch %}
|
{% if site.repository and site.comments.staticman.branch %}
|
||||||
<script>
|
<script>
|
||||||
(function ($) {
|
(function ($) {
|
||||||
var $comments = $('.js-comments');
|
|
||||||
|
|
||||||
$('#new_comment').submit(function () {
|
$('#new_comment').submit(function () {
|
||||||
var form = this;
|
var form = this;
|
||||||
|
|
||||||
@@ -39,4 +37,4 @@
|
|||||||
}
|
}
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
<script>
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
var commentContainer = document.querySelector('#utterances-comments');
|
||||||
|
|
||||||
|
if (!commentContainer) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var script = document.createElement('script');
|
||||||
|
script.setAttribute('src', 'https://utteranc.es/client.js');
|
||||||
|
script.setAttribute('repo', '{{ site.repository }}');
|
||||||
|
script.setAttribute('issue-term', '{{ site.comments.utterances.issue_term | default: "pathname" }}');
|
||||||
|
script.setAttribute('theme', '{{ site.comments.utterances.theme | default: "github-light" }}');
|
||||||
|
script.setAttribute('crossorigin', 'anonymous');
|
||||||
|
|
||||||
|
commentContainer.appendChild(script);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
+7
-19
@@ -10,24 +10,9 @@
|
|||||||
{% when "facebook" %}
|
{% when "facebook" %}
|
||||||
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
<section class="fb-comments" data-href="{{ page.url | absolute_url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section>
|
<section class="fb-comments" data-href="{{ page.url | absolute_url }}" data-mobile="true" data-num-posts="{{ site.comments.facebook.num_posts | default: 5 }}" data-width="100%" data-colorscheme="{{ site.comments.facebook.colorscheme | default: 'light' }}"></section>
|
||||||
{% when "google-plus" %}
|
|
||||||
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
|
||||||
<section id="g-comments" class="g-comments">Loading Google+ Comments ...</section>
|
|
||||||
<script>
|
|
||||||
function initComment() {
|
|
||||||
gapi.comments.render("g-comments", {
|
|
||||||
href: "{{ page.url | absolute_url }}",
|
|
||||||
width: "624",
|
|
||||||
first_party_property: "BLOGGER",
|
|
||||||
view_type: "FILTERED_POSTMOD"
|
|
||||||
})
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<script async type="text/javascript" src="https://apis.google.com/js/plusone.js" onload="initComment()" />
|
|
||||||
<noscript>Please enable JavaScript to view the <a href="https://plus.google.com/">comments powered by Google+.</a></noscript>-->
|
|
||||||
{% when "staticman_v2" %}
|
{% when "staticman_v2" %}
|
||||||
<section id="static-comments">
|
<section id="static-comments">
|
||||||
{% if site.repository and site.staticman.branch %}
|
{% if site.repository and site.comments.staticman.branch %}
|
||||||
<!-- Start static comments -->
|
<!-- Start static comments -->
|
||||||
<div class="js-comments">
|
<div class="js-comments">
|
||||||
{% if site.data.comments[page.slug] %}
|
{% if site.data.comments[page.slug] %}
|
||||||
@@ -50,7 +35,7 @@
|
|||||||
<div class="page__comments-form">
|
<div class="page__comments-form">
|
||||||
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
|
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_label | default: "Leave a Comment" }}</h4>
|
||||||
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
|
<p class="small">{{ site.data.ui-text[site.locale].comment_form_info | default: "Your email address will not be published. Required fields are marked" }} <span class="required">*</span></p>
|
||||||
<form id="new_comment" class="page__comments-form js-form form" method="post" action="https://api.staticman.net/v2/entry/{{ site.repository }}/{{ site.staticman.branch }}/comments">
|
<form id="new_comment" class="page__comments-form js-form form" method="post" action="{{ site.comments.staticman.endpoint }}{{ site.repository }}/{{ site.comments.staticman.branch }}/comments">
|
||||||
<div class="form__spinner">
|
<div class="form__spinner">
|
||||||
<i class="fas fa-spinner fa-spin fa-3x fa-fw"></i>
|
<i class="fas fa-spinner fa-spin fa-3x fa-fw"></i>
|
||||||
<span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
|
<span class="sr-only">{{ site.data.ui-text[site.locale].loading_label | default: "Loading..." }}</span>
|
||||||
@@ -165,7 +150,10 @@
|
|||||||
<!-- End new comment form -->
|
<!-- End new comment form -->
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
|
{% when "utterances" %}
|
||||||
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
|
<section id="utterances-comments"></section>
|
||||||
{% when "custom" %}
|
{% when "custom" %}
|
||||||
<section id="custom-comments"></section>
|
{% include /comments-providers/custom.html %}
|
||||||
{% endcase %}
|
{% endcase %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,19 +1,15 @@
|
|||||||
{% assign entries = site[include.collection] %}
|
{% assign entries = site[include.collection] %}
|
||||||
|
|
||||||
{% if include.sort_by == 'title' %}
|
{% if include.sort_by %}
|
||||||
{% if include.sort_order == 'reverse' %}
|
{% assign entries = entries | sort: include.sort_by %}
|
||||||
{% assign entries = entries | sort: 'title' | reverse %}
|
{% endif %}
|
||||||
{% else %}
|
|
||||||
{% assign entries = entries | sort: 'title' %}
|
{% if include.sort_order == 'reverse' %}
|
||||||
{% endif %}
|
{% assign entries = entries | reverse %}
|
||||||
{% elsif include.sort_by == 'date' %}
|
|
||||||
{% if include.sort_order == 'reverse' %}
|
|
||||||
{% assign entries = entries | sort: 'date' | reverse %}
|
|
||||||
{% else %}
|
|
||||||
{% assign entries = entries | sort: 'date' %}
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{%- for post in entries -%}
|
{%- for post in entries -%}
|
||||||
{% include archive-single.html %}
|
{%- unless post.hidden -%}
|
||||||
|
{% include archive-single.html %}
|
||||||
|
{%- endunless -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|||||||
+4
-16
@@ -7,24 +7,12 @@
|
|||||||
<div class="feature__wrapper">
|
<div class="feature__wrapper">
|
||||||
|
|
||||||
{% for f in feature_row %}
|
{% for f in feature_row %}
|
||||||
|
|
||||||
{% if f.url contains "://" %}
|
|
||||||
{% capture f_url %}{{ f.url }}{% endcapture %}
|
|
||||||
{% else %}
|
|
||||||
{% capture f_url %}{{ f.url | relative_url }}{% endcapture %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<div class="feature__item{% if include.type %}--{{ include.type }}{% endif %}">
|
<div class="feature__item{% if include.type %}--{{ include.type }}{% endif %}">
|
||||||
<div class="archive__item">
|
<div class="archive__item">
|
||||||
{% if f.image_path %}
|
{% if f.image_path %}
|
||||||
<div class="archive__item-teaser">
|
<div class="archive__item-teaser">
|
||||||
<img src=
|
<img src="{{ f.image_path | relative_url }}"
|
||||||
{% if f.image_path contains "://" %}
|
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
|
||||||
"{{ f.image_path }}"
|
|
||||||
{% else %}
|
|
||||||
"{{ f.image_path | relative_url }}"
|
|
||||||
{% endif %}
|
|
||||||
alt="{% if f.alt %}{{ f.alt }}{% endif %}">
|
|
||||||
{% if f.image_caption %}
|
{% if f.image_caption %}
|
||||||
<span class="archive__item-caption">{{ f.image_caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
|
<span class="archive__item-caption">{{ f.image_caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -43,11 +31,11 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if f.url %}
|
{% if f.url %}
|
||||||
<p><a href="{{ f_url }}" class="btn {{ f.btn_class }}">{{ f.btn_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
|
<p><a href="{{ f.url | relative_url }}" class="btn {{ f.btn_class }}">{{ f.btn_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+7
-10
@@ -1,12 +1,9 @@
|
|||||||
<figure class="{{ include.class }}">
|
<figure class="{{ include.class }}">
|
||||||
<img src=
|
<img src="{{ include.image_path | relative_url }}"
|
||||||
{% if include.image_path contains "://" %}
|
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
|
||||||
"{{ include.image_path }}"
|
{%- if include.caption -%}
|
||||||
{% else %}
|
<figcaption>
|
||||||
"{{ include.image_path | relative_url }}"
|
{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}
|
||||||
{% endif %}
|
</figcaption>
|
||||||
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
|
{%- endif -%}
|
||||||
{% if include.caption %}
|
|
||||||
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
|
|
||||||
{% endif %}
|
|
||||||
</figure>
|
</figure>
|
||||||
|
|||||||
+11
-15
@@ -3,22 +3,18 @@
|
|||||||
{% if site.data.ui-text[site.locale].follow_label %}
|
{% if site.data.ui-text[site.locale].follow_label %}
|
||||||
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
|
<li><strong>{{ site.data.ui-text[site.locale].follow_label }}</strong></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if site.twitter.username %}
|
|
||||||
<li><a href="https://twitter.com/{{ site.twitter.username }}"><i class="fab fa-fw fa-twitter-square" aria-hidden="true"></i> Twitter</a></li>
|
{% if site.footer.links %}
|
||||||
|
{% for link in site.footer.links %}
|
||||||
|
{% if link.label and link.url %}
|
||||||
|
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if site.facebook.username %}
|
|
||||||
<li><a href="https://www.facebook.com/{{ site.facebook.username }}"><i class="fab fa-fw fa-facebook-square" aria-hidden="true"></i> Facebook</a></li>
|
{% unless site.atom_feed.hide %}
|
||||||
{% endif %}
|
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
|
||||||
{% if site.author.github %}
|
{% endunless %}
|
||||||
<li><a href="https://github.com/{{ site.author.github }}"><i class="fab fa-fw fa-github" aria-hidden="true"></i> GitHub</a></li>
|
|
||||||
{% endif %}
|
|
||||||
{% if site.author.gitlab %}
|
|
||||||
<li><a href="https://gitlab.com/{{ site.author.gitlab }}"><i class="fab fa-fw fa-gitlab" aria-hidden="true"></i> Gitlab</a></li>
|
|
||||||
{% endif %}
|
|
||||||
{% if site.author.bitbucket %}
|
|
||||||
<li><a href="https://bitbucket.org/{{ site.author.bitbucket }}"><i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket</a></li>
|
|
||||||
{% endif %}
|
|
||||||
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
+16
-28
@@ -4,44 +4,32 @@
|
|||||||
{% assign gallery = page.gallery %}
|
{% assign gallery = page.gallery %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if gallery.size == 2 %}
|
{% if include.layout %}
|
||||||
{% assign gallery_layout = 'half' %}
|
{% assign gallery_layout = include.layout %}
|
||||||
{% elsif gallery.size >= 3 %}
|
|
||||||
{% assign gallery_layout = 'third' %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign gallery_layout = '' %}
|
{% if gallery.size == 2 %}
|
||||||
|
{% assign gallery_layout = 'half' %}
|
||||||
|
{% elsif gallery.size >= 3 %}
|
||||||
|
{% assign gallery_layout = 'third' %}
|
||||||
|
{% else %}
|
||||||
|
{% assign gallery_layout = '' %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<figure class="{{ gallery_layout }} {{ include.class }}">
|
<figure class="{{ gallery_layout }} {{ include.class }}">
|
||||||
{% for img in gallery %}
|
{% for img in gallery %}
|
||||||
{% if img.url %}
|
{% if img.url %}
|
||||||
<a href=
|
<a href="{{ img.url | relative_url }}"
|
||||||
{% if img.url contains "://" %}
|
{% if img.title %}title="{{ img.title }}"{% endif %}>
|
||||||
"{{ img.url }}"
|
<img src="{{ img.image_path | relative_url }}"
|
||||||
{% else %}
|
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
||||||
"{{ img.url | relative_url }}"
|
|
||||||
{% endif %}
|
|
||||||
{% if img.title %}title="{{ img.title }}"{% endif %}
|
|
||||||
>
|
|
||||||
<img src=
|
|
||||||
{% if img.image_path contains "://" %}
|
|
||||||
"{{ img.image_path }}"
|
|
||||||
{% else %}
|
|
||||||
"{{ img.image_path | relative_url }}"
|
|
||||||
{% endif %}
|
|
||||||
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
|
||||||
</a>
|
</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src=
|
<img src="{{ img.image_path | relative_url }}"
|
||||||
{% if img.image_path contains "://" %}
|
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
||||||
"{{ img.image_path }}"
|
|
||||||
{% else %}
|
|
||||||
"{{ img.image_path | relative_url }}"
|
|
||||||
{% endif %}
|
|
||||||
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if include.caption %}
|
{% if include.caption %}
|
||||||
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
|
<figcaption>{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}</figcaption>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</figure>
|
</figure>
|
||||||
|
|||||||
+7
-11
@@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
{% include seo.html %}
|
{% include seo.html %}
|
||||||
|
|
||||||
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
{% unless site.atom_feed.hide %}
|
||||||
|
<link href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
||||||
|
{% endunless %}
|
||||||
|
|
||||||
<!-- http://t.co/dKP3o1e -->
|
<!-- https://t.co/dKP3o1e -->
|
||||||
<meta name="HandheldFriendly" content="True">
|
|
||||||
<meta name="MobileOptimized" content="320">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -15,8 +15,9 @@
|
|||||||
|
|
||||||
<!-- For all browsers -->
|
<!-- For all browsers -->
|
||||||
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
|
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5/css/all.min.css">
|
||||||
|
|
||||||
<!--[if lte IE 9]>
|
<!--[if IE]>
|
||||||
<style>
|
<style>
|
||||||
/* old IE unsupported flexbox fixes */
|
/* old IE unsupported flexbox fixes */
|
||||||
.greedy-nav .site-title {
|
.greedy-nav .site-title {
|
||||||
@@ -33,11 +34,6 @@
|
|||||||
|
|
||||||
{% if site.head_scripts %}
|
{% if site.head_scripts %}
|
||||||
{% for script in site.head_scripts %}
|
{% for script in site.head_scripts %}
|
||||||
{% if script contains "://" %}
|
<script src="{{ script | relative_url }}"></script>
|
||||||
{% capture script_path %}{{ script }}{% endcapture %}
|
|
||||||
{% else %}
|
|
||||||
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
|
|
||||||
{% endif %}
|
|
||||||
<script src="{{ script_path }}"></script>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
+12
-8
@@ -1,29 +1,33 @@
|
|||||||
|
{% capture logo_path %}{{ site.logo }}{% endcapture %}
|
||||||
|
|
||||||
<div class="masthead">
|
<div class="masthead">
|
||||||
<div class="masthead__inner-wrap">
|
<div class="masthead__inner-wrap">
|
||||||
<div class="masthead__menu">
|
<div class="masthead__menu">
|
||||||
<nav id="site-nav" class="greedy-nav">
|
<nav id="site-nav" class="greedy-nav">
|
||||||
<a class="site-title" href="{{ '/' | relative_url }}">{{ site.title }}</a>
|
{% unless logo_path == empty %}
|
||||||
|
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt="{{ site.masthead_title | default: site.title }}"></a>
|
||||||
|
{% endunless %}
|
||||||
|
<a class="site-title" href="{{ '/' | relative_url }}">
|
||||||
|
{{ site.masthead_title | default: site.title }}
|
||||||
|
{% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle }}</span>{% endif %}
|
||||||
|
</a>
|
||||||
<ul class="visible-links">
|
<ul class="visible-links">
|
||||||
{%- for link in site.data.navigation.main -%}
|
{%- for link in site.data.navigation.main -%}
|
||||||
{%- if link.url contains '://' -%}
|
|
||||||
{%- assign url = link.url -%}
|
|
||||||
{%- else -%}
|
|
||||||
{%- assign url = link.url | relative_url -%}
|
|
||||||
{%- endif -%}
|
|
||||||
<li class="masthead__menu-item">
|
<li class="masthead__menu-item">
|
||||||
<a href="{{ url }}" {% if link.description %}title="{{ link.description }}"{% endif %}>{{ link.title }}</a>
|
<a href="{{ link.url | relative_url }}"{% if link.description %} title="{{ link.description }}"{% endif %}>{{ link.title }}</a>
|
||||||
</li>
|
</li>
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
||||||
{% if site.search == true %}
|
{% if site.search == true %}
|
||||||
<button class="search__toggle" type="button">
|
<button class="search__toggle" type="button">
|
||||||
|
<span class="visually-hidden">{{ site.data.ui-text[site.locale].search_label | default: "Toggle search" }}</span>
|
||||||
<svg class="icon" width="16" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.99 16">
|
<svg class="icon" width="16" height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.99 16">
|
||||||
<path d="M15.5,13.12L13.19,10.8a1.69,1.69,0,0,0-1.28-.55l-0.06-.06A6.5,6.5,0,0,0,5.77,0,6.5,6.5,0,0,0,2.46,11.59a6.47,6.47,0,0,0,7.74.26l0.05,0.05a1.65,1.65,0,0,0,.5,1.24l2.38,2.38A1.68,1.68,0,0,0,15.5,13.12ZM6.4,2A4.41,4.41,0,1,1,2,6.4,4.43,4.43,0,0,1,6.4,2Z" transform="translate(-.01)"></path>
|
<path d="M15.5,13.12L13.19,10.8a1.69,1.69,0,0,0-1.28-.55l-0.06-.06A6.5,6.5,0,0,0,5.77,0,6.5,6.5,0,0,0,2.46,11.59a6.47,6.47,0,0,0,7.74.26l0.05,0.05a1.65,1.65,0,0,0,.5,1.24l2.38,2.38A1.68,1.68,0,0,0,15.5,13.12ZM6.4,2A4.41,4.41,0,1,1,2,6.4,4.43,4.43,0,0,1,6.4,2Z" transform="translate(-.01)"></path>
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<button class="greedy-nav__toggle hidden" type="button">
|
<button class="greedy-nav__toggle hidden" type="button">
|
||||||
<span class="visually-hidden">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle Menu" }}</span>
|
<span class="visually-hidden">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle menu" }}</span>
|
||||||
<div class="navicon"></div>
|
<div class="navicon"></div>
|
||||||
</button>
|
</button>
|
||||||
<ul class="hidden-links hidden"></ul>
|
<ul class="hidden-links hidden"></ul>
|
||||||
|
|||||||
+3
-24
@@ -8,14 +8,7 @@
|
|||||||
{% for nav in navigation %}
|
{% for nav in navigation %}
|
||||||
<li>
|
<li>
|
||||||
{% if nav.url %}
|
{% if nav.url %}
|
||||||
{% comment %} internal/external URL check {% endcomment %}
|
<a href="{{ nav.url | relative_url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
|
||||||
{% if nav.url contains "://" %}
|
|
||||||
{% assign nav_url = nav.url %}
|
|
||||||
{% else %}
|
|
||||||
{% assign nav_url = nav.url | relative_url %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<a href="{{ nav_url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<span class="nav__sub-title">{{ nav.title }}</span>
|
<span class="nav__sub-title">{{ nav.title }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -23,25 +16,11 @@
|
|||||||
{% if nav.children != null %}
|
{% if nav.children != null %}
|
||||||
<ul>
|
<ul>
|
||||||
{% for child in nav.children %}
|
{% for child in nav.children %}
|
||||||
{% comment %} internal/external URL check {% endcomment %}
|
<li><a href="{{ child.url | relative_url }}"{% if child.url == page.url %} class="active"{% endif %}>{{ child.title }}</a></li>
|
||||||
{% if child.url contains "://" %}
|
|
||||||
{% assign child_url = child.url %}
|
|
||||||
{% else %}
|
|
||||||
{% assign child_url = child.url | relative_url %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% comment %} set "active" class on current page {% endcomment %}
|
|
||||||
{% if child.url == page.url %}
|
|
||||||
{% assign active = "active" %}
|
|
||||||
{% else %}
|
|
||||||
{% assign active = "" %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<li><a href="{{ child_url }}" class="{{ active }}">{{ child.title }}</a></li>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{% assign date_format = site.date_format | default: "%B %-d, %Y" %}
|
||||||
|
{% if page.last_modified_at %}
|
||||||
|
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: date_format }}</time></p>
|
||||||
|
{% elsif page.date %}
|
||||||
|
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: date_format }}</time></p>
|
||||||
|
{% endif %}
|
||||||
+19
-25
@@ -1,25 +1,13 @@
|
|||||||
{% if page.header.image contains "://" %}
|
{% capture overlay_img_path %}{{ page.header.overlay_image | relative_url }}{% endcapture %}
|
||||||
{% capture img_path %}{{ page.header.image }}{% endcapture %}
|
|
||||||
{% else %}
|
|
||||||
{% capture img_path %}{{ page.header.image | relative_url }}{% endcapture %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if page.header.cta_url contains "://" %}
|
{% if page.header.overlay_filter contains "gradient" %}
|
||||||
{% capture cta_path %}{{ page.header.cta_url }}{% endcapture %}
|
|
||||||
{% else %}
|
|
||||||
{% capture cta_path %}{{ page.header.cta_url | relative_url }}{% endcapture %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if page.header.overlay_image contains "://" %}
|
|
||||||
{% capture overlay_img_path %}{{ page.header.overlay_image }}{% endcapture %}
|
|
||||||
{% elsif page.header.overlay_image %}
|
|
||||||
{% capture overlay_img_path %}{{ page.header.overlay_image | relative_url }}{% endcapture %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if page.header.overlay_filter contains "rgba" %}
|
|
||||||
{% capture overlay_filter %}{{ page.header.overlay_filter }}{% endcapture %}
|
{% capture overlay_filter %}{{ page.header.overlay_filter }}{% endcapture %}
|
||||||
|
{% elsif page.header.overlay_filter contains "rgba" %}
|
||||||
|
{% capture overlay_filter %}{{ page.header.overlay_filter }}{% endcapture %}
|
||||||
|
{% capture overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}){% endcapture %}
|
||||||
{% elsif page.header.overlay_filter %}
|
{% elsif page.header.overlay_filter %}
|
||||||
{% capture overlay_filter %}rgba(0, 0, 0, {{ page.header.overlay_filter }}){% endcapture %}
|
{% capture overlay_filter %}rgba(0, 0, 0, {{ page.header.overlay_filter }}){% endcapture %}
|
||||||
|
{% capture overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}){% endcapture %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.header.image_description %}
|
{% if page.header.image_description %}
|
||||||
@@ -31,7 +19,7 @@
|
|||||||
{% assign image_description = image_description | markdownify | strip_html | strip_newlines | escape_once %}
|
{% assign image_description = image_description | markdownify | strip_html | strip_newlines | escape_once %}
|
||||||
|
|
||||||
<div class="page__hero{% if page.header.overlay_color or page.header.overlay_image %}--overlay{% endif %}"
|
<div class="page__hero{% if page.header.overlay_color or page.header.overlay_image %}--overlay{% endif %}"
|
||||||
style="{% if page.header.overlay_color %}background-color: {{ page.header.overlay_color | default: 'transparent' }};{% endif %} {% if overlay_img_path %}background-image: {% if overlay_filter %}linear-gradient({{ overlay_filter }}, {{ overlay_filter }}), {% endif %}url('{{ overlay_img_path }}');{% endif %}"
|
style="{% if page.header.overlay_color %}background-color: {{ page.header.overlay_color | default: 'transparent' }};{% endif %} {% if overlay_img_path %}background-image: {% if overlay_filter %}{{ overlay_filter }}, {% endif %}url('{{ overlay_img_path }}');{% endif %}"
|
||||||
>
|
>
|
||||||
{% if page.header.overlay_color or page.header.overlay_image %}
|
{% if page.header.overlay_color or page.header.overlay_image %}
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
@@ -42,18 +30,24 @@
|
|||||||
{{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }}
|
{{ page.title | default: site.title | markdownify | remove: "<p>" | remove: "</p>" }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h1>
|
</h1>
|
||||||
{% if page.header.show_overlay_excerpt != false and page.excerpt %}
|
{% if page.tagline %}
|
||||||
|
<p class="page__lead">{{ page.tagline | markdownify | remove: "<p>" | remove: "</p>" }}</p>
|
||||||
|
{% elsif page.header.show_overlay_excerpt != false and page.excerpt %}
|
||||||
<p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
|
<p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.read_time %}
|
{% include page__meta.html %}
|
||||||
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
|
|
||||||
{% endif %}
|
|
||||||
{% if page.header.cta_url %}
|
{% if page.header.cta_url %}
|
||||||
<p><a href="{{ cta_path }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
|
<p><a href="{{ page.header.cta_url | relative_url }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
|
||||||
|
{% endif %}
|
||||||
|
{% if page.header.actions %}
|
||||||
|
<p>
|
||||||
|
{% for action in page.header.actions %}
|
||||||
|
<a href="{{ action.url | relative_url }}" class="btn btn--light-outline btn--large">{{ action.label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a>
|
||||||
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<img src="{{ img_path }}" alt="{{ image_description }}" class="page__hero-image">
|
<img src="{{ page.header.image | relative_url }}" alt="{{ image_description }}" class="page__hero-image">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.header.caption %}
|
{% if page.header.caption %}
|
||||||
<span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
|
<span class="page__hero-caption">{{ page.header.caption | markdownify | remove: "<p>" | remove: "</p>" }}</span>
|
||||||
|
|||||||
@@ -1,4 +1,2 @@
|
|||||||
{% capture video_id %}{{ page.header.video.id }}{% endcapture %}
|
{% assign video = page.header.video %}
|
||||||
{% capture video_provider %}{{ page.header.video.provider }}{% endcapture %}
|
{% include video id=video.id provider=video.provider danmaku=video.danmaku %}
|
||||||
|
|
||||||
{% include video id=video_id provider=video_provider %}
|
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
{% assign document = post | default: page %}
|
||||||
|
{% if document.read_time or document.show_date %}
|
||||||
|
<p class="page__meta">
|
||||||
|
{% if document.show_date and document.date %}
|
||||||
|
{% assign date = document.date %}
|
||||||
|
<span class="page__meta-date">
|
||||||
|
<i class="far {% if include.type == 'grid' and document.read_time and document.show_date %}fa-fw {% endif %}fa-calendar-alt" aria-hidden="true"></i>
|
||||||
|
{% assign date_format = site.date_format | default: "%B %-d, %Y" %}
|
||||||
|
<time datetime="{{ date | date_to_xmlschema }}">{{ date | date: date_format }}</time>
|
||||||
|
</span>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if document.read_time and document.show_date %}<span class="page__meta-sep"></span>{% endif %}
|
||||||
|
|
||||||
|
{% if document.read_time %}
|
||||||
|
{% assign words_per_minute = document.words_per_minute | default: site.words_per_minute | default: 200 %}
|
||||||
|
{% assign words = document.content | strip_html | number_of_words %}
|
||||||
|
|
||||||
|
<span class="page__meta-readtime">
|
||||||
|
<i class="far {% if include.type == 'grid' and document.read_time and document.show_date %}fa-fw {% endif %}fa-clock" aria-hidden="true"></i>
|
||||||
|
{% if words < words_per_minute %}
|
||||||
|
{{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
||||||
|
{% elsif words == words_per_minute %}
|
||||||
|
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
||||||
|
{% else %}
|
||||||
|
{{ words | divided_by: words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
||||||
|
{% endif %}
|
||||||
|
</span>
|
||||||
|
{% endif %}
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{% if paginator.total_pages > 1 %}
|
{% if paginator.total_pages > 1 %}
|
||||||
<nav class="pagination">
|
<nav class="pagination">
|
||||||
{% assign first_page_path = site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | relative_url %}
|
{% assign first_page_path = paginator.first_page_path | default: site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | relative_url %}
|
||||||
<ul>
|
<ul>
|
||||||
{% comment %} Link for previous page {% endcomment %}
|
{% comment %} Link for previous page {% endcomment %}
|
||||||
{% if paginator.previous_page %}
|
{% if paginator.previous_page %}
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
{%- for post in site.categories[include.taxonomy] -%}
|
{%- for post in site.categories[include.taxonomy] -%}
|
||||||
{% include archive-single.html %}
|
{%- unless post.hidden -%}
|
||||||
|
{% include archive-single.html %}
|
||||||
|
{%- endunless -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
{%- for post in site.tags[include.taxonomy] -%}
|
{%- for post in site.tags[include.taxonomy] -%}
|
||||||
{% include archive-single.html %}
|
{%- unless post.hidden -%}
|
||||||
|
{% include archive-single.html %}
|
||||||
|
{%- endunless -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
{% assign words_per_minute = site.words_per_minute | default: 200 %}
|
|
||||||
|
|
||||||
{% if post.read_time %}
|
|
||||||
{% assign words = post.content | strip_html | number_of_words %}
|
|
||||||
{% elsif page.read_time %}
|
|
||||||
{% assign words = page.content | strip_html | number_of_words %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if words < words_per_minute %}
|
|
||||||
{{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
|
||||||
{% elsif words == words_per_minute %}
|
|
||||||
1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
|
||||||
{% else %}
|
|
||||||
{{ words | divided_by:words_per_minute }} {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
|
|
||||||
{% endif %}
|
|
||||||
+10
-10
@@ -1,28 +1,28 @@
|
|||||||
{% if site.footer_scripts %}
|
{% if site.footer_scripts %}
|
||||||
{% for script in site.footer_scripts %}
|
{% for script in site.footer_scripts %}
|
||||||
{% if script contains "://" %}
|
<script src="{{ script | relative_url }}"></script>
|
||||||
{% capture script_path %}{{ script }}{% endcapture %}
|
|
||||||
{% else %}
|
|
||||||
{% capture script_path %}{{ script | relative_url }}{% endcapture %}
|
|
||||||
{% endif %}
|
|
||||||
<script src="{{ script_path }}"></script>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
|
<script src="{{ '/assets/js/main.min.js' | relative_url }}"></script>
|
||||||
<script src="https://use.fontawesome.com/releases/v5.2.0/js/all.js"></script>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.search == true or page.layout == "search" %}
|
{% if site.search == true or page.layout == "search" %}
|
||||||
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
||||||
{%- case search_provider -%}
|
{%- case search_provider -%}
|
||||||
{%- when "lunr" -%}
|
{%- when "lunr" -%}
|
||||||
{% include search/lunr-search-scripts.html %}
|
{% include_cached search/lunr-search-scripts.html %}
|
||||||
{%- when "google" -%}
|
{%- when "google" -%}
|
||||||
{% include search/google-search-scripts.html %}
|
{% include_cached search/google-search-scripts.html %}
|
||||||
{%- when "algolia" -%}
|
{%- when "algolia" -%}
|
||||||
{% include search/algolia-search-scripts.html %}
|
{% include_cached search/algolia-search-scripts.html %}
|
||||||
{%- endcase -%}
|
{%- endcase -%}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% include analytics.html %}
|
{% include analytics.html %}
|
||||||
{% include /comments-providers/scripts.html %}
|
{% include /comments-providers/scripts.html %}
|
||||||
|
|
||||||
|
{% if site.after_footer_scripts %}
|
||||||
|
{% for script in site.after_footer_scripts %}
|
||||||
|
<script src="{{ script | relative_url }}"></script>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<!-- Including InstantSearch.js library and styling -->
|
<!-- Including InstantSearch.js library and styling -->
|
||||||
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.js"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.css">
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch-theme-algolia.min.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch-theme-algolia.min.css">
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Instanciating InstantSearch.js with Algolia credentials
|
// Instanciating InstantSearch.js with Algolia credentials
|
||||||
@@ -24,7 +24,7 @@ const hitTemplate = function(hit) {
|
|||||||
|
|
||||||
return `
|
return `
|
||||||
<div class="list__item">
|
<div class="list__item">
|
||||||
<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">
|
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">
|
||||||
<h2 class="archive__item-title" itemprop="headline"><a href="{{ site.baseurl }}${url}">${title}</a></h2>
|
<h2 class="archive__item-title" itemprop="headline"><a href="{{ site.baseurl }}${url}">${title}</a></h2>
|
||||||
<div class="archive__item-excerpt" itemprop="description">${content}</div>
|
<div class="archive__item-excerpt" itemprop="description">${content}</div>
|
||||||
</article>
|
</article>
|
||||||
@@ -44,11 +44,18 @@ search.addWidget(
|
|||||||
instantsearch.widgets.hits({
|
instantsearch.widgets.hits({
|
||||||
container: '.search-hits',
|
container: '.search-hits',
|
||||||
templates: {
|
templates: {
|
||||||
item: hitTemplate
|
item: hitTemplate,
|
||||||
|
empty: '{{ site.data.ui-text[site.locale].search_algolia_no_results | default: "No results" }}',
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
// Starting the search
|
// Starting the search only when toggle is clicked
|
||||||
search.start();
|
$(document).ready(function () {
|
||||||
|
$(".search__toggle").on("click", function() {
|
||||||
|
if(!search.started) {
|
||||||
|
search.start();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -1,18 +1,26 @@
|
|||||||
<div class="search-content__inner-wrap">
|
<div class="search-content__inner-wrap">
|
||||||
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
{%- assign search_provider = site.search_provider | default: "lunr" -%}
|
||||||
{%- case search_provider -%}
|
{%- case search_provider -%}
|
||||||
{%- when "lunr" -%}
|
{%- when "lunr" -%}
|
||||||
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
<form class="search-content__form" onkeydown="return event.key != 'Enter';">
|
||||||
<div id="results" class="results"></div>
|
<label class="sr-only" for="search">
|
||||||
|
{{ site.data.ui-text[site.locale].search_label_text | default: 'Enter your search term...' }}
|
||||||
|
</label>
|
||||||
|
<input type="search" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
||||||
|
</form>
|
||||||
|
<div id="results" class="results"></div>
|
||||||
{%- when "google" -%}
|
{%- when "google" -%}
|
||||||
<form onsubmit="return executeQuery();" id="cse-search-box-form-id">
|
<form onsubmit="return googleCustomSearchExecute();" id="cse-search-box-form-id">
|
||||||
<input type="text" id="cse-search-input-box-id" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
<label class="sr-only" for="cse-search-input-box-id">
|
||||||
</form>
|
{{ site.data.ui-text[site.locale].search_label_text | default: 'Enter your search term...' }}
|
||||||
<div id="results" class="results">
|
</label>
|
||||||
<gcse:searchresults-only></gcse:searchresults-only>
|
<input type="search" id="cse-search-input-box-id" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
||||||
</div>
|
</form>
|
||||||
|
<div id="results" class="results">
|
||||||
|
<gcse:searchresults-only></gcse:searchresults-only>
|
||||||
|
</div>
|
||||||
{%- when "algolia" -%}
|
{%- when "algolia" -%}
|
||||||
<div class="search-searchbar"></div>
|
<div class="search-searchbar"></div>
|
||||||
<div class="search-hits"></div>
|
<div class="search-hits"></div>
|
||||||
{%- endcase -%}
|
{%- endcase -%}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+30
-36
@@ -14,36 +14,31 @@
|
|||||||
{%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%}
|
{%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url %}
|
{% if page.canonical_url %}
|
||||||
|
{%- assign canonical_url = page.canonical_url %}
|
||||||
|
{% else %}
|
||||||
|
{%- assign canonical_url = page.url | replace: "index.html", "" | absolute_url %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
|
{%- assign seo_description = page.description | default: page.excerpt | default: site.description -%}
|
||||||
{%- if seo_description -%}
|
{%- if seo_description -%}
|
||||||
{%- assign seo_description = seo_description | markdownify | strip_html | strip_newlines | escape_once -%}
|
{%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '<br />', ' ' | escape_once | strip -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{%- assign author = page.author | default: page.authors[0] | default: site:author -%}
|
{%- assign author = page.author | default: page.authors[0] | default: site.author -%}
|
||||||
{%- assign author = site.data.authors[author] | default: author -%}
|
{%- assign author = site.data.authors[author] | default: author -%}
|
||||||
|
|
||||||
{%- if author.twitter -%}
|
{%- if author.twitter -%}
|
||||||
{%- assign author_twitter = author.twitter | replace: "@", "" -%}
|
{%- assign author_twitter = author.twitter | replace: "@", "" -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{%- assign page_large_image = page.header.og_image | default: page.header.overlay_image | default: page.header.image -%}
|
{%- assign page_large_image = page.header.og_image | default: page.header.overlay_image | default: page.header.image | absolute_url -%}
|
||||||
{%- unless page_large_image contains '://' -%}
|
|
||||||
{%- assign page_large_image = page_large_image | absolute_url -%}
|
|
||||||
{%- endunless -%}
|
|
||||||
{%- assign page_large_image = page_large_image | escape -%}
|
{%- assign page_large_image = page_large_image | escape -%}
|
||||||
|
|
||||||
{%- assign page_teaser_image = page.header.teaser | default: site.og_image -%}
|
{%- assign page_teaser_image = page.header.teaser | default: site.og_image | absolute_url -%}
|
||||||
{%- unless page_teaser_image contains '://' -%}
|
|
||||||
{%- assign page_teaser_image = page_teaser_image | absolute_url -%}
|
|
||||||
{%- endunless -%}
|
|
||||||
{%- assign page_teaser_image = page_teaser_image | escape -%}
|
{%- assign page_teaser_image = page_teaser_image | escape -%}
|
||||||
|
|
||||||
{%- assign site_og_image = site.og_image -%}
|
{%- assign site_og_image = site.og_image | absolute_url -%}
|
||||||
{%- unless site_og_image contains '://' -%}
|
|
||||||
{%- assign site_og_image = site_og_image | absolute_url -%}
|
|
||||||
{%- endunless -%}
|
|
||||||
{%- assign site_og_image = site_og_image | escape -%}
|
{%- assign site_og_image = site_og_image | escape -%}
|
||||||
|
|
||||||
{%- if page.date -%}
|
{%- if page.date -%}
|
||||||
@@ -57,6 +52,9 @@
|
|||||||
|
|
||||||
{% if author.name %}
|
{% if author.name %}
|
||||||
<meta name="author" content="{{ author.name | default: author }}">
|
<meta name="author" content="{{ author.name | default: author }}">
|
||||||
|
{% if og_type == "article" %}
|
||||||
|
<meta property="article:author" content="{{ author.name | default: author }}">
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<meta property="og:type" content="{{ og_type }}">
|
<meta property="og:type" content="{{ og_type }}">
|
||||||
@@ -65,7 +63,7 @@
|
|||||||
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
||||||
<meta property="og:url" content="{{ canonical_url }}">
|
<meta property="og:url" content="{{ canonical_url }}">
|
||||||
|
|
||||||
{% if page.excerpt %}
|
{% if seo_description %}
|
||||||
<meta property="og:description" content="{{ seo_description }}">
|
<meta property="og:description" content="{{ seo_description }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@@ -123,28 +121,21 @@
|
|||||||
<link rel="next" href="{{ paginator.next_page_path | absolute_url }}">
|
<link rel="next" href="{{ paginator.next_page_path | absolute_url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.og_image %}
|
<script type="application/ld+json">
|
||||||
<script type="application/ld+json">
|
{
|
||||||
{
|
"@context": "https://schema.org",
|
||||||
"@context": "http://schema.org",
|
{% if site.social.type == "Organization" %}
|
||||||
"@type": "Organization",
|
"@type": "Organization",
|
||||||
"url": {{ seo_url | jsonify }},
|
"url": {{ '/' | absolute_url | jsonify }}{% if site.og_image %},
|
||||||
"logo": {{ site_og_image | jsonify }}
|
"logo": {{ site_og_image | jsonify }}{% endif %}
|
||||||
}
|
{% else %}
|
||||||
</script>
|
"@type": "Person",
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if site.social %}
|
|
||||||
<script type="application/ld+json">
|
|
||||||
{
|
|
||||||
"@context": "http://schema.org",
|
|
||||||
"@type": "{% if site.social.type %}{{ site.social.type }}{% else %}Person{% endif %}",
|
|
||||||
"name": {{ site.social.name | default: site.name | jsonify }},
|
"name": {{ site.social.name | default: site.name | jsonify }},
|
||||||
"url": {{ seo_url | jsonify }},
|
"url": {{ '/' | absolute_url |jsonify }}{% if site.social.links %},
|
||||||
"sameAs": {{ site.social.links | jsonify }}
|
"sameAs": {{ site.social.links | jsonify }}{% endif %}
|
||||||
}
|
{% endif %}
|
||||||
</script>
|
}
|
||||||
{% endif %}
|
</script>
|
||||||
|
|
||||||
{% if site.google_site_verification %}
|
{% if site.google_site_verification %}
|
||||||
<meta name="google-site-verification" content="{{ site.google_site_verification }}" />
|
<meta name="google-site-verification" content="{{ site.google_site_verification }}" />
|
||||||
@@ -161,4 +152,7 @@
|
|||||||
{% if site.naver_site_verification %}
|
{% if site.naver_site_verification %}
|
||||||
<meta name="naver-site-verification" content="{{ site.naver_site_verification }}">
|
<meta name="naver-site-verification" content="{{ site.naver_site_verification }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if site.baidu_site_verification %}
|
||||||
|
<meta name="baidu-site-verification" content="{{ site.baidu_site_verification }}">
|
||||||
|
{% endif %}
|
||||||
<!-- end _includes/seo.html -->
|
<!-- end _includes/seo.html -->
|
||||||
|
|||||||
@@ -4,20 +4,16 @@
|
|||||||
{% if page.sidebar %}
|
{% if page.sidebar %}
|
||||||
{% for s in page.sidebar %}
|
{% for s in page.sidebar %}
|
||||||
{% if s.image %}
|
{% if s.image %}
|
||||||
<img src=
|
<img src="{{ s.image | relative_url }}"
|
||||||
{% if s.image contains "://" %}
|
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
|
||||||
"{{ s.image }}"
|
|
||||||
{% else %}
|
|
||||||
"{{ s.image | relative_url }}"
|
|
||||||
{% endif %}
|
|
||||||
alt="{% if s.image_alt %}{{ s.image_alt }}{% endif %}">
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
|
{% if s.title %}<h3>{{ s.title }}</h3>{% endif %}
|
||||||
{% if s.text %}{{ s.text | markdownify }}{% endif %}
|
{% if s.text %}{{ s.text | markdownify }}{% endif %}
|
||||||
|
{% if s.nav %}{% include nav_list nav=s.nav %}{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if page.sidebar.nav %}
|
{% if page.sidebar.nav %}
|
||||||
{% include nav_list nav=page.sidebar.nav %}
|
{% include nav_list nav=page.sidebar.nav %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<nav class="skip-links">
|
||||||
|
<h2 class="screen-reader-text">{{ site.data.ui-text[site.locale].skip_links | default: 'Skip links' }}</h2>
|
||||||
|
<ul>
|
||||||
|
<li><a href="#site-nav" class="screen-reader-shortcut">{{ site.data.ui-text[site.locale].skip_primary_nav | default: 'Skip to primary navigation' }}</a></li>
|
||||||
|
<li><a href="#main" class="screen-reader-shortcut">{{ site.data.ui-text[site.locale].skip_content | default: 'Skip to content' }}</a></li>
|
||||||
|
<li><a href="#footer" class="screen-reader-shortcut">{{ site.data.ui-text[site.locale].skip_footer | default: 'Skip to footer' }}</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
@@ -7,7 +7,5 @@
|
|||||||
|
|
||||||
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
|
<a href="https://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Facebook"><i class="fab fa-fw fa-facebook" aria-hidden="true"></i><span> Facebook</span></a>
|
||||||
|
|
||||||
<a href="https://plus.google.com/share?url={{ page.url | absolute_url | url_encode }}" class="btn btn--google-plus" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} Google Plus"><i class="fab fa-fw fa-google-plus" aria-hidden="true"></i><span> Google+</span></a>
|
|
||||||
|
|
||||||
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
|
<a href="https://www.linkedin.com/shareArticle?mini=true&url={{ page.url | absolute_url | url_encode }}" class="btn btn--linkedin" onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;" title="{{ site.data.ui-text[site.locale].share_on_label | default: 'Share on' }} LinkedIn"><i class="fab fa-fw fa-linkedin" aria-hidden="true"></i><span> LinkedIn</span></a>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -6,19 +6,12 @@
|
|||||||
{% endcase %}
|
{% endcase %}
|
||||||
|
|
||||||
{% if site.tag_archive.path %}
|
{% if site.tag_archive.path %}
|
||||||
{% comment %}
|
{% assign tags_sorted = page.tags | sort_natural %}
|
||||||
<!-- Sort alphabetically regardless of case e.g. a B c d E -->
|
|
||||||
<!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
|
|
||||||
{% endcomment %}
|
|
||||||
{% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
|
|
||||||
{% assign tag_hashes = page_tags | split: ',' | sort %}
|
|
||||||
|
|
||||||
<p class="page__taxonomy">
|
<p class="page__taxonomy">
|
||||||
<strong><i class="fas fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
|
<strong><i class="fas fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
|
||||||
<span itemprop="keywords">
|
<span itemprop="keywords">
|
||||||
{% for hash in tag_hashes %}
|
{% for tag_word in tags_sorted %}
|
||||||
{% assign keyValue = hash | split: '#' %}
|
|
||||||
{% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
|
|
||||||
<a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | relative_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
<a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | relative_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
+138
-41
@@ -1,6 +1,30 @@
|
|||||||
{% capture tocWorkspace %}
|
{% capture tocWorkspace %}
|
||||||
{% comment %}
|
{% comment %}
|
||||||
Version 1.0.5
|
Copyright (c) 2017 Vladimir "allejo" Jimenez
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person
|
||||||
|
obtaining a copy of this software and associated documentation
|
||||||
|
files (the "Software"), to deal in the Software without
|
||||||
|
restriction, including without limitation the rights to use,
|
||||||
|
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the
|
||||||
|
Software is furnished to do so, subject to the following
|
||||||
|
conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be
|
||||||
|
included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||||
|
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||||
|
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
|
OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
{% endcomment %}
|
||||||
|
{% comment %}
|
||||||
|
Version 1.1.0
|
||||||
https://github.com/allejo/jekyll-toc
|
https://github.com/allejo/jekyll-toc
|
||||||
|
|
||||||
"...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
|
"...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
|
||||||
@@ -9,77 +33,150 @@
|
|||||||
{% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %}
|
{% include toc.html html=content sanitize=true class="inline_toc" id="my_toc" h_min=2 h_max=3 %}
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
|
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
|
||||||
|
|
||||||
Optional Parameters:
|
Optional Parameters:
|
||||||
* sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
|
* sanitize (bool) : false - when set to true, the headers will be stripped of any HTML in the TOC
|
||||||
* class (string) : '' - a CSS class assigned to the TOC
|
* class (string) : '' - a CSS class assigned to the TOC
|
||||||
* id (string) : '' - an ID to assigned to the TOC
|
* id (string) : '' - an ID to assigned to the TOC
|
||||||
* h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
|
* h_min (int) : 1 - the minimum TOC header level to use; any header lower than this value will be ignored
|
||||||
* h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
|
* h_max (int) : 6 - the maximum TOC header level to use; any header greater than this value will be ignored
|
||||||
* ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
|
* ordered (bool) : false - when set to true, an ordered list will be outputted instead of an unordered list
|
||||||
* item_class (string) : '' - add custom class for each list item; has support for '%level%' placeholder, which is the current heading level
|
* item_class (string) : '' - add custom class(es) for each list item; has support for '%level%' placeholder, which is the current heading level
|
||||||
* baseurl (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content
|
* submenu_class (string) : '' - add custom class(es) for each child group of headings; has support for '%level%' placeholder which is the current "submenu" heading level
|
||||||
|
* base_url (string) : '' - add a base url to the TOC links for when your TOC is on another page than the actual content
|
||||||
|
* anchor_class (string) : '' - add custom class(es) for each anchor element
|
||||||
|
* skip_no_ids (bool) : false - skip headers that do not have an `id` attribute
|
||||||
|
|
||||||
Output:
|
Output:
|
||||||
An ordered or unordered list representing the table of contents of a markdown block. This snippet will only generate the table of contents and will NOT output the markdown given to it
|
An ordered or unordered list representing the table of contents of a markdown block. This snippet will only
|
||||||
|
generate the table of contents and will NOT output the markdown given to it
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
{% capture my_toc %}{% endcapture %}
|
{% capture newline %}
|
||||||
|
{% endcapture %}
|
||||||
|
{% assign newline = newline | rstrip %} <!-- Remove the extra spacing but preserve the newline -->
|
||||||
|
|
||||||
|
{% capture deprecation_warnings %}{% endcapture %}
|
||||||
|
|
||||||
|
{% if include.baseurl %}
|
||||||
|
{% capture deprecation_warnings %}{{ deprecation_warnings }}<!-- jekyll-toc :: "baseurl" has been deprecated, use "base_url" instead -->{{ newline }}{% endcapture %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if include.skipNoIDs %}
|
||||||
|
{% capture deprecation_warnings %}{{ deprecation_warnings }}<!-- jekyll-toc :: "skipNoIDs" has been deprecated, use "skip_no_ids" instead -->{{ newline }}{% endcapture %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% capture jekyll_toc %}{% endcapture %}
|
||||||
{% assign orderedList = include.ordered | default: false %}
|
{% assign orderedList = include.ordered | default: false %}
|
||||||
|
{% assign baseURL = include.base_url | default: include.baseurl | default: '' %}
|
||||||
|
{% assign skipNoIDs = include.skip_no_ids | default: include.skipNoIDs | default: false %}
|
||||||
{% assign minHeader = include.h_min | default: 1 %}
|
{% assign minHeader = include.h_min | default: 1 %}
|
||||||
{% assign maxHeader = include.h_max | default: 6 %}
|
{% assign maxHeader = include.h_max | default: 6 %}
|
||||||
{% assign nodes = include.html | split: '<h' %}
|
{% assign nodes = include.html | strip | split: '<h' %}
|
||||||
{% assign firstHeader = true %}
|
|
||||||
|
|
||||||
{% capture listModifier %}{% if orderedList %}1.{% else %}-{% endif %}{% endcapture %}
|
{% assign firstHeader = true %}
|
||||||
|
{% assign currLevel = 0 %}
|
||||||
|
{% assign lastLevel = 0 %}
|
||||||
|
|
||||||
|
{% capture listModifier %}{% if orderedList %}ol{% else %}ul{% endif %}{% endcapture %}
|
||||||
|
|
||||||
{% for node in nodes %}
|
{% for node in nodes %}
|
||||||
{% if node == "" %}
|
{% if node == "" %}
|
||||||
{% continue %}
|
{% continue %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% assign headerLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %}
|
{% assign currLevel = node | replace: '"', '' | slice: 0, 1 | times: 1 %}
|
||||||
|
|
||||||
{% if headerLevel < minHeader or headerLevel > maxHeader %}
|
{% if currLevel < minHeader or currLevel > maxHeader %}
|
||||||
{% continue %}
|
{% continue %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if firstHeader %}
|
|
||||||
{% assign firstHeader = false %}
|
|
||||||
{% assign minHeader = headerLevel %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% assign indentAmount = headerLevel | minus: minHeader | add: 1 %}
|
|
||||||
{% assign _workspace = node | split: '</h' %}
|
{% assign _workspace = node | split: '</h' %}
|
||||||
|
|
||||||
{% assign _idWorkspace = _workspace[0] | split: 'id="' %}
|
{% assign _idWorkspace = _workspace[0] | split: 'id="' %}
|
||||||
{% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
|
{% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
|
||||||
{% assign html_id = _idWorkspace[0] %}
|
{% assign htmlID = _idWorkspace[0] %}
|
||||||
|
|
||||||
|
{% assign _classWorkspace = _workspace[0] | split: 'class="' %}
|
||||||
|
{% assign _classWorkspace = _classWorkspace[1] | split: '"' %}
|
||||||
|
{% assign htmlClass = _classWorkspace[0] %}
|
||||||
|
|
||||||
|
{% if htmlClass contains "no_toc" %}
|
||||||
|
{% continue %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if firstHeader %}
|
||||||
|
{% assign minHeader = currLevel %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
|
{% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
|
||||||
{% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
|
{% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
|
||||||
|
|
||||||
{% assign space = '' %}
|
{% if include.item_class and include.item_class != blank %}
|
||||||
{% for i in (1..indentAmount) %}
|
{% capture listItemClass %} class="{{ include.item_class | replace: '%level%', currLevel | split: '.' | join: ' ' }}"{% endcapture %}
|
||||||
{% assign space = space | prepend: ' ' %}
|
{% endif %}
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% unless include.item_class == blank %}
|
{% if include.submenu_class and include.submenu_class != blank %}
|
||||||
{% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %}
|
{% assign subMenuLevel = currLevel | minus: 1 %}
|
||||||
{% endunless %}
|
{% capture subMenuClass %} class="{{ include.submenu_class | replace: '%level%', subMenuLevel | split: '.' | join: ' ' }}"{% endcapture %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% capture my_toc %}{{ my_toc }}
|
{% capture anchorBody %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %}
|
||||||
{{ space }}{{ listModifier }} {{ listItemClass }} [{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% endcapture %}
|
|
||||||
|
{% if htmlID %}
|
||||||
|
{% capture anchorAttributes %} href="{% if baseURL %}{{ baseURL }}{% endif %}#{{ htmlID }}"{% endcapture %}
|
||||||
|
|
||||||
|
{% if include.anchor_class %}
|
||||||
|
{% capture anchorAttributes %}{{ anchorAttributes }} class="{{ include.anchor_class | split: '.' | join: ' ' }}"{% endcapture %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% capture listItem %}<a{{ anchorAttributes }}>{{ anchorBody }}</a>{% endcapture %}
|
||||||
|
{% elsif skipNoIDs == true %}
|
||||||
|
{% continue %}
|
||||||
|
{% else %}
|
||||||
|
{% capture listItem %}{{ anchorBody }}{% endcapture %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if currLevel > lastLevel %}
|
||||||
|
{% capture jekyll_toc %}{{ jekyll_toc }}<{{ listModifier }}{{ subMenuClass }}>{% endcapture %}
|
||||||
|
{% elsif currLevel < lastLevel %}
|
||||||
|
{% assign repeatCount = lastLevel | minus: currLevel %}
|
||||||
|
|
||||||
|
{% for i in (1..repeatCount) %}
|
||||||
|
{% capture jekyll_toc %}{{ jekyll_toc }}</li></{{ listModifier }}>{% endcapture %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% capture jekyll_toc %}{{ jekyll_toc }}</li>{% endcapture %}
|
||||||
|
{% else %}
|
||||||
|
{% capture jekyll_toc %}{{ jekyll_toc }}</li>{% endcapture %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% capture jekyll_toc %}{{ jekyll_toc }}<li{{ listItemClass }}>{{ listItem }}{% endcapture %}
|
||||||
|
|
||||||
|
{% assign lastLevel = currLevel %}
|
||||||
|
{% assign firstHeader = false %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% if include.class %}
|
{% assign repeatCount = minHeader | minus: 1 %}
|
||||||
{% capture my_toc %}{:.{{ include.class }}}
|
{% assign repeatCount = lastLevel | minus: repeatCount %}
|
||||||
{{ my_toc | lstrip }}{% endcapture %}
|
{% for i in (1..repeatCount) %}
|
||||||
{% endif %}
|
{% capture jekyll_toc %}{{ jekyll_toc }}</li></{{ listModifier }}>{% endcapture %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
{% if include.id %}
|
{% if jekyll_toc != '' %}
|
||||||
{% capture my_toc %}{: #{{ include.id }}}
|
{% assign rootAttributes = '' %}
|
||||||
{{ my_toc | lstrip }}{% endcapture %}
|
{% if include.class and include.class != blank %}
|
||||||
|
{% capture rootAttributes %} class="{{ include.class | split: '.' | join: ' ' }}"{% endcapture %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if include.id and include.id != blank %}
|
||||||
|
{% capture rootAttributes %}{{ rootAttributes }} id="{{ include.id }}"{% endcapture %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if rootAttributes %}
|
||||||
|
{% assign nodes = jekyll_toc | split: '>' %}
|
||||||
|
{% capture jekyll_toc %}<{{ listModifier }}{{ rootAttributes }}>{{ nodes | shift | join: '>' }}>{% endcapture %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endcapture %}{% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
|
{% endcapture %}{% assign tocWorkspace = '' %}{{ deprecation_warnings }}{{ jekyll_toc }}
|
||||||
|
|||||||
+20
-7
@@ -1,11 +1,24 @@
|
|||||||
{% capture video_id %}{{ include.id }}{% endcapture %}
|
{% capture video_id %}{{ include.id }}{% endcapture %}
|
||||||
{% capture video_provider %}{{ include.provider }}{% endcapture %}
|
{% capture video_provider %}{{ include.provider }}{% endcapture %}
|
||||||
|
{% capture video_danmaku %}{{ include.danmaku | default: 0 }}{% endcapture %}
|
||||||
|
|
||||||
|
{% capture video_src %}
|
||||||
|
{% case video_provider %}
|
||||||
|
{% when "vimeo" %}
|
||||||
|
https://player.vimeo.com/video/{{ video_id }}?dnt=true
|
||||||
|
{% when "youtube" %}
|
||||||
|
https://www.youtube-nocookie.com/embed/{{ video_id }}
|
||||||
|
{% when "google-drive" %}
|
||||||
|
https://drive.google.com/file/d/{{ video_id }}/preview
|
||||||
|
{% when "bilibili" %}
|
||||||
|
https://player.bilibili.com/player.html?bvid={{ video_id }}&page=1&as_wide=1&high_quality=1&danmaku={{ video_danmaku }}
|
||||||
|
{% endcase %}
|
||||||
|
{% endcapture %}
|
||||||
|
{% assign video_src = video_src | strip %}
|
||||||
|
|
||||||
<!-- Courtesy of embedresponsively.com //-->
|
<!-- Courtesy of embedresponsively.com //-->
|
||||||
<div class="responsive-video-container">
|
{% unless video_src == "" %}
|
||||||
{% if video_provider == "vimeo" %}
|
<div class="responsive-video-container">
|
||||||
<iframe src="https://player.vimeo.com/video/{{ video_id }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
<iframe src="{{ video_src }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>
|
||||||
{% elsif video_provider == "youtube" %}
|
</div>
|
||||||
<iframe src="https://www.youtube.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
|
{% endunless %}
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
|
|||||||
@@ -3,13 +3,27 @@ layout: default
|
|||||||
author_profile: false
|
author_profile: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{% if page.header.overlay_color or page.header.overlay_image or page.header.image %}
|
||||||
|
{% include page__hero.html %}
|
||||||
|
{% elsif page.header.video.id and page.header.video.provider %}
|
||||||
|
{% include page__hero_video.html %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if page.url != "/" and site.breadcrumbs %}
|
||||||
|
{% unless paginator %}
|
||||||
|
{% include breadcrumbs.html %}
|
||||||
|
{% endunless %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div id="main" role="main">
|
<div id="main" role="main">
|
||||||
{% include sidebar.html %}
|
{% include sidebar.html %}
|
||||||
|
|
||||||
<div class="archive">
|
<div class="archive">
|
||||||
<h1 class="page__title">{{ page.title }}</h1>
|
{% unless page.header.overlay_color or page.header.overlay_image %}
|
||||||
|
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
|
||||||
|
{% endunless %}
|
||||||
{% for post in page.posts %}
|
{% for post in page.posts %}
|
||||||
{% include archive-single.html %}
|
{% include archive-single.html %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -25,14 +25,15 @@ layout: archive
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
{% assign entries_layout = page.entries_layout | default: 'list' %}
|
||||||
{% for i in (1..categories_max) reversed %}
|
{% for i in (1..categories_max) reversed %}
|
||||||
{% for category in site.categories %}
|
{% for category in site.categories %}
|
||||||
{% if category[1].size == i %}
|
{% if category[1].size == i %}
|
||||||
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy__section">
|
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy__section">
|
||||||
<h2 class="archive__subtitle">{{ category[0] }}</h2>
|
<h2 class="archive__subtitle">{{ category[0] }}</h2>
|
||||||
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
<div class="entries-{{ entries_layout }}">
|
||||||
{% for post in category.last %}
|
{% for post in category.last %}
|
||||||
{% include archive-single.html type=page.entries_layout %}
|
{% include archive-single.html type=entries_layout %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ layout: archive
|
|||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
<div class="entries-{{ page.entries_layout }}">
|
{% assign entries_layout = page.entries_layout | default: 'list' %}
|
||||||
{% include posts-category.html taxonomy=page.taxonomy type=page.entries_layout %}
|
<div class="entries-{{ entries_layout }}">
|
||||||
|
{% include posts-category.html taxonomy=page.taxonomy type=entries_layout %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ layout: archive
|
|||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
<div class="entries-{{ page.entries_layout }}">
|
{% assign entries_layout = page.entries_layout | default: 'list' %}
|
||||||
{% include documents-collection.html collection=page.collection sort_by=page.sort_by sort_order=page.sort_order type=page.entries_layout %}
|
<div class="entries-{{ entries_layout }}">
|
||||||
|
{% include documents-collection.html collection=page.collection sort_by=page.sort_by sort_order=page.sort_order type=entries_layout %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
---
|
---
|
||||||
# Jekyll layout that compresses HTML
|
# Jekyll layout that compresses HTML
|
||||||
# v3.0.2
|
# v3.1.0
|
||||||
# http://jch.penibelst.de/
|
# http://jch.penibelst.de/
|
||||||
# © 2014–2015 Anatol Broder
|
# © 2014–2015 Anatol Broder
|
||||||
# MIT License
|
# MIT License
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture _LINE_FEED %}
|
{% capture _LINE_FEED %}
|
||||||
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment or site.compress_html.ignore.envs == "all" %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}
|
||||||
|
|||||||
+10
-10
@@ -3,10 +3,10 @@
|
|||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<!--
|
<!--
|
||||||
Minimal Mistakes Jekyll Theme 4.12.2 by Michael Rose
|
Minimal Mistakes Jekyll Theme 4.23.0 by Michael Rose
|
||||||
Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
|
||||||
Free for personal and commercial use under the MIT license
|
Free for personal and commercial use under the MIT license
|
||||||
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt
|
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
||||||
-->
|
-->
|
||||||
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
||||||
<head>
|
<head>
|
||||||
@@ -15,9 +15,9 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
||||||
|
{% include_cached skip-links.html %}
|
||||||
{% include browser-upgrade.html %}
|
{% include_cached browser-upgrade.html %}
|
||||||
{% include masthead.html %}
|
{% include_cached masthead.html %}
|
||||||
|
|
||||||
<div class="initial-content">
|
<div class="initial-content">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
@@ -25,18 +25,18 @@
|
|||||||
|
|
||||||
{% if site.search == true %}
|
{% if site.search == true %}
|
||||||
<div class="search-content">
|
<div class="search-content">
|
||||||
{% include search/search_form.html %}
|
{% include_cached search/search_form.html %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="page__footer">
|
<div id="footer" class="page__footer">
|
||||||
<footer>
|
<footer>
|
||||||
{% include footer/custom.html %}
|
{% include footer/custom.html %}
|
||||||
{% include footer.html %}
|
{% include_cached footer.html %}
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include scripts.html %}
|
{% include scripts.html %}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
+12
-3
@@ -6,8 +6,17 @@ layout: archive
|
|||||||
|
|
||||||
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
|
<h3 class="archive__subtitle">{{ site.data.ui-text[site.locale].recent_posts | default: "Recent Posts" }}</h3>
|
||||||
|
|
||||||
{% for post in paginator.posts %}
|
{% if paginator %}
|
||||||
{% include archive-single.html %}
|
{% assign posts = paginator.posts %}
|
||||||
{% endfor %}
|
{% else %}
|
||||||
|
{% assign posts = site.posts %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% assign entries_layout = page.entries_layout | default: 'list' %}
|
||||||
|
<div class="entries-{{ entries_layout }}">
|
||||||
|
{% for post in posts %}
|
||||||
|
{% include archive-single.html type=entries_layout %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
|
||||||
{% include paginator.html %}
|
{% include paginator.html %}
|
||||||
|
|||||||
+5
-4
@@ -5,7 +5,7 @@ layout: archive
|
|||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
<ul class="taxonomy__index">
|
<ul class="taxonomy__index">
|
||||||
{% assign postsInYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
{% assign postsInYear = site.posts | where_exp: "item", "item.hidden != true" | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
||||||
{% for year in postsInYear %}
|
{% for year in postsInYear %}
|
||||||
<li>
|
<li>
|
||||||
<a href="#{{ year.name }}">
|
<a href="#{{ year.name }}">
|
||||||
@@ -15,13 +15,14 @@ layout: archive
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{% assign postsByYear = site.posts | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
{% assign entries_layout = page.entries_layout | default: 'list' %}
|
||||||
|
{% assign postsByYear = site.posts | where_exp: "item", "item.hidden != true" | group_by_exp: 'post', 'post.date | date: "%Y"' %}
|
||||||
{% for year in postsByYear %}
|
{% for year in postsByYear %}
|
||||||
<section id="{{ year.name }}" class="taxonomy__section">
|
<section id="{{ year.name }}" class="taxonomy__section">
|
||||||
<h2 class="archive__subtitle">{{ year.name }}</h2>
|
<h2 class="archive__subtitle">{{ year.name }}</h2>
|
||||||
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
<div class="entries-{{ entries_layout }}">
|
||||||
{% for post in year.items %}
|
{% for post in year.items %}
|
||||||
{% include archive-single.html type=page.entries_layout %}
|
{% include archive-single.html type=entries_layout %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ layout: default
|
|||||||
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
<input type="text" id="search" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
||||||
<div id="results" class="results"></div>
|
<div id="results" class="results"></div>
|
||||||
{%- when "google" -%}
|
{%- when "google" -%}
|
||||||
<form onsubmit="return executeQuery();" id="cse-search-box-form-id">
|
<form onsubmit="return googleCustomSearchExecute();" id="cse-search-box-form-id">
|
||||||
<input type="text" id="cse-search-input-box-id" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
<input type="text" id="cse-search-input-box-id" class="search-input" tabindex="-1" placeholder="{{ site.data.ui-text[site.locale].search_placeholder_text | default: 'Enter your search term...' }}" />
|
||||||
</form>
|
</form>
|
||||||
<div id="results" class="results">
|
<div id="results" class="results">
|
||||||
@@ -39,4 +39,4 @@ layout: default
|
|||||||
<div class="search-hits"></div>
|
<div class="search-hits"></div>
|
||||||
{%- endcase -%}
|
{%- endcase -%}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+11
-14
@@ -17,19 +17,17 @@ layout: default
|
|||||||
<div id="main" role="main">
|
<div id="main" role="main">
|
||||||
{% include sidebar.html %}
|
{% include sidebar.html %}
|
||||||
|
|
||||||
<article class="page" itemscope itemtype="http://schema.org/CreativeWork">
|
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
|
||||||
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
||||||
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
||||||
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
|
||||||
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
|
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date_to_xmlschema }}">{% endif %}
|
||||||
|
|
||||||
<div class="page__inner-wrap">
|
<div class="page__inner-wrap">
|
||||||
{% unless page.header.overlay_color or page.header.overlay_image %}
|
{% unless page.header.overlay_color or page.header.overlay_image %}
|
||||||
<header>
|
<header>
|
||||||
{% if page.title %}<h1 id="page-title" class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
|
{% if page.title %}<h1 id="page-title" class="page__title" itemprop="headline">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</h1>{% endif %}
|
||||||
{% if page.read_time %}
|
{% include page__meta.html %}
|
||||||
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
|
|
||||||
{% endif %}
|
|
||||||
</header>
|
</header>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
|
|
||||||
@@ -37,8 +35,8 @@ layout: default
|
|||||||
{% if page.toc %}
|
{% if page.toc %}
|
||||||
<aside class="sidebar__right {% if page.toc_sticky %}sticky{% endif %}">
|
<aside class="sidebar__right {% if page.toc_sticky %}sticky{% endif %}">
|
||||||
<nav class="toc">
|
<nav class="toc">
|
||||||
<header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label }}</h4></header>
|
<header><h4 class="nav__title"><i class="fas fa-{{ page.toc_icon | default: 'file-alt' }}"></i> {{ page.toc_label | default: site.data.ui-text[site.locale].toc_label | default: "On this page" }}</h4></header>
|
||||||
{% include toc.html sanitize=true html=content h_min=1 h_max=6 class="toc__menu" %}
|
{% include toc.html sanitize=true html=content h_min=1 h_max=6 class="toc__menu" skip_no_ids=true %}
|
||||||
</nav>
|
</nav>
|
||||||
</aside>
|
</aside>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -51,11 +49,7 @@ layout: default
|
|||||||
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
|
<h4 class="page__meta-title">{{ site.data.ui-text[site.locale].meta_label }}</h4>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% include page__taxonomy.html %}
|
{% include page__taxonomy.html %}
|
||||||
{% if page.last_modified_at %}
|
{% include page__date.html %}
|
||||||
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: "%B %d, %Y" }}</time></p>
|
|
||||||
{% elsif page.date %}
|
|
||||||
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
|
|
||||||
{% endif %}
|
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
{% if page.share %}{% include social-share.html %}{% endif %}
|
{% if page.share %}{% include social-share.html %}{% endif %}
|
||||||
@@ -84,9 +78,12 @@ layout: default
|
|||||||
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
||||||
<div class="grid__wrapper">
|
<div class="grid__wrapper">
|
||||||
{% for post in site.posts limit:4 %}
|
{% for post in site.posts limit:4 %}
|
||||||
|
{% if post.id == page.id %}
|
||||||
|
{% continue %}
|
||||||
|
{% endif %}
|
||||||
{% include archive-single.html type="grid" %}
|
{% include archive-single.html type="grid" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -9,14 +9,14 @@ layout: default
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div id="main" role="main">
|
<div id="main" role="main">
|
||||||
<article class="splash" itemscope itemtype="http://schema.org/CreativeWork">
|
<article class="splash" itemscope itemtype="https://schema.org/CreativeWork">
|
||||||
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
{% if page.title %}<meta itemprop="headline" content="{{ page.title | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
||||||
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
{% if page.excerpt %}<meta itemprop="description" content="{{ page.excerpt | markdownify | strip_html | strip_newlines | escape_once }}">{% endif %}
|
||||||
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date: "%B %d, %Y" }}">{% endif %}
|
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
|
||||||
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date: "%B %d, %Y" }}">{% endif %}
|
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date_to_xmlschema }}">{% endif %}
|
||||||
|
|
||||||
<section class="page__content" itemprop="text">
|
<section class="page__content" itemprop="text">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</section>
|
</section>
|
||||||
</article>
|
</article>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+3
-2
@@ -4,6 +4,7 @@ layout: archive
|
|||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
{% assign entries_layout = page.entries_layout | default: 'list' %}
|
||||||
{% include posts-tag.html taxonomy=page.taxonomy type=page.entries_layout %}
|
<div class="entries-{{ entries_layout }}">
|
||||||
|
{% include posts-tag.html taxonomy=page.taxonomy type=entries_layout %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+3
-2
@@ -25,14 +25,15 @@ layout: archive
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
{% assign entries_layout = page.entries_layout | default: 'list' %}
|
||||||
{% for i in (1..tags_max) reversed %}
|
{% for i in (1..tags_max) reversed %}
|
||||||
{% for tag in site.tags %}
|
{% for tag in site.tags %}
|
||||||
{% if tag[1].size == i %}
|
{% if tag[1].size == i %}
|
||||||
<section id="{{ tag[0] | slugify | downcase }}" class="taxonomy__section">
|
<section id="{{ tag[0] | slugify | downcase }}" class="taxonomy__section">
|
||||||
<h2 class="archive__subtitle">{{ tag[0] }}</h2>
|
<h2 class="archive__subtitle">{{ tag[0] }}</h2>
|
||||||
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
<div class="entries-{{ entries_layout }}">
|
||||||
{% for post in tag.last %}
|
{% for post in tag.last %}
|
||||||
{% include archive-single.html type=page.entries_layout %}
|
{% include archive-single.html type=entries_layout %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*!
|
/*!
|
||||||
* Minimal Mistakes Jekyll Theme 4.12.2 by Michael Rose
|
* Minimal Mistakes Jekyll Theme 4.23.0 by Michael Rose
|
||||||
* Copyright 2013-2018 Michael Rose - mademistakes.com | @mmistakes
|
* Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
|
||||||
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
|
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Variables */
|
/* Variables */
|
||||||
|
|||||||
@@ -18,8 +18,21 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.archive__item {
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
a {
|
||||||
|
position: relative;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
a[rel="permalink"] {
|
||||||
|
position: static;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.archive__subtitle {
|
.archive__subtitle {
|
||||||
margin: 1.414em 0 0;
|
margin: 1.414em 0 0.5em;
|
||||||
padding-bottom: 0.5em;
|
padding-bottom: 0.5em;
|
||||||
font-size: $type-size-5;
|
font-size: $type-size-5;
|
||||||
color: $muted-text-color;
|
color: $muted-text-color;
|
||||||
@@ -37,6 +50,15 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
|
a[rel="permalink"]::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
a + a {
|
a + a {
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
@@ -57,6 +79,10 @@
|
|||||||
& + p {
|
& + p {
|
||||||
text-indent: 0;
|
text-indent: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive__item-teaser {
|
.archive__item-teaser {
|
||||||
@@ -175,6 +201,14 @@
|
|||||||
font-size: 0.6em;
|
font-size: 0.6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page__meta-sep {
|
||||||
|
display: block;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.archive__item-title {
|
.archive__item-title {
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
font-size: $type-size-5;
|
font-size: $type-size-5;
|
||||||
@@ -215,6 +249,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.feature__item {
|
.feature__item {
|
||||||
|
position: relative;
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
font-size: 1.125em;
|
font-size: 1.125em;
|
||||||
|
|
||||||
@@ -249,7 +284,17 @@
|
|||||||
padding-right: gutter(1 of 12);
|
padding-right: gutter(1 of 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.btn::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
&--left {
|
&--left {
|
||||||
|
position: relative;
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
@@ -257,10 +302,23 @@
|
|||||||
clear: both;
|
clear: both;
|
||||||
font-size: 1.125em;
|
font-size: 1.125em;
|
||||||
|
|
||||||
|
.archive__item {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
.archive__item-teaser {
|
.archive__item-teaser {
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.btn::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
.archive__item-teaser {
|
.archive__item-teaser {
|
||||||
float: left;
|
float: left;
|
||||||
@@ -277,6 +335,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&--right {
|
&--right {
|
||||||
|
position: relative;
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
@@ -284,10 +343,23 @@
|
|||||||
clear: both;
|
clear: both;
|
||||||
font-size: 1.125em;
|
font-size: 1.125em;
|
||||||
|
|
||||||
|
.archive__item {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
.archive__item-teaser {
|
.archive__item-teaser {
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.btn::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
|
||||||
@@ -306,6 +378,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&--center {
|
&--center {
|
||||||
|
position: relative;
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
@@ -313,10 +386,24 @@
|
|||||||
clear: both;
|
clear: both;
|
||||||
font-size: 1.125em;
|
font-size: 1.125em;
|
||||||
|
|
||||||
|
.archive__item {
|
||||||
|
float: left;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.archive__item-teaser {
|
.archive__item-teaser {
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.btn::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
@@ -365,4 +452,12 @@
|
|||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Place inside a single layout */
|
||||||
|
|
||||||
|
.layout--single {
|
||||||
|
.feature__wrapper {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -35,27 +35,27 @@ h6 {
|
|||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
font-size: $type-size-3;
|
font-size: $h-size-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: $type-size-4;
|
font-size: $h-size-2;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-size: $type-size-5;
|
font-size: $h-size-3;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
font-size: $type-size-6;
|
font-size: $h-size-4;
|
||||||
}
|
}
|
||||||
|
|
||||||
h5 {
|
h5 {
|
||||||
font-size: $type-size-6;
|
font-size: $h-size-5;
|
||||||
}
|
}
|
||||||
|
|
||||||
h6 {
|
h6 {
|
||||||
font-size: $type-size-6;
|
font-size: $h-size-6;
|
||||||
}
|
}
|
||||||
|
|
||||||
small,
|
small,
|
||||||
@@ -130,15 +130,14 @@ a {
|
|||||||
@extend %tab-focus;
|
@extend %tab-focus;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover,
|
|
||||||
&:active {
|
|
||||||
color: $link-color-hover;
|
|
||||||
outline: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:visited {
|
&:visited {
|
||||||
color: $link-color-visited;
|
color: $link-color-visited;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: $link-color-hover;
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* buttons */
|
/* buttons */
|
||||||
@@ -168,7 +167,7 @@ figcaption > code,
|
|||||||
td > code {
|
td > code {
|
||||||
padding-top: 0.1rem;
|
padding-top: 0.1rem;
|
||||||
padding-bottom: 0.1rem;
|
padding-bottom: 0.1rem;
|
||||||
font-size: $type-size-6;
|
font-size: 0.8em;
|
||||||
background: $code-background-color;
|
background: $code-background-color;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,6 @@
|
|||||||
(info, $info-color),
|
(info, $info-color),
|
||||||
(facebook, $facebook-color),
|
(facebook, $facebook-color),
|
||||||
(twitter, $twitter-color),
|
(twitter, $twitter-color),
|
||||||
(google-plus, $google-plus-color),
|
|
||||||
(linkedin, $linkedin-color);
|
(linkedin, $linkedin-color);
|
||||||
|
|
||||||
@each $buttoncolor, $color in $buttoncolors {
|
@each $buttoncolor, $color in $buttoncolors {
|
||||||
@@ -52,13 +51,13 @@
|
|||||||
border: 1px solid #fff;
|
border: 1px solid #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
|
||||||
@include yiq-contrasted(mix(#000, $color, 20%));
|
|
||||||
}
|
|
||||||
|
|
||||||
&:visited {
|
&:visited {
|
||||||
@include yiq-contrasted($color);
|
@include yiq-contrasted($color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
@include yiq-contrasted(mix(#000, $color, 20%));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,12 +8,6 @@
|
|||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
|
||||||
/* sticky footer fix start */
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0;
|
|
||||||
height: auto;
|
|
||||||
/* sticky footer fix end */
|
|
||||||
margin-top: 3em;
|
margin-top: 3em;
|
||||||
color: $muted-text-color;
|
color: $muted-text-color;
|
||||||
-webkit-animation: $intro-transition;
|
-webkit-animation: $intro-transition;
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ form {
|
|||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-bottom: 5px / 2;
|
margin-bottom: (5px / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
@@ -107,6 +107,7 @@ input[type="radio"] {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
border: 0 \9;
|
border: 0 \9;
|
||||||
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="checkbox"],
|
input[type="checkbox"],
|
||||||
@@ -119,7 +120,6 @@ input[type="radio"] {
|
|||||||
|
|
||||||
input[type="image"] {
|
input[type="image"] {
|
||||||
border: 0;
|
border: 0;
|
||||||
box-shadow: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="file"] {
|
input[type="file"] {
|
||||||
@@ -357,37 +357,3 @@ select:focus {
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
z-index: 11;
|
z-index: 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
Google search form
|
|
||||||
========================================================================== */
|
|
||||||
|
|
||||||
#goog-fixurl {
|
|
||||||
ul {
|
|
||||||
list-style: none;
|
|
||||||
margin-left: 0;
|
|
||||||
padding-left: 0;
|
|
||||||
li {
|
|
||||||
list-style-type: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#goog-wm-qt {
|
|
||||||
width: auto;
|
|
||||||
margin-right: 10px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
padding: 8px 20px;
|
|
||||||
display: inline-block;
|
|
||||||
font-size: $type-size-6;
|
|
||||||
background-color: #fff;
|
|
||||||
color: #000;
|
|
||||||
border-width: 2px !important;
|
|
||||||
border-style: solid !important;
|
|
||||||
border-color: $border-color;
|
|
||||||
border-radius: $border-radius;
|
|
||||||
}
|
|
||||||
|
|
||||||
#goog-wm-sb {
|
|
||||||
@extend .btn;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
font-family: $sans-serif-narrow;
|
font-family: $sans-serif-narrow;
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
max-width: $x-large;
|
max-width: $max-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
@@ -39,6 +39,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.site-logo img {
|
||||||
|
max-height: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
.site-title {
|
.site-title {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
@@ -46,7 +50,12 @@
|
|||||||
-ms-flex-item-align: center;
|
-ms-flex-item-align: center;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
z-index: 20;
|
// z-index: 20;
|
||||||
|
}
|
||||||
|
|
||||||
|
.site-subtitle {
|
||||||
|
display: block;
|
||||||
|
font-size: $type-size-8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.masthead__menu {
|
.masthead__menu {
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
%tab-focus {
|
%tab-focus {
|
||||||
/* Default*/
|
/* Default*/
|
||||||
outline: thin dotted $warning-color;
|
outline: thin dotted $focus-color;
|
||||||
/* Webkit*/
|
/* Webkit*/
|
||||||
outline: 5px auto $warning-color;
|
outline: 5px auto $focus-color;
|
||||||
outline-offset: -2px;
|
outline-offset: -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,19 +10,14 @@
|
|||||||
@include clearfix;
|
@include clearfix;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding-left: 2em;
|
padding-left: 1em;
|
||||||
padding-right: 2em;
|
padding-right: 1em;
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
-webkit-animation: $intro-transition;
|
-webkit-animation: $intro-transition;
|
||||||
animation: $intro-transition;
|
animation: $intro-transition;
|
||||||
-webkit-animation-delay: 0.3s;
|
-webkit-animation-delay: 0.3s;
|
||||||
animation-delay: 0.3s;
|
animation-delay: 0.3s;
|
||||||
|
|
||||||
@include breakpoint($large) {
|
|
||||||
padding-left: 1em;
|
|
||||||
padding-right: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
max-width: $x-large;
|
max-width: $x-large;
|
||||||
}
|
}
|
||||||
@@ -34,11 +29,11 @@
|
|||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
float: right;
|
float: right;
|
||||||
width: span(10 of 12);
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
padding-left: gutter(0.5 of 12);
|
width: calc(100% - #{$right-sidebar-width});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -189,15 +184,27 @@
|
|||||||
margin: 0 1rem;
|
margin: 0 1rem;
|
||||||
color: $masthead-link-color;
|
color: $masthead-link-color;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
-webkit-transition: none;
|
||||||
|
transition: none;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $masthead-link-color-hover;
|
color: $masthead-link-color-hover;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.site-logo {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
&.site-title {
|
&.site-title {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img{
|
||||||
|
-webkit-transition: none;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
|
||||||
&__toggle {
|
&__toggle {
|
||||||
-ms-flex-item-align: center;
|
-ms-flex-item-align: center;
|
||||||
@@ -205,8 +212,7 @@
|
|||||||
height: $nav-toggle-height;
|
height: $nav-toggle-height;
|
||||||
border: 0;
|
border: 0;
|
||||||
outline: none;
|
outline: none;
|
||||||
color: #fff;
|
background-color: transparent;
|
||||||
background-color: $primary-color;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -340,7 +346,7 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint(max-width($large - 1px)) {
|
@include breakpoint(max-width $large - 1px) {
|
||||||
label {
|
label {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -446,7 +452,7 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint(max-width($large - 1px)) {
|
@include breakpoint(max-width $large - 1px) {
|
||||||
position: relative;
|
position: relative;
|
||||||
max-height: 0;
|
max-height: 0;
|
||||||
opacity: 0%;
|
opacity: 0%;
|
||||||
@@ -460,7 +466,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint(max-width($large - 1px)) {
|
@include breakpoint(max-width $large - 1px) {
|
||||||
.nav__list input:checked ~ .nav__items {
|
.nav__list input:checked ~ .nav__items {
|
||||||
-webkit-transition: 0.5s ease-in-out;
|
-webkit-transition: 0.5s ease-in-out;
|
||||||
transition: 0.5s ease-in-out;
|
transition: 0.5s ease-in-out;
|
||||||
@@ -476,7 +482,7 @@
|
|||||||
|
|
||||||
.nav__title {
|
.nav__title {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0.25rem 0.75rem;
|
padding: 0.5rem 0.75rem;
|
||||||
font-family: $sans-serif-narrow;
|
font-family: $sans-serif-narrow;
|
||||||
font-size: $type-size-5;
|
font-size: $type-size-5;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@@ -513,6 +519,11 @@
|
|||||||
border-top-left-radius: $border-radius;
|
border-top-left-radius: $border-radius;
|
||||||
border-top-right-radius: $border-radius;
|
border-top-right-radius: $border-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Scrollspy marks toc items as .active when they are in focus
|
||||||
|
.active a {
|
||||||
|
@include yiq-contrasted($active-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.toc__menu {
|
.toc__menu {
|
||||||
|
|||||||
@@ -13,17 +13,18 @@
|
|||||||
@mixin notice($notice-color) {
|
@mixin notice($notice-color) {
|
||||||
margin: 2em 0 !important; /* override*/
|
margin: 2em 0 !important; /* override*/
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
color: $dark-gray;
|
color: $text-color;
|
||||||
font-family: $global-font-family;
|
font-family: $global-font-family;
|
||||||
font-size: $type-size-6 !important;
|
font-size: $type-size-6 !important;
|
||||||
text-indent: initial; /* override*/
|
text-indent: initial; /* override*/
|
||||||
background-color: mix(#fff, $notice-color, 90%);
|
background-color: mix($background-color, $notice-color, $notice-background-mix);
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
box-shadow: 0 1px 1px rgba($notice-color, 0.25);
|
box-shadow: 0 1px 1px rgba($notice-color, 0.25);
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
margin-top: 0 !important; /* override*/
|
margin-top: 0 !important; /* override*/
|
||||||
margin-bottom: 0.75em;
|
margin-bottom: 0.75em;
|
||||||
|
line-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@at-root .page__content #{&} h4 {
|
@at-root .page__content #{&} h4 {
|
||||||
@@ -45,17 +46,21 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: $notice-color;
|
color: mix(#000, $notice-color, 10%);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: mix(#000, $notice-color, 40%);
|
color: mix(#000, $notice-color, 50%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
background-color: mix(#fff, $notice-color, 95%)
|
background-color: mix($background-color, $notice-color, $code-notice-background-mix)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre code {
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-bottom: 0; /* override*/
|
margin-bottom: 0; /* override*/
|
||||||
@@ -97,4 +102,4 @@
|
|||||||
|
|
||||||
.notice--danger {
|
.notice--danger {
|
||||||
@include notice($danger-color);
|
@include notice($danger-color);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,10 +15,26 @@
|
|||||||
animation-delay: 0.15s;
|
animation-delay: 0.15s;
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
max-width: $x-large;
|
max-width: $max-width;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
display: -webkit-box;
|
||||||
|
display: -ms-flexbox;
|
||||||
|
display: flex;
|
||||||
|
min-height: 100vh;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-box-direction: normal;
|
||||||
|
-ms-flex-direction: column;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.initial-content,
|
||||||
|
.search-content {
|
||||||
|
flex: 1 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
.page {
|
.page {
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
float: right;
|
float: right;
|
||||||
@@ -72,6 +88,23 @@
|
|||||||
border-bottom: 1px solid $border-color;
|
border-bottom: 1px solid $border-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
.header-link {
|
||||||
|
position: relative;
|
||||||
|
left: 0.5em;
|
||||||
|
opacity: 0;
|
||||||
|
font-size: 0.8em;
|
||||||
|
-webkit-transition: opacity 0.2s ease-in-out 0.1s;
|
||||||
|
-moz-transition: opacity 0.2s ease-in-out 0.1s;
|
||||||
|
-o-transition: opacity 0.2s ease-in-out 0.1s;
|
||||||
|
transition: opacity 0.2s ease-in-out 0.1s;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover .header-link {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
p,
|
p,
|
||||||
li,
|
li,
|
||||||
dl {
|
dl {
|
||||||
@@ -266,6 +299,12 @@
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page__meta-sep::before {
|
||||||
|
content: "\2022";
|
||||||
|
padding-left: 0.5em;
|
||||||
|
padding-right: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Page taxonomy
|
Page taxonomy
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
@@ -319,11 +358,11 @@
|
|||||||
|
|
||||||
.taxonomy__title {
|
.taxonomy__title {
|
||||||
margin-bottom: 0.5em;
|
margin-bottom: 0.5em;
|
||||||
color: lighten($text-color, 60%);
|
color: $muted-text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.taxonomy__count {
|
.taxonomy__count {
|
||||||
color: lighten($text-color, 50%);
|
color: $muted-text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.taxonomy__index {
|
.taxonomy__index {
|
||||||
@@ -356,7 +395,7 @@
|
|||||||
.back-to-top {
|
.back-to-top {
|
||||||
display: block;
|
display: block;
|
||||||
clear: both;
|
clear: both;
|
||||||
color: lighten($text-color, 50%);
|
color: $muted-text-color;
|
||||||
font-size: 0.6em;
|
font-size: 0.6em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
|||||||
@@ -11,16 +11,17 @@
|
|||||||
.search__toggle {
|
.search__toggle {
|
||||||
margin-left: 1rem;
|
margin-left: 1rem;
|
||||||
margin-right: 1rem;
|
margin-right: 1rem;
|
||||||
|
height: $nav-toggle-height;
|
||||||
border: 0;
|
border: 0;
|
||||||
outline: none;
|
outline: none;
|
||||||
color: $muted-text-color;
|
color: $primary-color;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
-webkit-transition: 0.2s;
|
-webkit-transition: 0.2s;
|
||||||
transition: 0.2s;
|
transition: 0.2s;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $text-color;
|
color: mix(#000, $primary-color, 25%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -47,8 +48,13 @@
|
|||||||
animation-delay: 0.15s;
|
animation-delay: 0.15s;
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
max-width: $x-large;
|
max-width: $max-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
&__form {
|
||||||
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-input {
|
.search-input {
|
||||||
@@ -114,12 +120,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.archive__item-title .ais-Highlight {
|
.archive__item-title .ais-Highlight {
|
||||||
color: $link-color;
|
color: $primary-color;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive__item-excerpt .ais-Highlight {
|
.archive__item-excerpt .ais-Highlight {
|
||||||
color: $link-color;
|
color: $primary-color;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,13 +8,13 @@
|
|||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
@include clearfix();
|
@include clearfix();
|
||||||
@include breakpoint(max-width $large) {
|
// @include breakpoint(max-width $large) {
|
||||||
/* fix z-index order of follow links */
|
// /* fix z-index order of follow links */
|
||||||
position: relative;
|
// position: relative;
|
||||||
z-index: 10;
|
// z-index: 10;
|
||||||
-webkit-transform: translate3d(0, 0, 0);
|
// -webkit-transform: translate3d(0, 0, 0);
|
||||||
transform: translate3d(0, 0, 0);
|
// transform: translate3d(0, 0, 0);
|
||||||
}
|
// }
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
float: left;
|
float: left;
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
/* calculate height of nav list
|
/* calculate height of nav list
|
||||||
viewport height - nav height - masthead x-padding
|
viewport height - nav height - masthead x-padding
|
||||||
*/
|
*/
|
||||||
height: calc(100vh - #{$nav-height} - 2em);
|
max-height: calc(100vh - #{$nav-height} - 2em);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
|
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
&.emoji {
|
&.emoji {
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
@@ -184,8 +184,7 @@
|
|||||||
display: table-cell;
|
display: table-cell;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
z-index: 10;
|
z-index: 20;
|
||||||
position: relative;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
li:last-child {
|
li:last-child {
|
||||||
@@ -194,13 +193,38 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.author__urls {
|
||||||
|
span.label {
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
|
position: relative;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
&:before {
|
||||||
|
@supports (pointer-events: none) {
|
||||||
|
content: '';
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.open {
|
||||||
|
&:before {
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -217,7 +241,6 @@
|
|||||||
border: 1px solid $border-color;
|
border: 1px solid $border-color;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
background: $background-color;
|
background: $background-color;
|
||||||
z-index: -1;
|
|
||||||
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
|
||||||
@@ -269,6 +292,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
padding: 10px;
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,11 +3,13 @@
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
table {
|
table {
|
||||||
|
display: block;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-family: $global-font-family;
|
font-family: $global-font-family;
|
||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
|
overflow-x: auto;
|
||||||
|
|
||||||
& + table {
|
& + table {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
|
|||||||
@@ -103,6 +103,27 @@ body:hover .visually-hidden button {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Task lists
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
.task-list {
|
||||||
|
padding:0;
|
||||||
|
|
||||||
|
li {
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.task-list-item-checkbox {
|
||||||
|
margin-right: 0.5em;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.task-list .task-list {
|
||||||
|
margin-left: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Alignment
|
Alignment
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
@@ -228,16 +249,14 @@ body:hover .visually-hidden button {
|
|||||||
color: $gitlab-color;
|
color: $gitlab-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fa-google-plus,
|
|
||||||
.fa-google-plus-square,
|
|
||||||
.fa-google-plus-g {
|
|
||||||
color: $google-plus-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-instagram {
|
.fa-instagram {
|
||||||
color: $instagram-color;
|
color: $instagram-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fa-keybase {
|
||||||
|
color: $keybase-color;
|
||||||
|
}
|
||||||
|
|
||||||
.fa-lastfm,
|
.fa-lastfm,
|
||||||
.fa-lastfm-square {
|
.fa-lastfm-square {
|
||||||
color: $lastfm-color;
|
color: $lastfm-color;
|
||||||
@@ -248,12 +267,21 @@ body:hover .visually-hidden button {
|
|||||||
color: $linkedin-color;
|
color: $linkedin-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fa-mastodon,
|
||||||
|
.fa-mastodon-square {
|
||||||
|
color: $mastodon-color;
|
||||||
|
}
|
||||||
|
|
||||||
.fa-pinterest,
|
.fa-pinterest,
|
||||||
.fa-pinterest-p,
|
.fa-pinterest-p,
|
||||||
.fa-pinterest-square {
|
.fa-pinterest-square {
|
||||||
color: $pinterest-color;
|
color: $pinterest-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fa-reddit {
|
||||||
|
color: $reddit-color;
|
||||||
|
}
|
||||||
|
|
||||||
.fa-rss,
|
.fa-rss,
|
||||||
.fa-rss-square {
|
.fa-rss-square {
|
||||||
color: $rss-color;
|
color: $rss-color;
|
||||||
@@ -306,7 +334,7 @@ body:hover .visually-hidden button {
|
|||||||
position: relative;
|
position: relative;
|
||||||
width: $navicon-width;
|
width: $navicon-width;
|
||||||
height: $navicon-height;
|
height: $navicon-height;
|
||||||
background: #fff;
|
background: $primary-color;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
-webkit-transition: 0.3s;
|
-webkit-transition: 0.3s;
|
||||||
transition: 0.3s;
|
transition: 0.3s;
|
||||||
@@ -318,7 +346,7 @@ body:hover .visually-hidden button {
|
|||||||
left: 0;
|
left: 0;
|
||||||
width: $navicon-width;
|
width: $navicon-width;
|
||||||
height: $navicon-height;
|
height: $navicon-height;
|
||||||
background: #fff;
|
background: $primary-color;
|
||||||
-webkit-transition: 0.3s;
|
-webkit-transition: 0.3s;
|
||||||
transition: 0.3s;
|
transition: 0.3s;
|
||||||
}
|
}
|
||||||
@@ -357,6 +385,47 @@ body:hover .visually-hidden button {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.greedy-nav__toggle {
|
||||||
|
&:before {
|
||||||
|
@supports (pointer-events: none) {
|
||||||
|
content: '';
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
opacity: 0;
|
||||||
|
background-color: $background-color;
|
||||||
|
-webkit-transition: $global-transition;
|
||||||
|
transition: $global-transition;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.close {
|
||||||
|
&:before {
|
||||||
|
opacity: 0.9;
|
||||||
|
-webkit-transition: $global-transition;
|
||||||
|
transition: $global-transition;
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.greedy-nav__toggle:hover {
|
||||||
|
.navicon,
|
||||||
|
.navicon:before,
|
||||||
|
.navicon:after {
|
||||||
|
background: mix(#000, $primary-color, 25%);
|
||||||
|
}
|
||||||
|
|
||||||
|
&.close {
|
||||||
|
.navicon {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Sticky, fixed to top content
|
Sticky, fixed to top content
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|||||||
@@ -43,12 +43,20 @@ $type-size-6: 0.75em !default; // ~12px
|
|||||||
$type-size-7: 0.6875em !default; // ~11px
|
$type-size-7: 0.6875em !default; // ~11px
|
||||||
$type-size-8: 0.625em !default; // ~10px
|
$type-size-8: 0.625em !default; // ~10px
|
||||||
|
|
||||||
|
/* headline scale */
|
||||||
|
$h-size-1: 1.563em !default; // ~25.008px
|
||||||
|
$h-size-2: 1.25em !default; // ~20px
|
||||||
|
$h-size-3: 1.125em !default; // ~18px
|
||||||
|
$h-size-4: 1.0625em !default; // ~17px
|
||||||
|
$h-size-5: 1.03125em !default; // ~16.5px
|
||||||
|
$h-size-6: 1em !default; // ~16px
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Colors
|
Colors
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
$gray: #7a8288 !default;
|
$gray: #7a8288 !default;
|
||||||
$dark-gray: mix(#000, $gray, 40%) !default;
|
$dark-gray: mix(#000, $gray, 50%) !default;
|
||||||
$darker-gray: mix(#000, $gray, 60%) !default;
|
$darker-gray: mix(#000, $gray, 60%) !default;
|
||||||
$light-gray: mix(#fff, $gray, 50%) !default;
|
$light-gray: mix(#fff, $gray, 50%) !default;
|
||||||
$lighter-gray: mix(#fff, $gray, 90%) !default;
|
$lighter-gray: mix(#fff, $gray, 90%) !default;
|
||||||
@@ -57,16 +65,18 @@ $background-color: #fff !default;
|
|||||||
$code-background-color: #fafafa !default;
|
$code-background-color: #fafafa !default;
|
||||||
$code-background-color-dark: $light-gray !default;
|
$code-background-color-dark: $light-gray !default;
|
||||||
$text-color: $dark-gray !default;
|
$text-color: $dark-gray !default;
|
||||||
$muted-text-color: mix(#fff, $text-color, 35%) !default;
|
$muted-text-color: mix(#fff, $text-color, 20%) !default;
|
||||||
$border-color: $lighter-gray !default;
|
$border-color: $lighter-gray !default;
|
||||||
$form-background-color: $lighter-gray !default;
|
$form-background-color: $lighter-gray !default;
|
||||||
$footer-background-color: $lighter-gray !default;
|
$footer-background-color: $lighter-gray !default;
|
||||||
|
|
||||||
$primary-color: #7a8288 !default;
|
$primary-color: #6f777d !default;
|
||||||
$success-color: #62c462 !default;
|
$success-color: #3fa63f !default;
|
||||||
$warning-color: #f89406 !default;
|
$warning-color: #d67f05 !default;
|
||||||
$danger-color: #ee5f5b !default;
|
$danger-color: #ee5f5b !default;
|
||||||
$info-color: #52adc8 !default;
|
$info-color: #3b9cba !default;
|
||||||
|
$focus-color: $primary-color !default;
|
||||||
|
$active-color: mix(#fff, $primary-color, 80%) !default;
|
||||||
|
|
||||||
/* YIQ color contrast */
|
/* YIQ color contrast */
|
||||||
$yiq-contrasted-dark-default: $dark-gray !default;
|
$yiq-contrasted-dark-default: $dark-gray !default;
|
||||||
@@ -83,11 +93,13 @@ $flickr-color: #ff0084 !default;
|
|||||||
$foursquare-color: #0072b1 !default;
|
$foursquare-color: #0072b1 !default;
|
||||||
$github-color: #171516 !default;
|
$github-color: #171516 !default;
|
||||||
$gitlab-color: #e24329 !default;
|
$gitlab-color: #e24329 !default;
|
||||||
$google-plus-color: #dd4b39 !default;
|
|
||||||
$instagram-color: #517fa4 !default;
|
$instagram-color: #517fa4 !default;
|
||||||
|
$keybase-color: #ef7639 !default;
|
||||||
$lastfm-color: #d51007 !default;
|
$lastfm-color: #d51007 !default;
|
||||||
$linkedin-color: #007bb6 !default;
|
$linkedin-color: #007bb6 !default;
|
||||||
|
$mastodon-color: #2b90d9 !default;
|
||||||
$pinterest-color: #cb2027 !default;
|
$pinterest-color: #cb2027 !default;
|
||||||
|
$reddit-color: #ff4500 !default;
|
||||||
$rss-color: #fa9b39 !default;
|
$rss-color: #fa9b39 !default;
|
||||||
$soundcloud-color: #ff3300 !default;
|
$soundcloud-color: #ff3300 !default;
|
||||||
$stackoverflow-color: #fe7a15 !default;
|
$stackoverflow-color: #fe7a15 !default;
|
||||||
@@ -99,13 +111,17 @@ $youtube-color: #bb0000 !default;
|
|||||||
$xing-color: #006567 !default;
|
$xing-color: #006567 !default;
|
||||||
|
|
||||||
/* links */
|
/* links */
|
||||||
$link-color: $info-color !default;
|
$link-color: mix(#000, $info-color, 20%) !default;
|
||||||
$link-color-hover: mix(#000, $link-color, 25%) !default;
|
$link-color-hover: mix(#000, $link-color, 25%) !default;
|
||||||
$link-color-visited: mix(#fff, $link-color, 25%) !default;
|
$link-color-visited: mix(#fff, $link-color, 15%) !default;
|
||||||
$masthead-link-color: $primary-color !default;
|
$masthead-link-color: $primary-color !default;
|
||||||
$masthead-link-color-hover: mix(#000, $primary-color, 25%) !default;
|
$masthead-link-color-hover: mix(#000, $primary-color, 25%) !default;
|
||||||
$navicon-link-color-hover: mix(#fff, $primary-color, 75%) !default;
|
$navicon-link-color-hover: mix(#fff, $primary-color, 75%) !default;
|
||||||
|
|
||||||
|
/* notices */
|
||||||
|
$notice-background-mix: 80% !default;
|
||||||
|
$code-notice-background-mix: 90% !default;
|
||||||
|
|
||||||
/* syntax highlighting (base16) */
|
/* syntax highlighting (base16) */
|
||||||
$base00: #263238 !default;
|
$base00: #263238 !default;
|
||||||
$base01: #2e3c43 !default;
|
$base01: #2e3c43 !default;
|
||||||
@@ -133,6 +149,7 @@ $medium: 768px !default;
|
|||||||
$medium-wide: 900px !default;
|
$medium-wide: 900px !default;
|
||||||
$large: 1024px !default;
|
$large: 1024px !default;
|
||||||
$x-large: 1280px !default;
|
$x-large: 1280px !default;
|
||||||
|
$max-width: $x-large !default;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Grid
|
Grid
|
||||||
|
|||||||
@@ -27,4 +27,8 @@ $link-color : $info-color !default;
|
|||||||
$link-color-hover : mix(#000, $link-color, 25%) !default;
|
$link-color-hover : mix(#000, $link-color, 25%) !default;
|
||||||
$link-color-visited : mix(#fff, $link-color, 25%) !default;
|
$link-color-visited : mix(#fff, $link-color, 25%) !default;
|
||||||
$masthead-link-color : $primary-color !default;
|
$masthead-link-color : $primary-color !default;
|
||||||
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
|
$masthead-link-color-hover : mix(#000, $primary-color, 25%) !default;
|
||||||
|
|
||||||
|
/* notices */
|
||||||
|
$notice-background-mix: 90% !default;
|
||||||
|
$code-notice-background-mix: 95% !default;
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ $base0f: #b18a3d !default;
|
|||||||
color: #fff !important; // override
|
color: #fff !important; // override
|
||||||
}
|
}
|
||||||
|
|
||||||
.page__footer-follow .social-icons .svg-inline--fa {
|
.page__footer-follow .social-icons i,
|
||||||
|
.page__footer-follow .social-icons .svg-inline--fa {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,25 +18,13 @@ $masthead-link-color: $text-color !default;
|
|||||||
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
||||||
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
||||||
|
|
||||||
/* dark syntax highlighting (base16) */
|
.author__urls.social-icons i,
|
||||||
$base00: #ffffff !default;
|
|
||||||
$base01: #e0e0e0 !default;
|
|
||||||
$base02: #d0d0d0 !default;
|
|
||||||
$base03: #b0b0b0 !default;
|
|
||||||
$base04: #000000 !default;
|
|
||||||
$base05: #101010 !default;
|
|
||||||
$base06: #151515 !default;
|
|
||||||
$base07: #202020 !default;
|
|
||||||
$base08: #ff0086 !default;
|
|
||||||
$base09: #fd8900 !default;
|
|
||||||
$base0a: #aba800 !default;
|
|
||||||
$base0b: #00c918 !default;
|
|
||||||
$base0c: #1faaaa !default;
|
|
||||||
$base0d: #3777e6 !default;
|
|
||||||
$base0e: #ad00a1 !default;
|
|
||||||
$base0f: #cc6633 !default;
|
|
||||||
|
|
||||||
.author__urls.social-icons .svg-inline--fa,
|
.author__urls.social-icons .svg-inline--fa,
|
||||||
.page__footer-follow .social-icons .svg-inline--fa {
|
.page__footer-follow .social-icons i,
|
||||||
|
.page__footer-follow .social-icons .svg-inline--fa {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ais-search-box .ais-search-box--input {
|
||||||
|
background-color: $form-background-color;
|
||||||
|
}
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ $navicon-link-color-hover: mix(#fff, $text-color, 80%) !default;
|
|||||||
color: #fff !important; // override
|
color: #fff !important; // override
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page__footer-follow .social-icons i,
|
||||||
.page__footer-follow .social-icons .svg-inline--fa {
|
.page__footer-follow .social-icons .svg-inline--fa {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,6 +18,10 @@ $masthead-link-color: $text-color !default;
|
|||||||
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
||||||
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
||||||
|
|
||||||
|
/* notices */
|
||||||
|
$notice-background-mix: 90% !default;
|
||||||
|
$code-notice-background-mix: 95% !default;
|
||||||
|
|
||||||
/* neon syntax highlighting (base16) */
|
/* neon syntax highlighting (base16) */
|
||||||
$base00: #ffffff !default;
|
$base00: #ffffff !default;
|
||||||
$base01: #e0e0e0 !default;
|
$base01: #e0e0e0 !default;
|
||||||
@@ -36,8 +40,10 @@ $base0d: #3777e6 !default;
|
|||||||
$base0e: #ad00a1 !default;
|
$base0e: #ad00a1 !default;
|
||||||
$base0f: #cc6633 !default;
|
$base0f: #cc6633 !default;
|
||||||
|
|
||||||
|
.author__urls.social-icons i,
|
||||||
.author__urls.social-icons .svg-inline--fa,
|
.author__urls.social-icons .svg-inline--fa,
|
||||||
.page__footer-follow .social-icons .svg-inline--fa {
|
.page__footer-follow .social-icons i,
|
||||||
|
.page__footer-follow .social-icons .svg-inline--fa {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -51,3 +57,7 @@ $base0f: #cc6633 !default;
|
|||||||
color: $text-color;
|
color: $text-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ais-search-box .ais-search-box--input {
|
||||||
|
background-color: $form-background-color;
|
||||||
|
}
|
||||||
@@ -18,6 +18,10 @@ $masthead-link-color: $text-color !default;
|
|||||||
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
||||||
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
||||||
|
|
||||||
|
/* notices */
|
||||||
|
$notice-background-mix: 70% !default;
|
||||||
|
$code-notice-background-mix: 80% !default;
|
||||||
|
|
||||||
/* plum syntax highlighting (base16) */
|
/* plum syntax highlighting (base16) */
|
||||||
$base00: #ffffff !default;
|
$base00: #ffffff !default;
|
||||||
$base01: #e0e0e0 !default;
|
$base01: #e0e0e0 !default;
|
||||||
@@ -36,8 +40,10 @@ $base0d: #3777e6 !default;
|
|||||||
$base0e: #ad00a1 !default;
|
$base0e: #ad00a1 !default;
|
||||||
$base0f: #cc6633 !default;
|
$base0f: #cc6633 !default;
|
||||||
|
|
||||||
|
.author__urls.social-icons i,
|
||||||
.author__urls.social-icons .svg-inline--fa,
|
.author__urls.social-icons .svg-inline--fa,
|
||||||
.page__footer-follow .social-icons .svg-inline--fa {
|
.page__footer-follow .social-icons i,
|
||||||
|
.page__footer-follow .social-icons .svg-inline--fa {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -58,3 +64,7 @@ $base0f: #cc6633 !default;
|
|||||||
color: $text-color;
|
color: $text-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ais-search-box .ais-search-box--input {
|
||||||
|
background-color: $form-background-color;
|
||||||
|
}
|
||||||
@@ -20,6 +20,9 @@ $masthead-link-color: $text-color !default;
|
|||||||
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
$masthead-link-color-hover: mix(#000, $text-color, 20%) !default;
|
||||||
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
$navicon-link-color-hover: mix(#000, $background-color, 30%) !default;
|
||||||
|
|
||||||
|
/* notices */
|
||||||
|
$notice-background-mix: 75% !default;
|
||||||
|
|
||||||
/* sunrise syntax highlighting (base16) */
|
/* sunrise syntax highlighting (base16) */
|
||||||
$base00: #1d1f21 !default;
|
$base00: #1d1f21 !default;
|
||||||
$base01: #282a2e !default;
|
$base01: #282a2e !default;
|
||||||
@@ -38,7 +41,9 @@ $base0d: #81a2be !default;
|
|||||||
$base0e: #b294bb !default;
|
$base0e: #b294bb !default;
|
||||||
$base0f: #a3685a !default;
|
$base0f: #a3685a !default;
|
||||||
|
|
||||||
.author__urls.social-icons .fa,
|
.author__urls.social-icons i,
|
||||||
.page__footer-follow .social-icons .svg-inline--fa {
|
.author__urls.social-icons .svg-inline--fa,
|
||||||
|
.page__footer-follow .social-icons i,
|
||||||
|
.page__footer-follow .social-icons .svg-inline--fa {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|||||||
+51
-21
@@ -3,24 +3,6 @@
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
// Sticky footer
|
|
||||||
var bumpIt = function() {
|
|
||||||
$("body").css("margin-bottom", $(".page__footer").outerHeight(true));
|
|
||||||
},
|
|
||||||
didResize = false;
|
|
||||||
|
|
||||||
bumpIt();
|
|
||||||
|
|
||||||
$(window).resize(function() {
|
|
||||||
didResize = true;
|
|
||||||
});
|
|
||||||
setInterval(function() {
|
|
||||||
if (didResize) {
|
|
||||||
didResize = false;
|
|
||||||
bumpIt();
|
|
||||||
}
|
|
||||||
}, 250);
|
|
||||||
|
|
||||||
// FitVids init
|
// FitVids init
|
||||||
$("#main").fitVids();
|
$("#main").fitVids();
|
||||||
|
|
||||||
@@ -51,6 +33,16 @@ $(document).ready(function() {
|
|||||||
$(".author__urls-wrapper button").toggleClass("open");
|
$(".author__urls-wrapper button").toggleClass("open");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Close search screen with Esc key
|
||||||
|
$(document).keyup(function(e) {
|
||||||
|
if (e.keyCode === 27) {
|
||||||
|
if ($(".initial-content").hasClass("is--hidden")) {
|
||||||
|
$(".search-content").toggleClass("is--visible");
|
||||||
|
$(".initial-content").toggleClass("is--hidden");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// Search toggle
|
// Search toggle
|
||||||
$(".search__toggle").on("click", function() {
|
$(".search__toggle").on("click", function() {
|
||||||
$(".search-content").toggleClass("is--visible");
|
$(".search-content").toggleClass("is--visible");
|
||||||
@@ -61,12 +53,37 @@ $(document).ready(function() {
|
|||||||
}, 400);
|
}, 400);
|
||||||
});
|
});
|
||||||
|
|
||||||
// init smooth scroll
|
// Smooth scrolling
|
||||||
$("a").smoothScroll({ offset: -20 });
|
var scroll = new SmoothScroll('a[href*="#"]', {
|
||||||
|
offset: 20,
|
||||||
|
speed: 400,
|
||||||
|
speedAsDuration: true,
|
||||||
|
durationMax: 500
|
||||||
|
});
|
||||||
|
|
||||||
|
// Gumshoe scroll spy init
|
||||||
|
if($("nav.toc").length > 0) {
|
||||||
|
var spy = new Gumshoe("nav.toc a", {
|
||||||
|
// Active classes
|
||||||
|
navClass: "active", // applied to the nav list item
|
||||||
|
contentClass: "active", // applied to the content
|
||||||
|
|
||||||
|
// Nested navigation
|
||||||
|
nested: false, // if true, add classes to parents of active link
|
||||||
|
nestedClass: "active", // applied to the parent items
|
||||||
|
|
||||||
|
// Offset & reflow
|
||||||
|
offset: 20, // how far from the top of the page to activate a content area
|
||||||
|
reflow: true, // if true, listen for reflows
|
||||||
|
|
||||||
|
// Event support
|
||||||
|
events: true // if true, emit custom events
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// add lightbox class to all image links
|
// add lightbox class to all image links
|
||||||
$(
|
$(
|
||||||
"a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif']"
|
"a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif'],a[href$='.webp']"
|
||||||
).addClass("image-popup");
|
).addClass("image-popup");
|
||||||
|
|
||||||
// Magnific-Popup options
|
// Magnific-Popup options
|
||||||
@@ -103,4 +120,17 @@ $(document).ready(function() {
|
|||||||
closeOnContentClick: true,
|
closeOnContentClick: true,
|
||||||
midClick: true // allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source.
|
midClick: true // allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source.
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Add anchors for headings
|
||||||
|
$('.page__content').find('h1, h2, h3, h4, h5, h6').each(function() {
|
||||||
|
var id = $(this).attr('id');
|
||||||
|
if (id) {
|
||||||
|
var anchor = document.createElement("a");
|
||||||
|
anchor.className = 'header-link';
|
||||||
|
anchor.href = '#' + id;
|
||||||
|
anchor.innerHTML = '<span class=\"sr-only\">Permalink</span><i class=\"fas fa-link\"></i>';
|
||||||
|
anchor.title = "Permalink";
|
||||||
|
$(this).append(anchor);
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Vendored
+3
-5
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
layout: null
|
layout: none
|
||||||
---
|
---
|
||||||
|
|
||||||
var idx = lunr(function () {
|
var idx = lunr(function () {
|
||||||
@@ -22,8 +22,6 @@ var idx = lunr(function () {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log( jQuery.type(idx) );
|
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('input#search').on('keyup', function () {
|
$('input#search').on('keyup', function () {
|
||||||
var resultdiv = $('#results');
|
var resultdiv = $('#results');
|
||||||
@@ -47,7 +45,7 @@ $(document).ready(function() {
|
|||||||
if(store[ref].teaser){
|
if(store[ref].teaser){
|
||||||
var searchitem =
|
var searchitem =
|
||||||
'<div class="list__item">'+
|
'<div class="list__item">'+
|
||||||
'<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">'+
|
'<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">'+
|
||||||
'<h2 class="archive__item-title" itemprop="headline">'+
|
'<h2 class="archive__item-title" itemprop="headline">'+
|
||||||
'<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
|
'<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
|
||||||
'</h2>'+
|
'</h2>'+
|
||||||
@@ -61,7 +59,7 @@ $(document).ready(function() {
|
|||||||
else{
|
else{
|
||||||
var searchitem =
|
var searchitem =
|
||||||
'<div class="list__item">'+
|
'<div class="list__item">'+
|
||||||
'<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">'+
|
'<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">'+
|
||||||
'<h2 class="archive__item-title" itemprop="headline">'+
|
'<h2 class="archive__item-title" itemprop="headline">'+
|
||||||
'<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
|
'<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
|
||||||
'</h2>'+
|
'</h2>'+
|
||||||
|
|||||||
Vendored
+3
-5
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
layout: null
|
layout: none
|
||||||
---
|
---
|
||||||
|
|
||||||
step1list = new Array();
|
step1list = new Array();
|
||||||
@@ -475,8 +475,6 @@ var idx = lunr(function () {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log( jQuery.type(idx) );
|
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('input#search').on('keyup', function () {
|
$('input#search').on('keyup', function () {
|
||||||
var resultdiv = $('#results');
|
var resultdiv = $('#results');
|
||||||
@@ -500,7 +498,7 @@ $(document).ready(function() {
|
|||||||
if(store[ref].teaser){
|
if(store[ref].teaser){
|
||||||
var searchitem =
|
var searchitem =
|
||||||
'<div class="list__item">'+
|
'<div class="list__item">'+
|
||||||
'<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">'+
|
'<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">'+
|
||||||
'<h2 class="archive__item-title" itemprop="headline">'+
|
'<h2 class="archive__item-title" itemprop="headline">'+
|
||||||
'<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
|
'<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
|
||||||
'</h2>'+
|
'</h2>'+
|
||||||
@@ -514,7 +512,7 @@ $(document).ready(function() {
|
|||||||
else{
|
else{
|
||||||
var searchitem =
|
var searchitem =
|
||||||
'<div class="list__item">'+
|
'<div class="list__item">'+
|
||||||
'<article class="archive__item" itemscope itemtype="http://schema.org/CreativeWork">'+
|
'<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork">'+
|
||||||
'<h2 class="archive__item-title" itemprop="headline">'+
|
'<h2 class="archive__item-title" itemprop="headline">'+
|
||||||
'<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
|
'<a href="'+store[ref].url+'" rel="permalink">'+store[ref].title+'</a>'+
|
||||||
'</h2>'+
|
'</h2>'+
|
||||||
|
|||||||
Vendored
+7
-10
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
layout: null
|
layout: none
|
||||||
---
|
---
|
||||||
|
|
||||||
var store = [
|
var store = [
|
||||||
@@ -18,7 +18,8 @@ var store = [
|
|||||||
"title": {{ doc.title | jsonify }},
|
"title": {{ doc.title | jsonify }},
|
||||||
"excerpt":
|
"excerpt":
|
||||||
{%- if site.search_full_content == true -%}
|
{%- if site.search_full_content == true -%}
|
||||||
{{ doc.content |
|
{{ doc.content | newline_to_br |
|
||||||
|
replace:"<br />", " " |
|
||||||
replace:"</p>", " " |
|
replace:"</p>", " " |
|
||||||
replace:"</h1>", " " |
|
replace:"</h1>", " " |
|
||||||
replace:"</h2>", " " |
|
replace:"</h2>", " " |
|
||||||
@@ -28,7 +29,8 @@ var store = [
|
|||||||
replace:"</h6>", " "|
|
replace:"</h6>", " "|
|
||||||
strip_html | strip_newlines | jsonify }},
|
strip_html | strip_newlines | jsonify }},
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
{{ doc.content |
|
{{ doc.content | newline_to_br |
|
||||||
|
replace:"<br />", " " |
|
||||||
replace:"</p>", " " |
|
replace:"</p>", " " |
|
||||||
replace:"</h1>", " " |
|
replace:"</h1>", " " |
|
||||||
replace:"</h2>", " " |
|
replace:"</h2>", " " |
|
||||||
@@ -40,13 +42,8 @@ var store = [
|
|||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
"categories": {{ doc.categories | jsonify }},
|
"categories": {{ doc.categories | jsonify }},
|
||||||
"tags": {{ doc.tags | jsonify }},
|
"tags": {{ doc.tags | jsonify }},
|
||||||
"url": {{ doc.url | absolute_url | jsonify }},
|
"url": {{ doc.url | relative_url | jsonify }},
|
||||||
"teaser":
|
"teaser": {{ teaser | relative_url | jsonify }}
|
||||||
{%- if teaser contains "://" -%}
|
|
||||||
{{ teaser | jsonify }}
|
|
||||||
{%- else -%}
|
|
||||||
{{ teaser | absolute_url | jsonify }}
|
|
||||||
{%- endif -%}
|
|
||||||
}{%- unless forloop.last and l -%},{%- endunless -%}
|
}{%- unless forloop.last and l -%},{%- endunless -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
{%- endfor -%}]
|
{%- endfor -%}]
|
||||||
|
|||||||
Vendored
+646
-148
File diff suppressed because it is too large
Load Diff
Vendored
+3
-3
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user