Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f8c4e6bdc | ||
|
|
db81998d57 | ||
|
|
30c69ad7fc | ||
|
|
36271d15f5 | ||
|
|
0ce3ef6bd8 | ||
|
|
e675044d29 | ||
|
|
a59342a068 | ||
|
|
b7e170c5cf | ||
|
|
cf6c261061 | ||
|
|
6de27253e7 | ||
|
|
61ae48d92a | ||
|
|
2d4e1e1ed1 | ||
|
|
918d04fa43 | ||
|
|
126f71694f | ||
|
|
8193f6071e | ||
|
|
903ad6596c | ||
|
|
90ab9d28b9 | ||
|
|
d90b7e5b3e | ||
|
|
af81ee840f | ||
|
|
cb140fc5e6 | ||
|
|
1c6bd0d9e2 | ||
|
|
8f02ec7714 | ||
|
|
ef464c868e | ||
|
|
85e1ba131e | ||
|
|
1ae32a42cb | ||
|
|
6f5e6f4391 | ||
|
|
bc0c83c0c4 | ||
|
|
cff0e2a387 | ||
|
|
844812b4f4 | ||
|
|
5fd703674b | ||
|
|
a3e2b33c5e | ||
|
|
6be43f77a5 | ||
|
|
075fad74cb | ||
|
|
7d212bc310 | ||
|
|
96149caa54 | ||
|
|
b939edc600 | ||
|
|
3d44327497 | ||
|
|
b0b2698d35 | ||
|
|
6e83c1acd5 | ||
|
|
66949b5c4c | ||
|
|
959d5fe1f9 | ||
|
|
7a7c8022ad | ||
|
|
33c6dbd1be | ||
|
|
d27cc9c132 | ||
|
|
922440cd55 | ||
|
|
9ffaf41d20 | ||
|
|
ded2d87b2b | ||
|
|
97f0f35498 | ||
|
|
621529aaf2 | ||
|
|
ef5018ee6f | ||
|
|
12ae094b8a | ||
|
|
93022d6432 | ||
|
|
1e6bcecb5a | ||
|
|
784efffcd1 | ||
|
|
b82680b103 | ||
|
|
7b6b45055c | ||
|
|
02342c919a | ||
|
|
5b203f46c4 | ||
|
|
ff56bc2bd6 | ||
|
|
4efb8638c4 | ||
|
|
536e89d174 | ||
|
|
1a85a28685 | ||
|
|
be3c046acf | ||
|
|
573f286971 | ||
|
|
70462d0e16 | ||
|
|
9dce68d58a | ||
|
|
4c3ada478a | ||
|
|
438710da82 | ||
|
|
4f76c2546a | ||
|
|
14e3fa2b28 | ||
|
|
dc965c5bbe | ||
|
|
accc82a03b | ||
|
|
148349b029 | ||
|
|
0527e17354 | ||
|
|
c76813f6f5 | ||
|
|
4364fb73f5 | ||
|
|
dfaac405f0 | ||
|
|
9c386c5509 | ||
|
|
2f5e771072 | ||
|
|
16103c6d49 | ||
|
|
bf66a5c345 | ||
|
|
ceeda03132 | ||
|
|
f1ffad4b5e | ||
|
|
162f659f61 | ||
|
|
adae207d17 | ||
|
|
4b08acb115 | ||
|
|
d240efaa7c | ||
|
|
0378a31f53 | ||
|
|
d47d62f695 | ||
|
|
64b1d429a4 | ||
|
|
244eff763a | ||
|
|
25ce47de8c | ||
|
|
256e626503 | ||
|
|
1d3fd5d7d6 | ||
|
|
f8ea22fdb8 | ||
|
|
7e7b901974 | ||
|
|
f33349c2ee | ||
|
|
ed883ea2d4 | ||
|
|
ab42c3ba1d | ||
|
|
b278dac7fb | ||
|
|
0b8b5230f9 | ||
|
|
6165d896a0 | ||
|
|
bde92b6d4a | ||
|
|
271b5da8e5 | ||
|
|
bce2b50556 | ||
|
|
7daa7aceb3 | ||
|
|
3ed92f5ea8 | ||
|
|
dc41016c62 | ||
|
|
7ef6af66e4 | ||
|
|
4b0c8bd1b9 | ||
|
|
9ac9602e22 | ||
|
|
f3c617f7de | ||
|
|
753ccbbd03 | ||
|
|
1b06aff3bc | ||
|
|
7ea8510d4f | ||
|
|
7d61488f5e | ||
|
|
a7af9b0ad2 | ||
|
|
4310b5459c | ||
|
|
f8f6e589ac | ||
|
|
172a5169f1 | ||
|
|
48ed1444b9 | ||
|
|
409bc92868 | ||
|
|
f8527e7916 | ||
|
|
a179735103 | ||
|
|
60b9565277 | ||
|
|
7746db6f7e | ||
|
|
5e3d1406d2 | ||
|
|
a0aa8f80a7 | ||
|
|
6308789788 | ||
|
|
c7ef8c0fd0 | ||
|
|
ada1b6184e | ||
|
|
9b9d2c66e2 | ||
|
|
6693a4a8cc | ||
|
|
aca6648bd4 | ||
|
|
6e94773083 | ||
|
|
4c38bab95b | ||
|
|
6f1cbfb3be | ||
|
|
8d3592ff70 | ||
|
|
aae8dac76c | ||
|
|
b604e2a686 | ||
|
|
02d989370a | ||
|
|
2c92d34938 | ||
|
|
0d56036557 | ||
|
|
73c2ad818c | ||
|
|
495fb29b45 | ||
|
|
75841313de | ||
|
|
7aee05ce0c | ||
|
|
08b0303298 | ||
|
|
6eaee034d1 | ||
|
|
9770b663f9 | ||
|
|
2cc21c1e88 | ||
|
|
830595d967 | ||
|
|
f18799a0c9 | ||
|
|
51fcef50d0 | ||
|
|
91ab537546 | ||
|
|
23a91f8695 | ||
|
|
8a67ce8e41 | ||
|
|
18e89666a6 | ||
|
|
5946bd4ea0 | ||
|
|
3d65710bf7 | ||
|
|
c940a73b50 | ||
|
|
e44403e276 | ||
|
|
6f0ba5e363 | ||
|
|
955a19b955 | ||
|
|
de1e2b73a6 | ||
|
|
1433887f67 | ||
|
|
2f5af9050b | ||
|
|
03a26a105d | ||
|
|
65237df377 | ||
|
|
f92670442f | ||
|
|
cee4c86ee3 | ||
|
|
58d1ba8293 | ||
|
|
8dc2997d1f | ||
|
|
daf51177f8 | ||
|
|
416933d98a | ||
|
|
55f6e8fae5 | ||
|
|
bcb15f80e7 | ||
|
|
00b86b1ff8 | ||
|
|
a66bf7e317 | ||
|
|
3f36d171bb | ||
|
|
4ef57be787 | ||
|
|
df97788050 | ||
|
|
a499b0dcae | ||
|
|
3051fcd3c9 | ||
|
|
4e19f46d68 | ||
|
|
7aa8c7b5dc | ||
|
|
23e7ad2903 | ||
|
|
a19dbdbf78 | ||
|
|
8b67db3ff4 | ||
|
|
2632ff650a | ||
|
|
ad1e06633c | ||
|
|
9539e3bd84 | ||
|
|
d6c84c9508 | ||
|
|
5ef199a3eb | ||
|
|
d639c605c8 | ||
|
|
a431dd5cc3 | ||
|
|
691df116da | ||
|
|
9ab55b6c54 | ||
|
|
bdcfd791a0 | ||
|
|
9f7c0e4144 | ||
|
|
dbc9479fd5 | ||
|
|
6bd64ffd47 | ||
|
|
ebc8123d36 | ||
|
|
a6b51ed91e | ||
|
|
642ec7b20f | ||
|
|
000dc3b4a2 | ||
|
|
50d312d04c | ||
|
|
25e871c096 | ||
|
|
20cd63c05b | ||
|
|
eaef9ecd9f | ||
|
|
62c123c6b5 | ||
|
|
234d859040 | ||
|
|
c6c6bafad0 | ||
|
|
97cf6e189b | ||
|
|
9cf80336b3 | ||
|
|
ff5b354a9a | ||
|
|
0629bb770d | ||
|
|
1ca125d61b | ||
|
|
aa5dab277e | ||
|
|
f9b17c6249 | ||
|
|
084ddf8d8e | ||
|
|
9269842e9d | ||
|
|
567836e43c | ||
|
|
7e7e683801 | ||
|
|
0f06cb8225 | ||
|
|
89de4d46db | ||
|
|
65e79f5a7d | ||
|
|
42f7512702 | ||
|
|
cc18679227 | ||
|
|
5094a4092a | ||
|
|
6ade4536f7 | ||
|
|
bd46e0a1a8 | ||
|
|
14a47c9d39 | ||
|
|
2eda29dd1f | ||
|
|
26db31c52d | ||
|
|
4fcd51b9bd | ||
|
|
0491cd362b | ||
|
|
3c075fe76b | ||
|
|
00fa7be38b | ||
|
|
297989c1be | ||
|
|
8adb089a68 | ||
|
|
ad094187f7 | ||
|
|
5aeff0c01b | ||
|
|
579d1759d1 | ||
|
|
cc9d1fdaf3 | ||
|
|
3b62fcef6b | ||
|
|
8152b4cbfc | ||
|
|
3c60ebde58 | ||
|
|
b997dc5e25 | ||
|
|
7597735c73 | ||
|
|
184f4f3430 | ||
|
|
351174e494 | ||
|
|
5704e9c0ae | ||
|
|
00d9900743 | ||
|
|
d9305929cf | ||
|
|
f2461af7a8 | ||
|
|
327a7b6f62 | ||
|
|
5516883310 | ||
|
|
1f9698ce37 | ||
|
|
1f0746f2d5 | ||
|
|
b4b8369f5b | ||
|
|
1d2a1c51df | ||
|
|
e7687a8e15 | ||
|
|
edd326376b | ||
|
|
e2f65248b0 | ||
|
|
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 |
@@ -4,3 +4,7 @@ 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
|
||||||
|
|||||||
@@ -1,11 +1,8 @@
|
|||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
Having trouble working with the theme? Found a typo in the documentation?
|
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.
|
||||||
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)
|
For help with using the theme or general Jekyll support questions, please use the [Jekyll Talk forums](https://talk.jekyllrb.com/).
|
||||||
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
|
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
|
site's unique needs. Please keep this in mind when requesting features and/or
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
custom: https://www.paypal.me/mmistakes
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
---
|
|
||||||
name: "Bug Report"
|
|
||||||
about: "Is something not working as expected?"
|
|
||||||
---
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Before opening a new issue please:
|
|
||||||
|
|
||||||
- Verify you have the latest versions of Jekyll and Minimal Mistakes
|
|
||||||
installed by running `bundle update`.
|
|
||||||
- Thoroughly read the theme's documentation at
|
|
||||||
https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
|
|
||||||
- Search all issues at https://github.com/mmistakes/minimal-mistakes/issues
|
|
||||||
for solutions and to avoid duplication.
|
|
||||||
- Ask for help at http://talk.jekyllrb.com/
|
|
||||||
|
|
||||||
After exhausting these suggestions use the format below.
|
|
||||||
-->
|
|
||||||
|
|
||||||
## Environment
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Please include theme version, Jekyll version, public git repository, whether
|
|
||||||
you are hosting with GitHub Pages, and the operating system you tested with.
|
|
||||||
|
|
||||||
Issues without a link to a public repository or ZIP file will likely go ignored.
|
|
||||||
Being able to see your actual files is necessary to troubleshoot, as most
|
|
||||||
issues stem from invalid/missing YAML Front Matter, a mis-configured _config.sys
|
|
||||||
file, or problematic site content.
|
|
||||||
-->
|
|
||||||
|
|
||||||
- Minimal Mistakes version:
|
|
||||||
- Ruby gem or remote theme version:
|
|
||||||
- Jekyll version:
|
|
||||||
- Git repository URL:
|
|
||||||
- GitHub Pages hosted (if yes provide URL to site):
|
|
||||||
- Operating system:
|
|
||||||
|
|
||||||
## Expected behavior
|
|
||||||
|
|
||||||
<!--
|
|
||||||
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
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Describe the steps you took for this problem to exist. Such as: you installed
|
|
||||||
the theme, customized _config.yml, added your own posts, and started up a
|
|
||||||
Jekyll server locally.
|
|
||||||
|
|
||||||
If an error occurred on GitHub Pages when pushing, please test a local version
|
|
||||||
following these setup instructions:
|
|
||||||
https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/
|
|
||||||
|
|
||||||
Then provide a complete log by running `bundle exec jekyll build --trace --verbose`
|
|
||||||
and include this output in the filed issue.
|
|
||||||
|
|
||||||
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,94 @@
|
|||||||
|
name: Bug Report
|
||||||
|
description: There is something wrong with the theme. 99% of the time you should select Support below.
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Before opening a new issue please:
|
||||||
|
|
||||||
|
- Verify you have the latest versions of Jekyll and Minimal Mistakes
|
||||||
|
installed by running `bundle update`.
|
||||||
|
- Thoroughly read the theme's documentation at
|
||||||
|
https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
|
||||||
|
- Search all issues at https://github.com/mmistakes/minimal-mistakes/issues
|
||||||
|
for solutions and to avoid duplication.
|
||||||
|
- Ask for help at https://talk.jekyllrb.com/
|
||||||
|
|
||||||
|
If none of the above solved your problem, you can continue below.
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: environment
|
||||||
|
attributes:
|
||||||
|
label: Theme version and system environment
|
||||||
|
description: |
|
||||||
|
Please include theme version, Jekyll version, public git repository, whether
|
||||||
|
you are hosting with GitHub Pages, and the operating system you tested with.
|
||||||
|
|
||||||
|
Issues without a link to a public repository or ZIP file will likely go ignored.
|
||||||
|
Being able to see your actual files is necessary to troubleshoot, as most
|
||||||
|
issues stem from invalid/missing YAML Front Matter, a mis-configured _config.yml
|
||||||
|
file, or problematic site content.
|
||||||
|
value: |-
|
||||||
|
- Minimal Mistakes version:
|
||||||
|
- Ruby gem or remote theme version:
|
||||||
|
- Jekyll version:
|
||||||
|
- Git repository URL:
|
||||||
|
- URL to the page with the problem:
|
||||||
|
- Operating system:
|
||||||
|
- Browser version:
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: what-happened
|
||||||
|
attributes:
|
||||||
|
label: What happened?
|
||||||
|
description: |
|
||||||
|
Describe the problem **in detail**. For example:
|
||||||
|
|
||||||
|
- What is missing?
|
||||||
|
- What error do you see? Attach the error log if available.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: expected-behavior
|
||||||
|
attributes:
|
||||||
|
label: Expected behavior
|
||||||
|
description: |
|
||||||
|
Please describe the expected behavior and the actual result you got.
|
||||||
|
placeholder: >
|
||||||
|
What is it you expected to happen? This should be a description of how the
|
||||||
|
functionality you tried to use is supposed to work.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: steps-to-reproduce
|
||||||
|
attributes:
|
||||||
|
label: Steps to reproduce the behavior
|
||||||
|
description: |
|
||||||
|
Describe the steps you took for this problem to come up. Such as: you installed
|
||||||
|
the theme, customized _config.yml, added your own posts, and started up a
|
||||||
|
Jekyll server locally.
|
||||||
|
|
||||||
|
If an error occurred on GitHub Pages when pushing, please test a local version
|
||||||
|
following these setup instructions:
|
||||||
|
https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/
|
||||||
|
|
||||||
|
Then provide a complete log by running `bundle exec jekyll build --trace --verbose`
|
||||||
|
and include this output in the filed issue.
|
||||||
|
|
||||||
|
Screenshots can also be included if they help illustrate a behavior.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: other
|
||||||
|
attributes:
|
||||||
|
label: Other
|
||||||
|
description: |
|
||||||
|
Please provide a code repository, gist, code snippet, sample files,
|
||||||
|
screenshots, or anything else you think will aid in reproducing the issue.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
blank_issues_enabled: false
|
||||||
|
contact_links:
|
||||||
|
- name: Support
|
||||||
|
url: https://github.com/mmistakes/minimal-mistakes/discussions
|
||||||
|
about: Please post your support questions in the Discussions section.
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
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,25 @@
|
|||||||
|
name: Documentation
|
||||||
|
description: Found a typo or something that needs clarification?
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Thanks for taking the time to open an issue and help make the docs better.
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: motivation
|
||||||
|
attributes:
|
||||||
|
label: Motivation
|
||||||
|
description: |
|
||||||
|
Why should we update our docs?
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: suggestion
|
||||||
|
attributes:
|
||||||
|
label: Suggestion
|
||||||
|
description: |
|
||||||
|
What should we do instead?
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
---
|
|
||||||
name: "Enhancement / Feature Request"
|
|
||||||
about: "What would make this theme better?"
|
|
||||||
---
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Before opening a new issue please search all issues at
|
|
||||||
https://github.com/mmistakes/minimal-mistakes/issues to avoid duplication.
|
|
||||||
-->
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
<!--
|
|
||||||
A short explanation of the enhancement or feature.
|
|
||||||
-->
|
|
||||||
|
|
||||||
## Motivation
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Why do you want to see this feature in the theme?
|
|
||||||
What use cases does it support?
|
|
||||||
|
|
||||||
NOTE: This theme has been designed as a base for you to customize and fit
|
|
||||||
your site's unique needs. If a feature is not something most people will use,
|
|
||||||
it likely won't be considered. When in doubt ask.
|
|
||||||
-->
|
|
||||||
|
|
||||||
## Drawbacks
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Why should this enhancement or feature **not** be considered?
|
|
||||||
-->
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
---
|
|
||||||
name: "Question"
|
|
||||||
about: "Having trouble working with the theme?"
|
|
||||||
---
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Before opening a new issue please:
|
|
||||||
|
|
||||||
- Verify you have the latest versions of Jekyll and Minimal Mistakes
|
|
||||||
installed by running `bundle update`.
|
|
||||||
- Thoroughly read the theme's documentation at
|
|
||||||
https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
|
|
||||||
- Search all issues at https://github.com/mmistakes/minimal-mistakes/issues
|
|
||||||
for solutions and to avoid duplication.
|
|
||||||
- Ask for help at http://talk.jekyllrb.com/
|
|
||||||
|
|
||||||
After exhausting these suggestions ask your question below.
|
|
||||||
|
|
||||||
NOTE: Please provide a code repository, gist, code snippet, sample files, or
|
|
||||||
screenshots to triage your issue.
|
|
||||||
-->
|
|
||||||
|
|
||||||
@@ -24,3 +24,7 @@
|
|||||||
<!--
|
<!--
|
||||||
Is this related to any GitHub issue(s)?
|
Is this related to any GitHub issue(s)?
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Please confirm that you want to submit this Pull Request to Minimal Mistakes, the free Jekyll theme by Michael Rose, by deleting this comment block.
|
||||||
|
-->
|
||||||
|
|||||||
@@ -1,21 +0,0 @@
|
|||||||
# Number of days of inactivity before an issue becomes stale
|
|
||||||
daysUntilStale: 30
|
|
||||||
# Number of days of inactivity before a stale issue is closed
|
|
||||||
daysUntilClose: 7
|
|
||||||
# Issues with these labels will never be considered stale
|
|
||||||
exemptLabels:
|
|
||||||
- "Status: Accepted"
|
|
||||||
- "Status: Under Consideration"
|
|
||||||
# Label to use when marking an issue as stale
|
|
||||||
staleLabel: "Status: Stale"
|
|
||||||
# Comment to post when marking an issue as stale. Set to `false` to disable
|
|
||||||
markComment: |
|
|
||||||
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 consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.
|
|
||||||
|
|
||||||
This issue will automatically be closed in 7 days if no further activity occurs. Thank you for all your contributions.
|
|
||||||
# Comment to post when closing a stale issue. Set to `false` to disable
|
|
||||||
closeComment: false
|
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
name: Cleanup bad PR
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types: [opened, reopened]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
close-pr:
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: "contains(github.event.pull_request.body, 'by deleting this comment block') || github.event.pull_request.body == ''"
|
||||||
|
steps:
|
||||||
|
- uses: actions-ecosystem/action-add-labels@v1
|
||||||
|
with:
|
||||||
|
labels: 'Type: Invalid'
|
||||||
|
- uses: actions-ecosystem/action-add-labels@v1
|
||||||
|
with:
|
||||||
|
labels: 'Type: Spam'
|
||||||
|
- uses: superbrothers/close-pull-request@v3
|
||||||
|
with:
|
||||||
|
# Optional. Post an issue comment just before closing a pull request.
|
||||||
|
comment: |
|
||||||
|
**You have created a Pull Request to the wrong repository.** This is the repository for [Minimal Mistakes][1], the free Jekyll theme. See [GitHub Docs: About pull requests][2] if you need help.
|
||||||
|
|
||||||
|
[1]: https://mmistakes.github.io/minimal-mistakes/
|
||||||
|
[2]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests
|
||||||
|
- uses: sudo-bot/action-pull-request-lock@v1.0.5
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
number: ${{ github.event.pull_request.number }}
|
||||||
|
lock-reason: spam
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
name: build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
workflow_dispatch: {}
|
||||||
|
repository_dispatch: {}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
if: github.repository == 'mmistakes/minimal-mistakes'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- uses: ruby/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: '3.2'
|
||||||
|
- name: Setup cache for Bundler
|
||||||
|
id: cache
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
docs/Gemfile.lock
|
||||||
|
docs/vendor/bundle
|
||||||
|
key: ${{ runner.os }}-bundler-${{ hashFiles('docs/Gemfile') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-bundler-
|
||||||
|
|
||||||
|
- name: Install - Bundler
|
||||||
|
env:
|
||||||
|
MAKE: make -j2
|
||||||
|
working-directory: docs/
|
||||||
|
run: |
|
||||||
|
bundle config set path vendor/bundle
|
||||||
|
bundle install --jobs=4 --retry=3
|
||||||
|
bundle clean
|
||||||
|
|
||||||
|
- name: Update Algolia index
|
||||||
|
working-directory: docs/
|
||||||
|
run: bundle exec jekyll algolia push
|
||||||
|
env:
|
||||||
|
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
|
||||||
|
continue-on-error: true
|
||||||
+4
-1
@@ -2,6 +2,9 @@
|
|||||||
*~
|
*~
|
||||||
*.sw[p_]
|
*.sw[p_]
|
||||||
|
|
||||||
|
# IntelliJ IDEA
|
||||||
|
*.idea
|
||||||
|
|
||||||
# Sublime Text
|
# Sublime Text
|
||||||
*.sublime-project
|
*.sublime-project
|
||||||
*.sublime-workspace
|
*.sublime-workspace
|
||||||
@@ -10,7 +13,7 @@
|
|||||||
*.gem
|
*.gem
|
||||||
.bundle
|
.bundle
|
||||||
Gemfile.lock
|
Gemfile.lock
|
||||||
vendor/bundle
|
**/vendor/bundle
|
||||||
|
|
||||||
# Node.js and NPM
|
# Node.js and NPM
|
||||||
node_modules
|
node_modules
|
||||||
|
|||||||
+622
-241
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
|||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2013-2020 Michael Rose and contributors
|
Copyright (c) 2013-2024 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
|
||||||
|
|||||||
@@ -1,19 +1,13 @@
|
|||||||
# [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)
|
[](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
|
||||||
[](https://jekyllrb.com/)
|
[](https://jekyllrb.com/)
|
||||||
[](https://rubygems.org/gems/minimal-mistakes-jekyll)
|
|
||||||
[](https://www.paypal.me/mmistakes)
|
|
||||||
|
|
||||||
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:.
|
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.**
|
**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 must be retained in the `plugins` array of `_config.yml`. Otherwise you'll encounter `Unknown tag 'include_cached'` errors at build.
|
||||||
|
|
||||||
[](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]
|
||||||
|
|
||||||
@@ -31,9 +25,9 @@ Minimal Mistakes is a flexible two-column Jekyll theme, perfect for building per
|
|||||||
- 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](https://staticman.net/), and [utterances](https://utteranc.es/)).
|
- 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/), [utterances](https://utteranc.es/), and [giscus](https://giscus.app/)).
|
||||||
- [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), Catalan, Chinese, Danish, Dutch, French (Français), German (Deutsch), Greek, Hindi (हिंदी), Hungarian, Indonesian, Italian (Italiano), Japanese, Korean, Malayalam, Nepali (Nepalese), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), and Vietnamese.
|
- UI localized text in English (default), Arabic (عربي), Brazilian Portuguese (Português brasileiro), Bulgarian, Catalan, Chinese, Czech, Danish, Dutch, Finnish, French (Français), German (Deutsch), Greek, Hebrew, Hindi (हिंदी), Hungarian, Indonesian, Irish (Gaeilge), Italian (Italiano), Japanese, Kiswahili, Korean, Malayalam, Myanmar (Burmese), Nepali (Nepalese), Norwegian (Norsk), Persian (فارسی), Polish, Punjabi (ਪੰਜਾਬੀ), Romanian, Russian, Slovak, Spanish (Español), Swedish, Thai, Turkish (Türkçe), Ukrainian (Українська) and Vietnamese.
|
||||||
|
|
||||||
## Skins (color variations)
|
## Skins (color variations)
|
||||||
|
|
||||||
@@ -116,33 +110,54 @@ To install:
|
|||||||
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. Add `jekyll-include-cache` to the `plugins` array of your `_config.yml`.
|
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:
|
3. Fetch and update bundled gems by running the following [Bundler](https://bundler.io/) command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bundle
|
bundle
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.18.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.27.1"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
|
||||||
|
|
||||||
**Looking for an example?** Fork the [Minimal Mistakes remote theme starter](https://github.com/mmistakes/mm-github-pages-starter) for the quickest method of getting a GitHub Pages hosted site up and running. Replace sample content with your own and configure as needed.
|
<!--
|
||||||
|
Dev note: The version number is currently hard-coded in these files:
|
||||||
|
|
||||||
|
- package.json
|
||||||
|
- README.md (this file)
|
||||||
|
- docs/_data/theme.yml
|
||||||
|
- docs/_pages/home.md (in Front Matter "excerpt")
|
||||||
|
|
||||||
|
`package.json` holds the authoritative version number, and the others can be updated with `bundle exec rake version`.
|
||||||
|
|
||||||
|
The following files should also be regenerated:
|
||||||
|
|
||||||
|
- _includes/copyright.html, _includes/copyright.js, _sass/minimal-mistakes/_copyright.scss
|
||||||
|
(Run `bundle exec rake clean` then `bundle exec rake copyright` - all three references `package.json`)
|
||||||
|
- assets/js/main.min.js (Run `bundle exec rake js`, references `_includes/copyright.js`)
|
||||||
|
|
||||||
|
*Tip*: The default Rake task will update all of the above files at once.
|
||||||
|
|
||||||
|
Additionally, the license year is hard-coded in these files and are NOT covered by a Rake task:
|
||||||
|
|
||||||
|
- README.md (this file, near the end)
|
||||||
|
- LICENSE
|
||||||
|
-->
|
||||||
|
|
||||||
|
**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
|
||||||
|
|
||||||
For detailed instructions on how to configure, customize, add/migrate content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
|
For detailed instructions on how to configure, customize, add/migrate content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## 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
|
||||||
|
|
||||||
@@ -160,8 +175,6 @@ To set up your environment to develop this theme, run `bundle install`.
|
|||||||
|
|
||||||
To test the theme, run `bundle exec rake preview` and open your browser at `http://localhost:4000/test/`. This starts a Jekyll server using content in the `test/` directory. As modifications are made to the theme and test site, it will regenerate and you should see the changes in the browser after a refresh.
|
To test the theme, run `bundle exec rake preview` and open your browser at `http://localhost:4000/test/`. This starts a Jekyll server using content in the `test/` directory. As modifications are made to the theme and test site, it will regenerate and you should see the changes in the browser after a refresh.
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Credits
|
## Credits
|
||||||
|
|
||||||
### Creator
|
### Creator
|
||||||
@@ -174,7 +187,7 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
|
|||||||
|
|
||||||
### Icons + Demo Images:
|
### Icons + Demo Images:
|
||||||
|
|
||||||
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
|
- [The Noun Project](https://thenounproject.com) - Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
|
||||||
- [Font Awesome](http://fontawesome.io/)
|
- [Font Awesome](http://fontawesome.io/)
|
||||||
- [Unsplash](https://unsplash.com/)
|
- [Unsplash](https://unsplash.com/)
|
||||||
|
|
||||||
@@ -191,14 +204,13 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
|
|||||||
- [Gumshoe](https://github.com/cferdinandi/gumshoe)
|
- [Gumshoe](https://github.com/cferdinandi/gumshoe)
|
||||||
- [jQuery throttle / debounce](http://benalman.com/projects/jquery-throttle-debounce-plugin/)
|
- [jQuery throttle / debounce](http://benalman.com/projects/jquery-throttle-debounce-plugin/)
|
||||||
- [Lunr](http://lunrjs.com)
|
- [Lunr](http://lunrjs.com)
|
||||||
|
- [Clipboard.js](https://clipboardjs.com)
|
||||||
---
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2013-2020 Michael Rose and contributors
|
Copyright (c) 2013-2024 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
|
||||||
@@ -238,7 +250,7 @@ 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.
|
||||||
@@ -250,7 +262,7 @@ Smooth Scroll is distributed under the terms of the [MIT License](http://opensou
|
|||||||
|
|
||||||
Minimal Mistakes incorporates [Gumshoejs](http://github.com/cferdinandi/gumshoe),
|
Minimal Mistakes incorporates [Gumshoejs](http://github.com/cferdinandi/gumshoe),
|
||||||
Copyright (c) 2019 Chris Ferdinandi.
|
Copyright (c) 2019 Chris Ferdinandi.
|
||||||
Smooth Scroll is distributed under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
Gumshoejs 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/),
|
Minimal Mistakes incorporates [jQuery throttle / debounce](http://benalman.com/projects/jquery-throttle-debounce-plugin/),
|
||||||
Copyright (c) 2010 "Cowboy" Ben Alman.
|
Copyright (c) 2010 "Cowboy" Ben Alman.
|
||||||
@@ -271,3 +283,7 @@ Pure Liquid Jekyll Table of Contents is distributed under the terms of the [MIT
|
|||||||
Minimal Mistakes incorporates [Lunr](http://lunrjs.com),
|
Minimal Mistakes incorporates [Lunr](http://lunrjs.com),
|
||||||
Copyright (c) 2018 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).
|
||||||
|
|
||||||
|
Minimal Mistakes incorporates [clipboard.js](https://clipboardjs.com/),
|
||||||
|
Copyright (c) 2021 Zeno Rocha.
|
||||||
|
Clipboard.js is distributed under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
||||||
|
|||||||
@@ -1,6 +1,15 @@
|
|||||||
require "bundler/gem_tasks"
|
require "bundler/gem_tasks"
|
||||||
require "jekyll"
|
require "jekyll"
|
||||||
|
require "json"
|
||||||
require "listen"
|
require "listen"
|
||||||
|
require "rake/clean"
|
||||||
|
require "shellwords"
|
||||||
|
require "time"
|
||||||
|
require "yaml"
|
||||||
|
|
||||||
|
task :default => %i[copyright changelog js version]
|
||||||
|
|
||||||
|
package_json = JSON.parse(File.read("package.json"))
|
||||||
|
|
||||||
def listen_ignore_paths(base, options)
|
def listen_ignore_paths(base, options)
|
||||||
[
|
[
|
||||||
@@ -65,8 +74,7 @@ task :preview do
|
|||||||
puts " Halting auto-regeneration."
|
puts " Halting auto-regeneration."
|
||||||
exit 0
|
exit 0
|
||||||
end
|
end
|
||||||
|
sleep
|
||||||
loop { sleep 1000 }
|
|
||||||
end
|
end
|
||||||
rescue ThreadError
|
rescue ThreadError
|
||||||
# You pressed Ctrl-C, oh my!
|
# You pressed Ctrl-C, oh my!
|
||||||
@@ -74,3 +82,130 @@ task :preview do
|
|||||||
|
|
||||||
Jekyll::Commands::Serve.process(options)
|
Jekyll::Commands::Serve.process(options)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
task :history => :changelog
|
||||||
|
task :changelog => "docs/_docs/18-history.md"
|
||||||
|
file "docs/_docs/18-history.md" => "CHANGELOG.md" do |t|
|
||||||
|
front_matter = {
|
||||||
|
title: "History",
|
||||||
|
classes: "wide",
|
||||||
|
permalink: "/docs/history/",
|
||||||
|
excerpt: "Change log of enhancements and bug fixes made to the theme.",
|
||||||
|
sidebar: {
|
||||||
|
nav: "docs",
|
||||||
|
},
|
||||||
|
last_modified_at: Time.now.iso8601,
|
||||||
|
toc: false,
|
||||||
|
}
|
||||||
|
# https://stackoverflow.com/a/49553523/5958455
|
||||||
|
front_matter = JSON.parse(JSON.dump(front_matter))
|
||||||
|
File.open(t.name, "w") do |f|
|
||||||
|
f.puts front_matter.to_yaml
|
||||||
|
f.puts "---"
|
||||||
|
f.puts ""
|
||||||
|
f.puts "<!--\n Sourced from CHANGELOG.md\n See Rakefile `task :changelog` for details\n-->"
|
||||||
|
f.puts ""
|
||||||
|
f.puts "{% raw %}"
|
||||||
|
# Remove H1
|
||||||
|
changelog = File.read(t.prerequisites.first)
|
||||||
|
.gsub(/^# [^\n]*$/m, "")
|
||||||
|
.gsub(/\(#(\d+)\)$/m, "[#\\1](https://github.com/mmistakes/minimal-mistakes/issues/\\1)")
|
||||||
|
.strip
|
||||||
|
f.write changelog
|
||||||
|
f.puts ""
|
||||||
|
f.puts "{% endraw %}"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
COPYRIGHT_LINES = [
|
||||||
|
"Minimal Mistakes Jekyll Theme #{package_json["version"]} by Michael Rose",
|
||||||
|
"Copyright 2013-#{Time.now.year} Michael Rose - mademistakes.com | @mmistakes",
|
||||||
|
"Free for personal and commercial use under the MIT license",
|
||||||
|
"https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE",
|
||||||
|
]
|
||||||
|
|
||||||
|
COPYRIGHT_FILES = [
|
||||||
|
"_includes/copyright.html",
|
||||||
|
"_includes/copyright.js",
|
||||||
|
"_sass/minimal-mistakes/_copyright.scss",
|
||||||
|
]
|
||||||
|
|
||||||
|
def genenerate_copyright_file(filename, header, prefix, footer)
|
||||||
|
File.open(filename, "w") do |f|
|
||||||
|
f.puts header
|
||||||
|
COPYRIGHT_LINES.each do |line|
|
||||||
|
f.puts "#{prefix}#{line}"
|
||||||
|
end
|
||||||
|
f.puts footer
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
file "_includes/copyright.html" => "package.json" do |t|
|
||||||
|
genenerate_copyright_file(t.name, "<!--", " ", "-->")
|
||||||
|
end
|
||||||
|
|
||||||
|
file "_includes/copyright.js" => "package.json" do |t|
|
||||||
|
genenerate_copyright_file(t.name, "/*!", " * ", " */")
|
||||||
|
end
|
||||||
|
|
||||||
|
file "_sass/minimal-mistakes/_copyright.scss" => "package.json" do |t|
|
||||||
|
genenerate_copyright_file(t.name, "/*!", " * ", " */")
|
||||||
|
end
|
||||||
|
|
||||||
|
task :copyright => COPYRIGHT_FILES
|
||||||
|
|
||||||
|
CLEAN.include(*COPYRIGHT_FILES)
|
||||||
|
|
||||||
|
JS_FILES = ["assets/js/vendor/jquery/jquery-3.6.0.js"] + Dir.glob("assets/js/plugins/*.js") + ["assets/js/_main.js"]
|
||||||
|
JS_TARGET = "assets/js/main.min.js"
|
||||||
|
task :js => JS_TARGET
|
||||||
|
file JS_TARGET => ["_includes/copyright.js"] + JS_FILES do |t|
|
||||||
|
sh Shellwords.join(%w[npx uglifyjs -c --comments /@mmistakes/ --source-map -m -o] +
|
||||||
|
[t.name] + t.prerequisites)
|
||||||
|
end
|
||||||
|
|
||||||
|
task :watch_js do
|
||||||
|
listener = Listen.to(
|
||||||
|
"assets/js",
|
||||||
|
ignore: /main\.min\.js$/,
|
||||||
|
) do |modified, added, removed|
|
||||||
|
Rake::Task[:js].invoke
|
||||||
|
end
|
||||||
|
|
||||||
|
trap("INT") do
|
||||||
|
listener.stop
|
||||||
|
exit 0
|
||||||
|
end
|
||||||
|
|
||||||
|
begin
|
||||||
|
listener.start
|
||||||
|
sleep
|
||||||
|
rescue ThreadError
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
task :version => ["docs/_data/theme.yml", "README.md", "docs/_pages/home.md"]
|
||||||
|
|
||||||
|
file "docs/_data/theme.yml" => "package.json" do |t|
|
||||||
|
theme = { "version" => package_json["version"] }
|
||||||
|
File.open(t.name, "w") do |f|
|
||||||
|
f.puts "# for use with in-page templates"
|
||||||
|
f.puts theme.to_yaml
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
file "README.md" => "package.json" do |t|
|
||||||
|
content = File.read(t.name)
|
||||||
|
content = content.gsub(/(mmistakes\/minimal-mistakes@)[\d.]+/, '\1' + package_json["version"])
|
||||||
|
File.write(t.name, content)
|
||||||
|
end
|
||||||
|
|
||||||
|
file "docs/_pages/home.md" => "package.json" do |t|
|
||||||
|
content = File.read(t.name)
|
||||||
|
content = content.gsub(/(\breleases\/tag\/|Latest release v)[\d.]+/, '\1' + package_json["version"])
|
||||||
|
File.write(t.name, content)
|
||||||
|
end
|
||||||
|
|
||||||
|
task :gem do
|
||||||
|
sh 'gem build minimal-mistakes-jekyll.gemspec'
|
||||||
|
end
|
||||||
|
|||||||
+53
-21
@@ -16,6 +16,7 @@ minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt"
|
|||||||
|
|
||||||
# Site Settings
|
# Site Settings
|
||||||
locale : "en-US"
|
locale : "en-US"
|
||||||
|
rtl : # true, false (default) # turns direction of the page into right to left for RTL languages
|
||||||
title : "Site Title"
|
title : "Site Title"
|
||||||
title_separator : "-"
|
title_separator : "-"
|
||||||
subtitle : # site tagline that appears below site title in masthead
|
subtitle : # site tagline that appears below site title in masthead
|
||||||
@@ -27,10 +28,13 @@ repository : # GitHub username/repo-name e.g. "mmistakes/minimal-m
|
|||||||
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"
|
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
|
masthead_title : # overrides the website title displayed in the masthead, use " " for no title
|
||||||
# breadcrumbs : false # true, false (default)
|
breadcrumbs : # true, false (default)
|
||||||
words_per_minute : 200
|
words_per_minute : 200
|
||||||
|
enable_copy_code_button : # true, false (default)
|
||||||
|
copyright : # "copyright" name, defaults to site.title
|
||||||
|
copyright_url : # "copyright" URL, defaults to site.url
|
||||||
comments:
|
comments:
|
||||||
provider : # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "custom"
|
provider : # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "giscus", "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:
|
||||||
@@ -43,31 +47,32 @@ comments:
|
|||||||
utterances:
|
utterances:
|
||||||
theme : # "github-light" (default), "github-dark"
|
theme : # "github-light" (default), "github-dark"
|
||||||
issue_term : # "pathname" (default)
|
issue_term : # "pathname" (default)
|
||||||
|
giscus:
|
||||||
|
repo_id : # Shown during giscus setup at https://giscus.app
|
||||||
|
category_name : # Full text name of the category
|
||||||
|
category_id : # Shown during giscus setup at https://giscus.app
|
||||||
|
discussion_term : # "pathname" (default), "url", "title", "og:title"
|
||||||
|
reactions_enabled : # '1' for enabled (default), '0' for disabled
|
||||||
|
theme : # "light" (default), "dark", "dark_dimmed", "transparent_dark", "preferred_color_scheme"
|
||||||
|
strict : # 1 for enabled, 0 for disabled (default)
|
||||||
|
input_position : # "top", "bottom" # The comment input box will be placed above or below the comments
|
||||||
|
emit_metadata : # 1 for enabled, 0 for disabled (default) # https://github.com/giscus/giscus/blob/main/ADVANCED-USAGE.md#imetadatamessage
|
||||||
|
lang : # "en" (default)
|
||||||
|
lazy : # true, false # Loading of the comments will be deferred until the user scrolls near the comments container.
|
||||||
staticman:
|
staticman:
|
||||||
allowedFields : # ['name', 'email', 'url', 'message']
|
|
||||||
branch : # "master"
|
branch : # "master"
|
||||||
commitMessage : # "New comment by {fields.name}"
|
endpoint : # "https://{your Staticman v3 API}/v3/entry/github/"
|
||||||
filename : # comment-{@timestamp}
|
|
||||||
format : # "yml"
|
|
||||||
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"
|
|
||||||
endpoint : # URL of your own deployment with trailing slash, will fallback to the public instance
|
|
||||||
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
|
||||||
|
lunr:
|
||||||
|
search_within_pages : # true, false (default)
|
||||||
algolia:
|
algolia:
|
||||||
application_id : # YOUR_APPLICATION_ID
|
application_id : # YOUR_APPLICATION_ID
|
||||||
index_name : # YOUR_INDEX_NAME
|
index_name : # YOUR_INDEX_NAME
|
||||||
@@ -79,8 +84,9 @@ google:
|
|||||||
# SEO Related
|
# SEO Related
|
||||||
google_site_verification :
|
google_site_verification :
|
||||||
bing_site_verification :
|
bing_site_verification :
|
||||||
yandex_site_verification :
|
|
||||||
naver_site_verification :
|
naver_site_verification :
|
||||||
|
yandex_site_verification :
|
||||||
|
baidu_site_verification :
|
||||||
|
|
||||||
# Social Sharing
|
# Social Sharing
|
||||||
twitter:
|
twitter:
|
||||||
@@ -99,7 +105,7 @@ social:
|
|||||||
|
|
||||||
# Analytics
|
# Analytics
|
||||||
analytics:
|
analytics:
|
||||||
provider : false # false (default), "google", "google-universal", "custom"
|
provider : # false (default), "google", "google-universal", "google-gtag", "custom"
|
||||||
google:
|
google:
|
||||||
tracking_id :
|
tracking_id :
|
||||||
anonymize_ip : # true, false (default)
|
anonymize_ip : # true, false (default)
|
||||||
@@ -115,7 +121,7 @@ author:
|
|||||||
links:
|
links:
|
||||||
- label: "Email"
|
- label: "Email"
|
||||||
icon: "fas fa-fw fa-envelope-square"
|
icon: "fas fa-fw fa-envelope-square"
|
||||||
# url: mailto:your.name@email.com
|
# url: "mailto:your.name@email.com"
|
||||||
- label: "Website"
|
- label: "Website"
|
||||||
icon: "fas fa-fw fa-link"
|
icon: "fas fa-fw fa-link"
|
||||||
# url: "https://your-website.com"
|
# url: "https://your-website.com"
|
||||||
@@ -153,6 +159,7 @@ footer:
|
|||||||
- label: "Instagram"
|
- label: "Instagram"
|
||||||
icon: "fab fa-fw fa-instagram"
|
icon: "fab fa-fw fa-instagram"
|
||||||
# url:
|
# url:
|
||||||
|
since: "2013"
|
||||||
|
|
||||||
|
|
||||||
# Reading Files
|
# Reading Files
|
||||||
@@ -178,6 +185,7 @@ exclude:
|
|||||||
- gulpfile.js
|
- gulpfile.js
|
||||||
- LICENSE
|
- LICENSE
|
||||||
- log
|
- log
|
||||||
|
- minimal-mistakes-jekyll.gemspec
|
||||||
- node_modules
|
- node_modules
|
||||||
- package.json
|
- package.json
|
||||||
- package-lock.json
|
- package-lock.json
|
||||||
@@ -221,9 +229,33 @@ sass:
|
|||||||
|
|
||||||
# Outputting
|
# Outputting
|
||||||
permalink: /:categories/:title/
|
permalink: /:categories/:title/
|
||||||
|
timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||||||
|
|
||||||
|
|
||||||
|
# Pagination with jekyll-paginate
|
||||||
paginate: 5 # amount of posts to show
|
paginate: 5 # amount of posts to show
|
||||||
paginate_path: /page:num/
|
paginate_path: /page:num/
|
||||||
timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
||||||
|
# Pagination with jekyll-paginate-v2
|
||||||
|
# See https://github.com/sverrirs/jekyll-paginate-v2/blob/master/README-GENERATOR.md#site-configuration
|
||||||
|
# for configuration details
|
||||||
|
pagination:
|
||||||
|
# Set enabled to true to use paginate v2
|
||||||
|
# enabled: true
|
||||||
|
debug: false
|
||||||
|
collection: 'posts'
|
||||||
|
per_page: 10
|
||||||
|
permalink: '/page/:num/'
|
||||||
|
title: ':title - page :num'
|
||||||
|
limit: 0
|
||||||
|
sort_field: 'date'
|
||||||
|
sort_reverse: true
|
||||||
|
category: 'posts'
|
||||||
|
tag: ''
|
||||||
|
locale: ''
|
||||||
|
trail:
|
||||||
|
before: 2
|
||||||
|
after: 2
|
||||||
|
|
||||||
|
|
||||||
# Plugins (previously gems:)
|
# Plugins (previously gems:)
|
||||||
|
|||||||
+652
-80
File diff suppressed because it is too large
Load Diff
@@ -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="https://schema.org/CreativeWork">
|
<article class="archive__item" itemscope itemtype="https://schema.org/CreativeWork"{% if post.locale %} lang="{{ post.locale }}"{% endif %}>
|
||||||
{% 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" rel="nofollow noopener noreferrer">
|
<a href="http://link-to-whatever-social-network.com/user/" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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,39 +1,22 @@
|
|||||||
{% 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="https://schema.org/Person">
|
<div itemscope itemtype="https://schema.org/Person" class="h-card">
|
||||||
|
|
||||||
{% if author.avatar %}
|
{% if author.avatar %}
|
||||||
<div class="author__avatar">
|
<div class="author__avatar">
|
||||||
{% if author.avatar contains "://" %}
|
<a href="{{ author.home | default: '/' | absolute_url }}">
|
||||||
{% assign author_src = author.avatar %}
|
<img src="{{ author.avatar | relative_url }}" alt="{{ author.name }}" itemprop="image" class="u-photo">
|
||||||
{% else %}
|
|
||||||
{% assign author_src = author.avatar | relative_url %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if author.home %}
|
|
||||||
{% if author.home contains "://" %}
|
|
||||||
{% assign author_link = author.home %}
|
|
||||||
{% 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 %}
|
|
||||||
<img src="{{ author_src }}" alt="{{ author.name }}" itemprop="image">
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="author__content">
|
<div class="author__content">
|
||||||
{% if author.home %}
|
<h3 class="author__name p-name" itemprop="name">
|
||||||
<a href="{{ author_link }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
|
<a class="u-url" rel="me" href="{{ author.home | default: '/' | absolute_url }}" itemprop="url">{{ author.name }}</a>
|
||||||
{% else %}
|
</h3>
|
||||||
<h3 class="author__name" itemprop="name">{{ author.name }}</h3>
|
|
||||||
{% endif %}
|
|
||||||
{% if author.bio %}
|
{% if author.bio %}
|
||||||
<div class="author__bio" itemprop="description">
|
<div class="author__bio p-note" itemprop="description">
|
||||||
{{ author.bio | markdownify }}
|
{{ author.bio | markdownify }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -44,159 +27,159 @@
|
|||||||
<ul class="author__urls social-icons">
|
<ul class="author__urls social-icons">
|
||||||
{% if author.location %}
|
{% if author.location %}
|
||||||
<li itemprop="homeLocation" itemscope itemtype="https://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" class="p-locality">{{ author.location }}</span>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.links %}
|
{% if author.links %}
|
||||||
{% for link in author.links %}
|
{% for link in author.links %}
|
||||||
{% if link.label and link.url %}
|
{% 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>
|
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer me"{% if link.url contains 'http' %} itemprop="sameAs"{% endif %}><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i><span class="label">{{ link.label }}</span></a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.uri %}
|
{% if author.uri %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ author.uri }}" itemprop="url">
|
<a href="{{ author.uri }}" itemprop="url" rel="me">
|
||||||
<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 %}
|
||||||
|
|
||||||
{% if author.email %}
|
{% if author.email %}
|
||||||
<li>
|
<li>
|
||||||
<a href="mailto:{{ author.email }}">
|
<a href="mailto:{{ author.email }}" rel="me" class="u-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" rel="nofollow noopener noreferrer">
|
<a href="https://keybase.io/{{ author.keybase }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<i class="fas fa-fw fa-key" aria-hidden="true"></i> Keybase
|
<i class="fab fa-fw fa-keybase" 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" rel="nofollow noopener noreferrer">
|
<a href="https://twitter.com/{{ author.twitter }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if author.linkedin %}
|
{% if author.linkedin %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
<a href="https://www.linkedin.com/in/{{ author.linkedin }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://www.xing.com/profile/{{ author.xing }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://instagram.com/{{ author.instagram }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://{{ author.tumblr }}.tumblr.com" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://github.com/{{ author.github }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://gitlab.com/{{ author.gitlab }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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://stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
<a href="https://stackoverflow.com/users/{{ author.stackoverflow }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://last.fm/user/{{ author.lastfm }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://dribbble.com/{{ author.dribbble }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://www.pinterest.com/{{ author.pinterest }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://foursquare.com/{{ author.foursquare }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://steamcommunity.com/id/{{ author.steam }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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 +187,14 @@
|
|||||||
{% if author.youtube %}
|
{% if author.youtube %}
|
||||||
{% if author.youtube contains "://" %}
|
{% if author.youtube contains "://" %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
<a href="{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://www.youtube.com/user/{{ author.youtube }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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 +202,40 @@
|
|||||||
|
|
||||||
{% if author.soundcloud %}
|
{% if author.soundcloud %}
|
||||||
<li>
|
<li>
|
||||||
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs" rel="nofollow noopener noreferrer">
|
<a href="https://soundcloud.com/{{ author.soundcloud }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://www.weibo.com/{{ author.weibo }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://www.flickr.com/{{ author.flickr }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://codepen.io/{{ author.codepen }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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" rel="nofollow noopener noreferrer">
|
<a href="https://vine.co/u/{{ author.vine }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
|
||||||
<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 %}
|
||||||
|
|||||||
@@ -19,17 +19,18 @@
|
|||||||
{% for crumb in crumbs offset: 1 %}
|
{% for crumb in crumbs offset: 1 %}
|
||||||
{% if forloop.first %}
|
{% if forloop.first %}
|
||||||
<li itemprop="itemListElement" itemscope itemtype="https://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="{{ '/' | relative_url }}" 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>
|
||||||
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if forloop.last %}
|
{% if forloop.last %}
|
||||||
<li class="current">{{ page.title }}</li>
|
<li class="current"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign i = i | plus: 1 %}
|
{% assign i = i | plus: 1 %}
|
||||||
<li itemprop="itemListElement" itemscope itemtype="https://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 | url_decode | replace: '-', ' ' | capitalize }}</span></a>
|
||||||
<meta itemprop="position" content="{{ i }}" />
|
<meta itemprop="position" content="{{ i }}" />
|
||||||
</li>
|
</li>
|
||||||
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
<span class="sep">{{ site.data.ui-text[site.locale].breadcrumb_separator | default: "/" }}</span>
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
<!--[if lt IE 9]>
|
|
||||||
<div class="notice--danger align-center" style="margin: 0;">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience.</div>
|
|
||||||
<![endif]-->
|
|
||||||
@@ -6,20 +6,13 @@
|
|||||||
{% 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: '|' %}
|
<a href="{{ category_word | slugify | prepend: path_type | prepend: site.category_archive.path | relative_url }}" class="page__taxonomy-item p-category" rel="tag">{{ category_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
||||||
{% 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 %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
<!-- start custom comments scripts -->
|
||||||
|
|
||||||
|
<!-- end custom comments scripts -->
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
<script>
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
(function () {
|
||||||
|
var commentContainer = document.querySelector('#giscus-comments');
|
||||||
|
|
||||||
|
if (!commentContainer) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var script = document.createElement('script');
|
||||||
|
|
||||||
|
script.setAttribute('src', 'https://giscus.app/client.js');
|
||||||
|
script.setAttribute('data-repo', '{{ site.repository | downcase }}');
|
||||||
|
script.setAttribute('data-repo-id', '{{ site.comments.giscus.repo_id }}');
|
||||||
|
script.setAttribute('data-category', '{{ site.comments.giscus.category_name }}');
|
||||||
|
script.setAttribute('data-category-id', '{{ site.comments.giscus.category_id }}');
|
||||||
|
script.setAttribute('data-mapping', '{{ site.comments.giscus.discussion_term | default: "pathname" }}');
|
||||||
|
script.setAttribute('data-strict', '{{ site.comments.giscus.strict | default: 0 }}');
|
||||||
|
script.setAttribute('data-reactions-enabled', '{{ site.comments.giscus.reactions_enabled | default: 1 }}');
|
||||||
|
script.setAttribute('data-emit-metadata', '{{ site.comments.giscus.emit_metadata | default: 0 }}');
|
||||||
|
script.setAttribute('data-input-position', '{{ site.comments.giscus.input_position | default: "top" }}');
|
||||||
|
script.setAttribute('data-theme', '{{ site.comments.giscus.theme | default: "light" }}');
|
||||||
|
script.setAttribute('data-lang', '{{ site.comments.giscus.lang | default: "en" }}');
|
||||||
|
{% if site.comments.giscus.lazy %}
|
||||||
|
script.setAttribute('data-loading', 'lazy');
|
||||||
|
{% endif %}
|
||||||
|
script.setAttribute('crossorigin', 'anonymous');
|
||||||
|
|
||||||
|
script.setAttribute('async', '');
|
||||||
|
|
||||||
|
commentContainer.appendChild(script);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
@@ -12,7 +12,9 @@
|
|||||||
{% include /comments-providers/staticman_v2.html %}
|
{% include /comments-providers/staticman_v2.html %}
|
||||||
{% when "utterances" %}
|
{% when "utterances" %}
|
||||||
{% include /comments-providers/utterances.html %}
|
{% include /comments-providers/utterances.html %}
|
||||||
|
{% when "giscus" %}
|
||||||
|
{% include /comments-providers/giscus.html %}
|
||||||
{% when "custom" %}
|
{% when "custom" %}
|
||||||
{% include /comments-providers/custom.html %}
|
{% include /comments-providers/custom_scripts.html %}
|
||||||
{% endcase %}
|
{% endcase %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
{% if site.repository and site.staticman.branch %}
|
{% if site.repository and site.comments.staticman.branch %}
|
||||||
<script>
|
<script>
|
||||||
(function ($) {
|
(function ($) {
|
||||||
$('#new_comment').submit(function () {
|
$('#new_comment').submit(function () {
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
script.setAttribute('src', 'https://utteranc.es/client.js');
|
script.setAttribute('src', 'https://utteranc.es/client.js');
|
||||||
script.setAttribute('repo', '{{ site.repository }}');
|
script.setAttribute('repo', '{{ site.repository }}');
|
||||||
script.setAttribute('issue-term', '{{ site.comments.utterances.issue_term | default: "pathname" }}');
|
script.setAttribute('issue-term', '{{ site.comments.utterances.issue_term | default: "pathname" }}');
|
||||||
|
{% if site.comments.utterances.label %}script.setAttribute('label', '{{ site.comments.utterances.label }}');{% endif %}
|
||||||
script.setAttribute('theme', '{{ site.comments.utterances.theme | default: "github-light" }}');
|
script.setAttribute('theme', '{{ site.comments.utterances.theme | default: "github-light" }}');
|
||||||
script.setAttribute('crossorigin', 'anonymous');
|
script.setAttribute('crossorigin', 'anonymous');
|
||||||
|
|
||||||
|
|||||||
+35
-14
@@ -17,14 +17,23 @@
|
|||||||
<div class="js-comments">
|
<div class="js-comments">
|
||||||
{% if site.data.comments[page.slug] %}
|
{% if site.data.comments[page.slug] %}
|
||||||
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4>
|
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4>
|
||||||
{% assign comments = site.data.comments[page.slug] | sort %}
|
{% assign comments = site.data.comments[page.slug] %}
|
||||||
|
|
||||||
|
<!-- In order to sort by date we must have an array of objects, not an array of arrays, so
|
||||||
|
create a new array of plain comment objects and then sort by the comment date. -->
|
||||||
|
{% assign commentObjects = '' | split: '' %}
|
||||||
|
{% for comment in comments %}
|
||||||
|
{% assign commentObject = comment[1] %}
|
||||||
|
{% assign commentObjects = commentObjects | push: commentObject %}
|
||||||
|
{% endfor %}
|
||||||
|
{% assign comments = commentObjects | sort: "date" %}
|
||||||
|
|
||||||
{% for comment in comments %}
|
{% for comment in comments %}
|
||||||
{% assign email = comment[1].email %}
|
{% assign email = comment.email %}
|
||||||
{% assign name = comment[1].name %}
|
{% assign name = comment.name %}
|
||||||
{% assign url = comment[1].url %}
|
{% assign url = comment.url %}
|
||||||
{% assign date = comment[1].date %}
|
{% assign date = comment.date %}
|
||||||
{% assign message = comment[1].message %}
|
{% assign message = comment.message %}
|
||||||
{% include comment.html index=forloop.index email=email name=name url=url date=date message=message %}
|
{% include comment.html index=forloop.index email=email name=name url=url date=date message=message %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -35,7 +44,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="{{ site.comments.staticman.endpoint | default: 'https://api.staticman.net/v2/entry/' }}{{ site.repository }}/{{ site.comments.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>
|
||||||
@@ -91,14 +100,23 @@
|
|||||||
<div class="js-comments">
|
<div class="js-comments">
|
||||||
{% if site.data.comments[page.slug] %}
|
{% if site.data.comments[page.slug] %}
|
||||||
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4>
|
<h4 class="page__comments-title">{{ site.data.ui-text[site.locale].comments_title | default: "Comments" }}</h4>
|
||||||
{% assign comments = site.data.comments[page.slug] | sort %}
|
{% assign comments = site.data.comments[page.slug] %}
|
||||||
|
|
||||||
|
<!-- In order to sort by date we must have an array of objects, not an array of arrays, so
|
||||||
|
create a new array of plain comment objects and then sort by the comment date. -->
|
||||||
|
{% assign commentObjects = '' | split: '' %}
|
||||||
|
{% for comment in comments %}
|
||||||
|
{% assign commentObject = comment[1] %}
|
||||||
|
{% assign commentObjects = commentObjects | push: commentObject %}
|
||||||
|
{% endfor %}
|
||||||
|
{% assign comments = commentObjects | sort: "date" %}
|
||||||
|
|
||||||
{% for comment in comments %}
|
{% for comment in comments %}
|
||||||
{% assign email = comment[1].email %}
|
{% assign email = comment.email %}
|
||||||
{% assign name = comment[1].name %}
|
{% assign name = comment.name %}
|
||||||
{% assign url = comment[1].url %}
|
{% assign url = comment.url %}
|
||||||
{% assign date = comment[1].date %}
|
{% assign date = comment.date %}
|
||||||
{% assign message = comment[1].message %}
|
{% assign message = comment.message %}
|
||||||
{% include comment.html index=forloop.index email=email name=name url=url date=date message=message %}
|
{% include comment.html index=forloop.index email=email name=name url=url date=date message=message %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@@ -153,7 +171,10 @@
|
|||||||
{% when "utterances" %}
|
{% when "utterances" %}
|
||||||
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
<section id="utterances-comments"></section>
|
<section id="utterances-comments"></section>
|
||||||
|
{% when "giscus" %}
|
||||||
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
||||||
|
<section id="giscus-comments"></section>
|
||||||
{% when "custom" %}
|
{% when "custom" %}
|
||||||
<section id="custom-comments"></section>
|
{% include /comments-providers/custom.html %}
|
||||||
{% endcase %}
|
{% endcase %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<!--
|
||||||
|
Minimal Mistakes Jekyll Theme 4.27.1 by Michael Rose
|
||||||
|
Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
|
||||||
|
Free for personal and commercial use under the MIT license
|
||||||
|
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
||||||
|
-->
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/*!
|
||||||
|
* Minimal Mistakes Jekyll Theme 4.27.1 by Michael Rose
|
||||||
|
* Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
|
||||||
|
* Free for personal and commercial use under the MIT license
|
||||||
|
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
||||||
|
*/
|
||||||
@@ -1,19 +1,13 @@
|
|||||||
{% assign entries = site[include.collection] %}
|
{% assign entries = include.entries | default: site[include.collection] | where_exp: "post", "post.hidden != true" %}
|
||||||
|
|
||||||
{% 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 %}
|
|
||||||
{% else %}
|
|
||||||
{% assign entries = entries | sort: 'title' %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elsif include.sort_by == 'date' %}
|
|
||||||
{% if include.sort_order == 'reverse' %}
|
{% if include.sort_order == 'reverse' %}
|
||||||
{% assign entries = entries | sort: 'date' | reverse %}
|
{% assign entries = entries | reverse %}
|
||||||
{% else %}
|
|
||||||
{% assign entries = entries | sort: 'date' %}
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{%- for post in entries -%}
|
{%- for post in entries -%}
|
||||||
{% include archive-single.html %}
|
{% include archive-single.html type=include.type %}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|||||||
+2
-14
@@ -7,23 +7,11 @@
|
|||||||
<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 "://" %}
|
|
||||||
"{{ f.image_path }}"
|
|
||||||
{% else %}
|
|
||||||
"{{ f.image_path | relative_url }}"
|
|
||||||
{% endif %}
|
|
||||||
alt="{% if f.alt %}{{ f.alt }}{% 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>
|
||||||
@@ -43,7 +31,7 @@
|
|||||||
{% 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>
|
||||||
|
|||||||
+8
-9
@@ -1,12 +1,11 @@
|
|||||||
<figure class="{{ include.class }}">
|
<figure class="{{ include.class }}">
|
||||||
<img src=
|
{%- if include.popup -%}<a href="{{ include.image_path | relative_url }}" class="image-popup"{% if include.caption %} title="{{ include.caption | markdownify | strip_html }}"{% endif %}>{%- endif -%}
|
||||||
{% if include.image_path contains "://" %}
|
<img src="{{ include.image_path | relative_url }}"
|
||||||
"{{ include.image_path }}"
|
alt="{% if include.alt %}{{ include.alt | escape_once }}{% endif %}">
|
||||||
{% else %}
|
{%- if include.popup -%}</a>{%- endif -%}
|
||||||
"{{ include.image_path | relative_url }}"
|
{%- if include.caption -%}
|
||||||
{% endif %}
|
|
||||||
alt="{% if include.alt %}{{ include.alt }}{% endif %}">
|
|
||||||
{% if include.caption %}
|
|
||||||
<figcaption>
|
<figcaption>
|
||||||
{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}
|
{{ include.caption | markdownify | remove: "<p>" | remove: "</p>" }}
|
||||||
</figcaption>{% endif %}</figure>
|
</figcaption>
|
||||||
|
{%- endif -%}
|
||||||
|
</figure>
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
{% unless site.atom_feed.hide %}
|
||||||
|
{% assign show_atom = true %}
|
||||||
|
{% endunless %}
|
||||||
|
{% if site.footer.links or show_atom %}
|
||||||
<div class="page__footer-follow">
|
<div class="page__footer-follow">
|
||||||
<ul class="social-icons">
|
<ul class="social-icons">
|
||||||
{% if site.data.ui-text[site.locale].follow_label %}
|
{% if site.data.ui-text[site.locale].follow_label %}
|
||||||
@@ -7,13 +11,16 @@
|
|||||||
{% if site.footer.links %}
|
{% if site.footer.links %}
|
||||||
{% for link in site.footer.links %}
|
{% for link in site.footer.links %}
|
||||||
{% if link.label and link.url %}
|
{% 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>
|
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label | escape_once | strip }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% unless site.atom_feed.hide %}
|
||||||
<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>
|
<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>
|
||||||
|
{% endunless %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="page__footer-copyright">© {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> & <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
|
<div class="page__footer-copyright">© {% assign site_time = site.time | date: '%Y' %}{% if site.footer.since and site_time != site.footer.since %}{{ site.footer.since }} - {% endif %}{{ site_time }} <a href="{{ site.copyright_url | default: site.url }}">{{ site.copyright | default: site.title | escape_once | strip }}</a>. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> & <a href="https://mademistakes.com/work/jekyll-themes/minimal-mistakes/" rel="nofollow">Minimal Mistakes</a>.</div>
|
||||||
|
|||||||
+4
-20
@@ -19,29 +19,13 @@
|
|||||||
<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 %}
|
|
||||||
"{{ 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 %}">
|
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 "://" %}
|
|
||||||
"{{ img.image_path }}"
|
|
||||||
{% else %}
|
|
||||||
"{{ img.image_path | relative_url }}"
|
|
||||||
{% endif %}
|
|
||||||
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
alt="{% if img.alt %}{{ img.alt }}{% endif %}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
+9
-22
@@ -2,40 +2,27 @@
|
|||||||
|
|
||||||
{% include seo.html %}
|
{% include seo.html %}
|
||||||
|
|
||||||
|
{% 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">
|
<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 %}
|
||||||
|
|
||||||
<!-- https://t.co/dKP3o1e -->
|
{%- comment %} https://docs.google.com/presentation/d/1rmxwWa9P6_xHqonmh5ONXRS-jPc5XKbnv99Rjkhe04s/present {% endcomment -%}
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
|
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/g, '') + ' js ';
|
||||||
|
{% if site.enable_copy_code_button -%}
|
||||||
|
window.enable_copy_code_button = true;
|
||||||
|
{%- endif %}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- 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="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@latest/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
|
||||||
<!--[if IE]>
|
<noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@latest/css/all.min.css"></noscript>
|
||||||
<style>
|
|
||||||
/* old IE unsupported flexbox fixes */
|
|
||||||
.greedy-nav .site-title {
|
|
||||||
padding-right: 3em;
|
|
||||||
}
|
|
||||||
.greedy-nav button {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
{% 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 %}
|
||||||
|
|||||||
+9
-16
@@ -1,38 +1,31 @@
|
|||||||
{% if site.logo contains "://" %}
|
|
||||||
{% capture logo_path %}{{ site.logo }}{% endcapture %}
|
{% capture logo_path %}{{ site.logo }}{% endcapture %}
|
||||||
{% else %}
|
|
||||||
{% capture logo_path %}{{ site.logo | relative_url }}{% endcapture %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<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">
|
||||||
{% unless logo_path == empty %}
|
{% unless logo_path == empty %}
|
||||||
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt=""></a>
|
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt="{{ site.masthead_title | default: site.title }}"></a>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
<a class="site-title" href="{{ '/' | relative_url }}">
|
<a class="site-title" href="{{ '/' | relative_url }}">
|
||||||
{{ site.masthead_title | default: site.title }}
|
{{ site.masthead_title | default: site.title | escape_once | strip }}
|
||||||
{% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle }}</span>{% endif %}
|
{% if site.subtitle %}<span class="site-subtitle">{{ site.subtitle | escape_once | strip }}</span>{% endif %}
|
||||||
</a>
|
</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 %}
|
||||||
|
{% if link.target %} target="{{ link.target }}"{% 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>
|
<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">
|
<i class="fas fa-search"></i>
|
||||||
<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>
|
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<button class="greedy-nav__toggle hidden" type="button">
|
<button class="greedy-nav__toggle hidden" type="button">
|
||||||
|
|||||||
+5
-25
@@ -1,21 +1,14 @@
|
|||||||
{% assign navigation = site.data.navigation[include.nav] %}
|
|
||||||
|
|
||||||
<nav class="nav__list">
|
<nav class="nav__list">
|
||||||
{% if page.sidebar.title %}<h3 class="nav__title" style="padding-left: 0;">{{ page.sidebar.title }}</h3>{% endif %}
|
{% if page.sidebar.title %}<h3 class="nav__title" style="padding-left: 0;">{{ page.sidebar.title }}</h3>{% endif %}
|
||||||
<input id="ac-toc" name="accordion-toc" type="checkbox" />
|
<input id="ac-toc" name="accordion-toc" type="checkbox" />
|
||||||
<label for="ac-toc">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle Menu" }}</label>
|
<label for="ac-toc">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle Menu" }}</label>
|
||||||
<ul class="nav__items">
|
<ul class="nav__items">
|
||||||
|
{% for navname in include.nav %}
|
||||||
|
{% assign navigation = site.data.navigation[navname] %}
|
||||||
{% 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,12 @@
|
|||||||
{% 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 %}
|
||||||
|
{% 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 class="dt-published" 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 class="dt-published" datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: date_format }}</time></p>
|
||||||
|
{% endif %}
|
||||||
+10
-31
@@ -1,25 +1,13 @@
|
|||||||
{% if page.header.image contains "://" %}
|
|
||||||
{% capture img_path %}{{ page.header.image }}{% endcapture %}
|
|
||||||
{% else %}
|
|
||||||
{% capture img_path %}{{ page.header.image | relative_url }}{% endcapture %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if page.header.cta_url contains "://" %}
|
|
||||||
{% 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 %}
|
{% capture overlay_img_path %}{{ page.header.overlay_image | relative_url }}{% endcapture %}
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if page.header.overlay_filter contains "rgba" %}
|
{% if page.header.overlay_filter contains "gradient" %}
|
||||||
{% 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">
|
||||||
@@ -47,26 +35,17 @@
|
|||||||
{% elsif page.header.show_overlay_excerpt != false and page.excerpt %}
|
{% 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 %}
|
|
||||||
<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>
|
|
||||||
{% endif %}
|
|
||||||
{% if page.header.actions %}
|
{% if page.header.actions %}
|
||||||
<p>
|
<p>
|
||||||
{% for action in page.header.actions %}
|
{% for action in page.header.actions %}
|
||||||
{% if action.url contains "://" %}
|
<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>
|
||||||
{% assign url = action.url %}
|
|
||||||
{% else %}
|
|
||||||
{% assign url = action.url | relative_url %}
|
|
||||||
{% endif %}
|
|
||||||
<a href="{{ url }}" class="btn btn--light-outline btn--large">{{ action.label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
</p>
|
||||||
{% 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 %}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{% assign posts = include.posts | where_exp: "post", "post.hidden != true" %}
|
||||||
|
<div class="page__related">
|
||||||
|
{% include before-related.html %}
|
||||||
|
<h2 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h2>
|
||||||
|
<div class="grid__wrapper">
|
||||||
|
{% for post in posts limit:4 %}
|
||||||
|
{% if post.id == page.id %}{% continue %}{% endif %}
|
||||||
|
{% include archive-single.html type="grid" %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
@@ -0,0 +1,70 @@
|
|||||||
|
{% if paginator.total_pages > 1 %}
|
||||||
|
<nav class="pagination">
|
||||||
|
{% assign paginate_path_last = site.paginate_path | split: '/' | last %}
|
||||||
|
{% assign first_page_path = paginator.first_page_path | default: site.paginate_path | replace: paginate_path_last, '' | replace: '//', '/' | relative_url %}
|
||||||
|
<ul>
|
||||||
|
{% comment %} Link for previous page {% endcomment %}
|
||||||
|
{% if paginator.previous_page %}
|
||||||
|
{% if paginator.previous_page == 1 %}
|
||||||
|
<li><a href="{{ first_page_path }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
||||||
|
{% else %}
|
||||||
|
<li><a href="{{ site.paginate_path | replace: ':num', paginator.previous_page | replace: '//', '/' | relative_url }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
||||||
|
{% endif %}
|
||||||
|
{% else %}
|
||||||
|
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</span></a></li>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% comment %} First page {% endcomment %}
|
||||||
|
{% if paginator.page == 1 %}
|
||||||
|
<li><a href="#" class="disabled current">1</a></li>
|
||||||
|
{% else %}
|
||||||
|
<li><a href="{{ first_page_path }}">1</a></li>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% assign page_start = 2 %}
|
||||||
|
{% if paginator.page > 4 %}
|
||||||
|
{% assign page_start = paginator.page | minus: 2 %}
|
||||||
|
{% comment %} Ellipsis for truncated links {% endcomment %}
|
||||||
|
<li><a href="#" class="disabled">…</a></li>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% assign page_end = paginator.total_pages | minus: 1 %}
|
||||||
|
{% assign pages_to_end = paginator.total_pages | minus: paginator.page %}
|
||||||
|
{% if pages_to_end > 4 %}
|
||||||
|
{% assign page_end = paginator.page | plus: 2 %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% for index in (page_start..page_end) %}
|
||||||
|
{% if index == paginator.page %}
|
||||||
|
<li><a href="{{ site.paginate_path | replace: ':num', index | replace: '//', '/' | relative_url }}" class="disabled current">{{ index }}</a></li>
|
||||||
|
{% else %}
|
||||||
|
{% comment %} Distance from current page and this link {% endcomment %}
|
||||||
|
{% assign dist = paginator.page | minus: index %}
|
||||||
|
{% if dist < 0 %}
|
||||||
|
{% comment %} Distance must be a positive value {% endcomment %}
|
||||||
|
{% assign dist = 0 | minus: dist %}
|
||||||
|
{% endif %}
|
||||||
|
<li><a href="{{ site.paginate_path | replace: ':num', index | relative_url }}">{{ index }}</a></li>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% comment %} Ellipsis for truncated links {% endcomment %}
|
||||||
|
{% if pages_to_end > 3 %}
|
||||||
|
<li><a href="#" class="disabled">…</a></li>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if paginator.page == paginator.total_pages %}
|
||||||
|
<li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
|
||||||
|
{% else %}
|
||||||
|
<li><a href="{{ site.paginate_path | replace: ':num', paginator.total_pages | replace: '//', '/' | relative_url }}">{{ paginator.total_pages }}</a></li>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% comment %} Link next page {% endcomment %}
|
||||||
|
{% if paginator.next_page %}
|
||||||
|
<li><a href="{{ site.paginate_path | replace: ':num', paginator.next_page | replace: '//', '/' | relative_url }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li>
|
||||||
|
{% else %}
|
||||||
|
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</span></a></li>
|
||||||
|
{% endif %}
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
{% endif %}
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
<nav class="pagination">
|
||||||
|
<ul>
|
||||||
|
{% comment %} Link for previous page {% endcomment %}
|
||||||
|
{% if paginator.previous_page %}
|
||||||
|
{% if paginator.previous_page == 1 %}
|
||||||
|
<li><a href="{{ paginator.first_page_path | relative_url }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
||||||
|
{% else %}
|
||||||
|
<li><a href="{{ paginator.previous_page_path | relative_url }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
||||||
|
{% endif %}
|
||||||
|
{% else %}
|
||||||
|
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</span></a></li>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% comment %} Determine whether the first page and the last page are already included in trail {% endcomment %}
|
||||||
|
{% for trail in paginator.page_trail %}
|
||||||
|
{% if trail.num == paginator.first_page %}
|
||||||
|
{% assign has_first_page = true %}
|
||||||
|
{% elsif trail.num == paginator.last_page %}
|
||||||
|
{% assign has_last_page = true %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% comment %} First page {% endcomment %}
|
||||||
|
{% unless has_first_page %}
|
||||||
|
{% if paginator.page == 1 %}
|
||||||
|
<li><a href="#" class="disabled current">1</a></li>
|
||||||
|
{% else %}
|
||||||
|
<li><a href="{{ paginator.first_page_path | relative_url }}">1</a></li>
|
||||||
|
{% endif %}
|
||||||
|
{% endunless %}
|
||||||
|
|
||||||
|
{% comment %} Ellipsis for truncated links {% endcomment %}
|
||||||
|
{% assign ellipsis_start = paginator.first_page | plus: 1 %}
|
||||||
|
{% if paginator.page_trail.first.num > ellipsis_start %}
|
||||||
|
<li><a href="#" class="disabled">…</a></li>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% comment %} Main pagination trail {% endcomment %}
|
||||||
|
{% for trail in paginator.page_trail %}
|
||||||
|
{% if paginator.page == trail.num %}
|
||||||
|
<li><a href="{{ trail.path | remove: 'index.html' | relative_url }}" class="disabled current">{{ trail.num }}</a></li>
|
||||||
|
{% else %}
|
||||||
|
<li><a href="{{ trail.path | remove: 'index.html' | relative_url }}">{{ trail.num }}</a></li>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% comment %} Ellipsis for truncated links {% endcomment %}
|
||||||
|
{% assign ellipsis_end = paginator.last_page | minus: 1 %}
|
||||||
|
{% if paginator.page_trail.last.num < ellipsis_end %}
|
||||||
|
<li><a href="#" class="disabled">…</a></li>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% unless has_last_page %}
|
||||||
|
{% if paginator.page == paginator.total_pages %}
|
||||||
|
<li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
|
||||||
|
{% else %}
|
||||||
|
<li><a href="{{ paginator.last_page_path | remove: 'index.html' | relative_url }}">{{ paginator.total_pages }}</a></li>
|
||||||
|
{% endif %}
|
||||||
|
{% endunless %}
|
||||||
|
|
||||||
|
{% comment %} Link next page {% endcomment %}
|
||||||
|
{% if paginator.next_page %}
|
||||||
|
<li><a href="{{ paginator.next_page_path | remove: 'index.html' | relative_url }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li>
|
||||||
|
{% else %}
|
||||||
|
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</span></a></li>
|
||||||
|
{% endif %}
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
@@ -1,69 +1,7 @@
|
|||||||
{% if paginator.total_pages > 1 %}
|
{% if paginator.total_pages > 1 %}
|
||||||
<nav class="pagination">
|
{% if site.paginate %}
|
||||||
{% assign first_page_path = site.paginate_path | replace: 'page:num', '' | replace: '//', '/' | relative_url %}
|
{% include paginator-v1.html %}
|
||||||
<ul>
|
{% elsif site.pagination.enabled %}
|
||||||
{% comment %} Link for previous page {% endcomment %}
|
{% include paginator-v2.html %}
|
||||||
{% if paginator.previous_page %}
|
|
||||||
{% if paginator.previous_page == 1 %}
|
|
||||||
<li><a href="{{ first_page_path }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
|
||||||
{% else %}
|
|
||||||
<li><a href="{{ site.paginate_path | replace: ':num', paginator.previous_page | replace: '//', '/' | relative_url }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a></li>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
|
||||||
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</span></a></li>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% comment %} First page {% endcomment %}
|
|
||||||
{% if paginator.page == 1 %}
|
|
||||||
<li><a href="#" class="disabled current">1</a></li>
|
|
||||||
{% else %}
|
|
||||||
<li><a href="{{ first_page_path }}">1</a></li>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% assign page_start = 2 %}
|
|
||||||
{% if paginator.page > 4 %}
|
|
||||||
{% assign page_start = paginator.page | minus: 2 %}
|
|
||||||
{% comment %} Ellipsis for truncated links {% endcomment %}
|
|
||||||
<li><a href="#" class="disabled">…</a></li>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% assign page_end = paginator.total_pages | minus: 1 %}
|
|
||||||
{% assign pages_to_end = paginator.total_pages | minus: paginator.page %}
|
|
||||||
{% if pages_to_end > 4 %}
|
|
||||||
{% assign page_end = paginator.page | plus: 2 %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% for index in (page_start..page_end) %}
|
|
||||||
{% if index == paginator.page %}
|
|
||||||
<li><a href="{{ site.paginate_path | replace: ':num', index | replace: '//', '/' | relative_url }}" class="disabled current">{{ index }}</a></li>
|
|
||||||
{% else %}
|
|
||||||
{% comment %} Distance from current page and this link {% endcomment %}
|
|
||||||
{% assign dist = paginator.page | minus: index %}
|
|
||||||
{% if dist < 0 %}
|
|
||||||
{% comment %} Distance must be a positive value {% endcomment %}
|
|
||||||
{% assign dist = 0 | minus: dist %}
|
|
||||||
{% endif %}
|
|
||||||
<li><a href="{{ site.paginate_path | replace: ':num', index | relative_url }}">{{ index }}</a></li>
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% comment %} Ellipsis for truncated links {% endcomment %}
|
|
||||||
{% if pages_to_end > 3 %}
|
|
||||||
<li><a href="#" class="disabled">…</a></li>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if paginator.page == paginator.total_pages %}
|
|
||||||
<li><a href="#" class="disabled current">{{ paginator.page }}</a></li>
|
|
||||||
{% else %}
|
|
||||||
<li><a href="{{ site.paginate_path | replace: ':num', paginator.total_pages | replace: '//', '/' | relative_url }}">{{ paginator.total_pages }}</a></li>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% comment %} Link next page {% endcomment %}
|
|
||||||
{% if paginator.next_page %}
|
|
||||||
<li><a href="{{ site.paginate_path | replace: ':num', paginator.next_page | replace: '//', '/' | relative_url }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a></li>
|
|
||||||
{% else %}
|
|
||||||
<li><a href="#" class="disabled"><span aria-hidden="true">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</span></a></li>
|
|
||||||
{% endif %}
|
|
||||||
</ul>
|
|
||||||
</nav>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{% if page.previous or page.next %}
|
{% if page.previous or page.next %}
|
||||||
<nav class="pagination">
|
<nav class="pagination">
|
||||||
{% if page.previous %}
|
{% if page.previous %}
|
||||||
<a href="{{ page.previous.url | relative_url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
|
<a href="{{ page.previous.url | relative_url }}" class="pagination--pager" title="{{ page.previous.title | markdownify | strip_html | strip}}">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
|
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_previous | default: "Previous" }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.next %}
|
{% if page.next %}
|
||||||
<a href="{{ page.next.url | relative_url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html }}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
<a href="{{ page.next.url | relative_url }}" class="pagination--pager" title="{{ page.next.title | markdownify | strip_html | strip}}">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
<a href="#" class="pagination--pager disabled">{{ site.data.ui-text[site.locale].pagination_next | default: "Next" }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
{%- for post in site.categories[include.taxonomy] -%}
|
{% assign posts = site.categories[include.taxonomy] | where_exp: "post", "post.hidden != true" %}
|
||||||
|
{%- for post in posts -%}
|
||||||
{% include archive-single.html %}
|
{% include archive-single.html %}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
{%- for post in site.tags[include.taxonomy] -%}
|
{% assign posts = site.tags[include.taxonomy] | where_exp: "post", "post.hidden != true" %}
|
||||||
|
{%- for post in posts -%}
|
||||||
{% include archive-single.html %}
|
{% include archive-single.html %}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
|
|||||||
@@ -0,0 +1,37 @@
|
|||||||
|
{% assign items_max = 0 %}
|
||||||
|
{% for item in include.taxonomies %}
|
||||||
|
{% if item[1].size > items_max %}
|
||||||
|
{% assign items_max = item[1].size %}
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
<ul class="taxonomy__index">
|
||||||
|
{% for i in (1..items_max) reversed %}
|
||||||
|
{% for item in include.taxonomies %}
|
||||||
|
{% if item[1].size == i %}
|
||||||
|
<li>
|
||||||
|
<a href="#{{ item[0] | slugify }}">
|
||||||
|
<strong>{{ item[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
{% assign entries_layout = page.entries_layout | default: 'list' %}
|
||||||
|
{% for i in (1..items_max) reversed %}
|
||||||
|
{% for taxonomy in include.taxonomies %}
|
||||||
|
{% if taxonomy[1].size == i %}
|
||||||
|
<section id="{{ taxonomy[0] | slugify }}" class="taxonomy__section">
|
||||||
|
<h2 class="archive__subtitle">{{ taxonomy[0] }}</h2>
|
||||||
|
<div class="entries-{{ entries_layout }}">
|
||||||
|
{% for post in taxonomy.last %}
|
||||||
|
{% include archive-single.html type=entries_layout %}
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
||||||
|
</section>
|
||||||
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endfor %}
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
{% assign words_per_minute = page.words_per_minute | default: 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 %}
|
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
<script type="application/ld+json">
|
||||||
|
{
|
||||||
|
"@context": "https://schema.org",
|
||||||
|
{% if site.social.type == "Organization" -%}
|
||||||
|
"@type": "Organization",
|
||||||
|
"url": {{ '/' | absolute_url | jsonify }}{% if site.og_image %},
|
||||||
|
"logo": {{ site_og_image | jsonify }}{% endif %}{% if site.social.links %},
|
||||||
|
"sameAs": {{ site.social.links | jsonify }}{% endif %}
|
||||||
|
{%- else -%}
|
||||||
|
"@type": "Person",
|
||||||
|
"name": {{ site.social.name | default: site.name | jsonify }},
|
||||||
|
"url": {{ '/' | absolute_url | jsonify }}{% if site.social.links %},
|
||||||
|
"sameAs": {{ site.social.links | jsonify }}{% endif %}
|
||||||
|
{%- endif %}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
+2
-13
@@ -1,15 +1,9 @@
|
|||||||
{% 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://kit.fontawesome.com/4eee35f757.js"></script>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if site.search == true or page.layout == "search" %}
|
{% if site.search == true or page.layout == "search" %}
|
||||||
@@ -29,11 +23,6 @@
|
|||||||
|
|
||||||
{% if site.after_footer_scripts %}
|
{% if site.after_footer_scripts %}
|
||||||
{% for script in site.after_footer_scripts %}
|
{% for script in site.after_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 %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,26 +1,34 @@
|
|||||||
<!-- Including InstantSearch.js library and styling -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.js"></script>
|
|
||||||
<link rel="stylesheet" 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-theme-algolia.min.css">
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Instanciating InstantSearch.js with Algolia credentials
|
// Including InstantSearch.js library and styling
|
||||||
|
const loadSearch = function() {
|
||||||
|
const loadCSS = function(src) {
|
||||||
|
var link = document.createElement('link');
|
||||||
|
link.rel = 'stylesheet';
|
||||||
|
link.type = 'text/css';
|
||||||
|
link.href = src;
|
||||||
|
link.media = 'all';
|
||||||
|
document.head.appendChild(link);
|
||||||
|
};
|
||||||
|
|
||||||
|
var script = document.createElement('script');
|
||||||
|
script.setAttribute("type", "text/javascript");
|
||||||
|
script.setAttribute("src", "https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.js");
|
||||||
|
script.addEventListener("load", function() {
|
||||||
|
// Instantiating InstantSearch.js with Algolia credentials
|
||||||
const search = instantsearch({
|
const search = instantsearch({
|
||||||
appId: '{{ site.algolia.application_id }}',
|
appId: '{{ site.algolia.application_id }}',
|
||||||
apiKey: '{{ site.algolia.search_only_api_key }}',
|
apiKey: '{{ site.algolia.search_only_api_key }}',
|
||||||
indexName: '{{ site.algolia.index_name }}',
|
indexName: '{{ site.algolia.index_name }}',
|
||||||
searchParameters: {
|
searchParameters: {
|
||||||
restrictSearchableAttributes: [
|
restrictSearchableAttributes: ['title', 'content']
|
||||||
'title',
|
|
||||||
'content'
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const hitTemplate = function(hit) {
|
const hitTemplate = function(hit) {
|
||||||
const url = hit.url;
|
const url = hit.url;
|
||||||
const title = hit._highlightResult.title.value;
|
const hightlight = hit._highlightResult;
|
||||||
const content = hit._highlightResult.html.value;
|
const title = hightlight.title && hightlight.title.value || "";
|
||||||
|
const content = hightlight.html && hightlight.html.value || "";
|
||||||
|
|
||||||
return `
|
return `
|
||||||
<div class="list__item">
|
<div class="list__item">
|
||||||
@@ -44,11 +52,31 @@ 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
|
if (!search.started) {
|
||||||
search.start();
|
search.start();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
document.body.appendChild(script);
|
||||||
|
|
||||||
|
loadCSS("https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch.min.css");
|
||||||
|
loadCSS("https://cdn.jsdelivr.net/npm/instantsearch.js@2.3.3/dist/instantsearch-theme-algolia.min.css");
|
||||||
|
};
|
||||||
|
|
||||||
|
// Starting the search only when toggle is clicked
|
||||||
|
$(document).ready(function() {
|
||||||
|
var scriptLoaded = false;
|
||||||
|
|
||||||
|
$(".search__toggle").on("click", function() {
|
||||||
|
if (!scriptLoaded) {
|
||||||
|
loadSearch();
|
||||||
|
scriptLoaded = true;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{%- 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" -%}
|
||||||
<form class="search-content__form" onkeydown="return event.key != 'Enter';">
|
<form class="search-content__form" onkeydown="return event.key != 'Enter';" role="search">
|
||||||
<label class="sr-only" for="search">
|
<label class="sr-only" for="search">
|
||||||
{{ site.data.ui-text[site.locale].search_label_text | default: 'Enter your search term...' }}
|
{{ site.data.ui-text[site.locale].search_label_text | default: 'Enter your search term...' }}
|
||||||
</label>
|
</label>
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
</form>
|
</form>
|
||||||
<div id="results" class="results"></div>
|
<div id="results" class="results"></div>
|
||||||
{%- when "google" -%}
|
{%- when "google" -%}
|
||||||
<form onsubmit="return googleCustomSearchExecute();" id="cse-search-box-form-id">
|
<form onsubmit="return googleCustomSearchExecute();" id="cse-search-box-form-id" role="search">
|
||||||
<label class="sr-only" for="cse-search-input-box-id">
|
<label class="sr-only" for="cse-search-input-box-id">
|
||||||
{{ site.data.ui-text[site.locale].search_label_text | default: 'Enter your search term...' }}
|
{{ site.data.ui-text[site.locale].search_label_text | default: 'Enter your search term...' }}
|
||||||
</label>
|
</label>
|
||||||
|
|||||||
+25
-52
@@ -1,28 +1,21 @@
|
|||||||
<!-- begin _includes/seo.html -->
|
<!-- begin _includes/seo.html -->
|
||||||
{%- if site.url -%}
|
{%- assign title_separator = site.title_separator | default: '-' -%}
|
||||||
{%- assign seo_url = site.url | append: site.baseurl -%}
|
|
||||||
{%- endif -%}
|
|
||||||
{%- assign seo_url = seo_url | default: site.github.url -%}
|
|
||||||
|
|
||||||
{% assign title_separator = site.title_separator | default: '-' | replace: '|', '|' %}
|
{%- assign page_title = page.title | default: site.title | replace: '|', '|' -%}
|
||||||
|
{%- if page_title contains site.title -%}
|
||||||
{%- if page.title -%}
|
{%- assign seo_title = page_title | replace: '|', '|' -%}
|
||||||
{%- assign seo_title = page.title | append: " " | append: title_separator | append: " " | append: site.title -%}
|
{%- else -%}
|
||||||
|
{%- assign seo_title = page_title | append: " " | append: title_separator | append: " " | append: site.title | replace: '|', '|' -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
{%- if seo_title -%}
|
{%- assign page_title = page_title | markdownify | strip_html | strip_newlines | escape_once -%}
|
||||||
{%- 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 -%}
|
|
||||||
|
|
||||||
{% if page.canonical_url %}
|
{%- assign canonical_url = page.canonical_url | default: page.url | replace: "/index.html", "/" | absolute_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 | newline_to_br | strip_newlines | replace: '<br />', ' ' | 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 -%}
|
||||||
@@ -32,23 +25,9 @@
|
|||||||
{%- 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 | escape -%}
|
||||||
{%- unless page_large_image contains '://' -%}
|
{%- assign page_teaser_image = page.header.teaser | default: site.og_image | absolute_url | escape -%}
|
||||||
{%- assign page_large_image = page_large_image | absolute_url -%}
|
{%- assign site_og_image = site.og_image | absolute_url | escape -%}
|
||||||
{%- endunless -%}
|
|
||||||
{%- assign page_large_image = page_large_image | escape -%}
|
|
||||||
|
|
||||||
{%- assign page_teaser_image = page.header.teaser | default: site.og_image -%}
|
|
||||||
{%- unless page_teaser_image contains '://' -%}
|
|
||||||
{%- assign page_teaser_image = page_teaser_image | absolute_url -%}
|
|
||||||
{%- endunless -%}
|
|
||||||
{%- assign page_teaser_image = page_teaser_image | escape -%}
|
|
||||||
|
|
||||||
{%- assign site_og_image = site.og_image -%}
|
|
||||||
{%- unless site_og_image contains '://' -%}
|
|
||||||
{%- assign site_og_image = site_og_image | absolute_url -%}
|
|
||||||
{%- endunless -%}
|
|
||||||
{%- assign site_og_image = site_og_image | escape -%}
|
|
||||||
|
|
||||||
{%- if page.date -%}
|
{%- if page.date -%}
|
||||||
{%- assign og_type = "article" -%}
|
{%- assign og_type = "article" -%}
|
||||||
@@ -56,17 +35,20 @@
|
|||||||
{%- assign og_type = "website" -%}
|
{%- assign og_type = "website" -%}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
<title>{{ seo_title | default: site.title }}{% if paginator %}{% unless paginator.page == 1 %} {{ title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
|
<title>{{ seo_title }}{% if paginator %}{% unless paginator.page == 1 %} {{ title_separator }} {{ site.data.ui-text[site.locale].page | default: "Page" }} {{ paginator.page }}{% endunless %}{% endif %}</title>
|
||||||
<meta name="description" content="{{ seo_description }}">
|
<meta name="description" content="{{ seo_description }}">
|
||||||
|
|
||||||
{% if author.name %}
|
{% if author.name %}
|
||||||
<meta name="author" content="{{ author.name | default: author }}">
|
<meta name="author" content="{{ author.name | default: author | escape_once | strip }}">
|
||||||
|
{% if og_type == "article" %}
|
||||||
|
<meta property="article:author" content="{{ author.name | default: author | escape_once | strip }}">
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<meta property="og:type" content="{{ og_type }}">
|
<meta property="og:type" content="{{ og_type }}">
|
||||||
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
|
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
|
||||||
<meta property="og:site_name" content="{{ site.title }}">
|
<meta property="og:site_name" content="{{ site.title | escape_once | strip }}">
|
||||||
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
<meta property="og:title" content="{{ page_title }}">
|
||||||
<meta property="og:url" content="{{ canonical_url }}">
|
<meta property="og:url" content="{{ canonical_url }}">
|
||||||
|
|
||||||
{% if seo_description %}
|
{% if seo_description %}
|
||||||
@@ -81,7 +63,7 @@
|
|||||||
|
|
||||||
{% if site.twitter.username %}
|
{% if site.twitter.username %}
|
||||||
<meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}">
|
<meta name="twitter:site" content="@{{ site.twitter.username | replace: "@", "" }}">
|
||||||
<meta name="twitter:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
<meta name="twitter:title" content="{{ page_title }}">
|
||||||
<meta name="twitter:description" content="{{ seo_description }}">
|
<meta name="twitter:description" content="{{ seo_description }}">
|
||||||
<meta name="twitter:url" content="{{ canonical_url }}">
|
<meta name="twitter:url" content="{{ canonical_url }}">
|
||||||
|
|
||||||
@@ -127,21 +109,9 @@
|
|||||||
<link rel="next" href="{{ paginator.next_page_path | absolute_url }}">
|
<link rel="next" href="{{ paginator.next_page_path | absolute_url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<script type="application/ld+json">
|
{% if page.url == '/' %}
|
||||||
{
|
{% include schema.html %}
|
||||||
"@context": "https://schema.org",
|
|
||||||
{% if site.social.type == "Organization" %}
|
|
||||||
"@type": "Organization",
|
|
||||||
"url": {{ '/' | absolute_url | jsonify }}{% if site.og_image %},
|
|
||||||
"logo": {{ site_og_image | jsonify }}{% endif %}
|
|
||||||
{% else %}
|
|
||||||
"@type": "Person",
|
|
||||||
"name": {{ site.social.name | default: site.name | jsonify }},
|
|
||||||
"url": {{ '/' | absolute_url |jsonify }}{% if site.social.links %},
|
|
||||||
"sameAs": {{ site.social.links | jsonify }}{% endif %}
|
|
||||||
{% endif %}
|
{% 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 }}" />
|
||||||
@@ -158,4 +128,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,12 +4,7 @@
|
|||||||
{% 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 "://" %}
|
|
||||||
"{{ s.image }}"
|
|
||||||
{% else %}
|
|
||||||
"{{ s.image | relative_url }}"
|
|
||||||
{% endif %}
|
|
||||||
alt="{% if s.image_alt %}{{ s.image_alt }}{% 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 %}
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
<nav class="skip-links">
|
<nav class="skip-links">
|
||||||
<h2 class="screen-reader-text">{{ site.data.ui-text[site.locale].skip_links | default: 'Skip links' }}</h2>
|
|
||||||
<ul>
|
<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="#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="#main" class="screen-reader-shortcut">{{ site.data.ui-text[site.locale].skip_content | default: 'Skip to content' }}</a></li>
|
||||||
|
|||||||
@@ -1,11 +1,19 @@
|
|||||||
<section class="page__share">
|
<section class="page__share">
|
||||||
{% if site.data.ui-text[site.locale].share_on_label %}
|
|
||||||
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
|
<h4 class="page__share-title">{{ site.data.ui-text[site.locale].share_on_label | default: "Share on" }}</h4>
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<a href="https://twitter.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--twitter" 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' }} Twitter"><i class="fab fa-fw fa-twitter" aria-hidden="true"></i><span> Twitter</span></a>
|
<a href="https://x.com/intent/tweet?{% if site.twitter.username %}via={{ site.twitter.username | url_encode }}&{% endif %}text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--x" aria-label="Share on X" 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' }} X">
|
||||||
|
<i class="fab fa-fw fa-x-twitter" aria-hidden="true"></i><span> X</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://www.facebook.com/sharer/sharer.php?u={{ page.url | absolute_url | url_encode }}" class="btn btn--facebook" aria-label="Share on 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.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 }}" class="btn btn--linkedin" aria-label="Share on 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://bsky.app/intent/compose?text={{ page.title | url_encode }}%20{{ page.url | absolute_url | url_encode }}" class="btn btn--bluesky" 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' }} Bluesky">
|
||||||
|
<i class="fab fa-fw fa-bluesky" aria-hidden="true"></i><span> Bluesky</span>
|
||||||
|
</a>
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
+3
-10
@@ -6,20 +6,13 @@
|
|||||||
{% 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: '|' %}
|
<a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | relative_url }}" class="page__taxonomy-item p-category" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
|
||||||
{% 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 %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
+131
-38
@@ -1,6 +1,30 @@
|
|||||||
{% capture tocWorkspace %}
|
{% capture tocWorkspace %}
|
||||||
{% comment %}
|
{% comment %}
|
||||||
Version 1.0.8
|
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.2.1
|
||||||
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
|
||||||
@@ -19,78 +43,147 @@
|
|||||||
* 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(es) 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
|
* 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
|
||||||
|
* flat_toc (bool) : false - when set to true, the TOC will be a single level list
|
||||||
|
|
||||||
Output:
|
Output:
|
||||||
An ordered or unordered list representing the table of contents of a markdown block. This snippet will only
|
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
|
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 flatToc = include.flat_toc | 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 %}
|
|
||||||
{% 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 = _workspace[0] | split: 'class="' %}
|
||||||
{% assign _classWorkspace = _classWorkspace[1] | split: '"' %}
|
{% assign _classWorkspace = _classWorkspace[1] | split: '"' %}
|
||||||
{% assign html_class = _classWorkspace[0] %}
|
{% assign htmlClass = _classWorkspace[0] %}
|
||||||
|
|
||||||
{% if html_class contains "no_toc" %}
|
{% if htmlClass contains "no_toc" %}
|
||||||
{% continue %}
|
{% continue %}
|
||||||
{% endif %}
|
{% 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: ' ' %}
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% unless include.item_class == blank %}
|
|
||||||
{% capture listItemClass %}{:.{{ include.item_class | replace: '%level%', headerLevel }}}{% endcapture %}
|
|
||||||
{% endunless %}
|
|
||||||
|
|
||||||
{% capture heading_body %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% endcapture %}
|
|
||||||
{% capture my_toc %}{{ my_toc }}
|
|
||||||
{{ space }}{{ listModifier }} {{ listItemClass }} [{{ heading_body | replace: "|", "\|" }}]({% if include.baseurl %}{{ include.baseurl }}{% endif %}#{{ html_id }}){% if include.anchor_class %}{:.{{ include.anchor_class }}}{% endif %}{% endcapture %}
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
{% if include.class %}
|
|
||||||
{% capture my_toc %}{:.{{ include.class }}}
|
|
||||||
{{ my_toc | lstrip }}{% endcapture %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if include.id %}
|
{% if include.submenu_class and include.submenu_class != blank %}
|
||||||
{% capture my_toc %}{: #{{ include.id }}}
|
{% assign subMenuLevel = currLevel | minus: 1 %}
|
||||||
{{ my_toc | lstrip }}{% endcapture %}
|
{% capture subMenuClass %} class="{{ include.submenu_class | replace: '%level%', subMenuLevel | split: '.' | join: ' ' }}"{% endcapture %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endcapture %}{% assign tocWorkspace = '' %}{{ my_toc | markdownify | strip }}
|
|
||||||
|
{% capture anchorBody %}{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}{% 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 and flatToc == false %}
|
||||||
|
{% capture jekyll_toc %}{{ jekyll_toc }}<{{ listModifier }}{{ subMenuClass }}>{% endcapture %}
|
||||||
|
{% elsif currLevel < lastLevel and flatToc == false %}
|
||||||
|
{% 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 %}
|
||||||
|
|
||||||
|
{% if flatToc == true %}
|
||||||
|
{% assign repeatCount = 1 %}
|
||||||
|
{% else %}
|
||||||
|
{% assign repeatCount = minHeader | minus: 1 %}
|
||||||
|
{% assign repeatCount = lastLevel | minus: repeatCount %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% for i in (1..repeatCount) %}
|
||||||
|
{% capture jekyll_toc %}{{ jekyll_toc }}</li></{{ listModifier }}>{% endcapture %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% if jekyll_toc != '' %}
|
||||||
|
{% assign rootAttributes = '' %}
|
||||||
|
{% 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 %}
|
||||||
|
{% endcapture %}{% assign tocWorkspace = '' %}{{ deprecation_warnings }}{{ jekyll_toc -}}
|
||||||
|
|||||||
+19
-8
@@ -1,13 +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 %}
|
||||||
|
|
||||||
<!-- Courtesy of embedresponsively.com //-->
|
{% 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 -->
|
||||||
|
{% unless video_src == "" %}
|
||||||
<div class="responsive-video-container">
|
<div class="responsive-video-container">
|
||||||
{% if video_provider == "vimeo" %}
|
<iframe src="{{ video_src }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowfullscreen></iframe>
|
||||||
<iframe src="https://player.vimeo.com/video/{{ video_id }}?dnt=true" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
|
||||||
{% elsif video_provider == "youtube" %}
|
|
||||||
<iframe src="https://www.youtube-nocookie.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
|
|
||||||
{% elsif video_provider == "google-drive" %}
|
|
||||||
<iframe src="https://drive.google.com/file/d/{{ video_id }}/preview" frameborder="0" allowfullscreen></iframe>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
|
{% endunless %}
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ author_profile: false
|
|||||||
|
|
||||||
<div class="archive">
|
<div class="archive">
|
||||||
{% unless page.header.overlay_color or page.header.overlay_image %}
|
{% unless page.header.overlay_color or page.header.overlay_image %}
|
||||||
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
|
<h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
{% for post in page.posts %}
|
{% for post in page.posts %}
|
||||||
{% include archive-single.html %}
|
{% include archive-single.html %}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ layout: default
|
|||||||
|
|
||||||
<div class="archive">
|
<div class="archive">
|
||||||
{% unless page.header.overlay_color or page.header.overlay_image %}
|
{% unless page.header.overlay_color or page.header.overlay_image %}
|
||||||
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
|
<h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,39 +4,4 @@ layout: archive
|
|||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
{% assign categories_max = 0 %}
|
{% include posts-taxonomy.html taxonomies=site.categories %}
|
||||||
{% for category in site.categories %}
|
|
||||||
{% if category[1].size > categories_max %}
|
|
||||||
{% assign categories_max = category[1].size %}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
<ul class="taxonomy__index">
|
|
||||||
{% for i in (1..categories_max) reversed %}
|
|
||||||
{% for category in site.categories %}
|
|
||||||
{% if category[1].size == i %}
|
|
||||||
<li>
|
|
||||||
<a href="#{{ category[0] | slugify }}">
|
|
||||||
<strong>{{ category[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
{% for i in (1..categories_max) reversed %}
|
|
||||||
{% for category in site.categories %}
|
|
||||||
{% if category[1].size == i %}
|
|
||||||
<section id="{{ category[0] | slugify | downcase }}" class="taxonomy__section">
|
|
||||||
<h2 class="archive__subtitle">{{ category[0] }}</h2>
|
|
||||||
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
|
||||||
{% for post in category.last %}
|
|
||||||
{% include archive-single.html type=page.entries_layout %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
|
||||||
</section>
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
{% endfor %}
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
+4
-10
@@ -2,25 +2,20 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<!--
|
{% include copyright.html %}
|
||||||
Minimal Mistakes Jekyll Theme 4.18.0 by Michael Rose
|
<html lang="{{ site.locale | replace: "_", "-" | default: "en" }}" class="no-js">
|
||||||
Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
|
|
||||||
Free for personal and commercial use under the MIT license
|
|
||||||
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
|
||||||
-->
|
|
||||||
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
|
||||||
<head>
|
<head>
|
||||||
{% include head.html %}
|
{% include head.html %}
|
||||||
{% include head/custom.html %}
|
{% include head/custom.html %}
|
||||||
</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 %}" dir="{% if site.rtl %}rtl{% else %}ltr{% endif %}">
|
||||||
{% include_cached skip-links.html %}
|
{% include_cached skip-links.html %}
|
||||||
{% include_cached browser-upgrade.html %}
|
|
||||||
{% include_cached masthead.html %}
|
{% include_cached masthead.html %}
|
||||||
|
|
||||||
<div class="initial-content">
|
<div class="initial-content">
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
{% include after-content.html %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if site.search == true %}
|
{% if site.search == true %}
|
||||||
@@ -37,6 +32,5 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include scripts.html %}
|
{% include scripts.html %}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
+5
-4
@@ -6,14 +6,15 @@ 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>
|
||||||
|
|
||||||
{% if site.paginate %}
|
{% if paginator %}
|
||||||
{% assign posts = paginator.posts %}
|
{% assign posts = paginator.posts %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% assign posts = site.posts %}
|
{% assign posts = site.posts %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% for post in posts %}
|
{% assign entries_layout = page.entries_layout | default: 'list' %}
|
||||||
{% include archive-single.html %}
|
<div class="entries-{{ entries_layout }}">
|
||||||
{% endfor %}
|
{% include documents-collection.html entries=posts type=entries_layout %}
|
||||||
|
</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>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ layout: default
|
|||||||
|
|
||||||
<div class="archive">
|
<div class="archive">
|
||||||
{% unless page.header.overlay_color or page.header.overlay_image %}
|
{% unless page.header.overlay_color or page.header.overlay_image %}
|
||||||
<h1 id="page-title" class="page__title">{{ page.title }}</h1>
|
<h1 id="page-title" class="page__title"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>{{ page.title }}</h1>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
@@ -25,11 +25,11 @@ layout: default
|
|||||||
{%- 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...' }}" />
|
<input type="text" id="search" class="search-input" 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 googleCustomSearchExecute();" 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" 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">
|
||||||
<gcse:searchresults-only></gcse:searchresults-only>
|
<gcse:searchresults-only></gcse:searchresults-only>
|
||||||
|
|||||||
+25
-33
@@ -8,7 +8,11 @@ layout: default
|
|||||||
{% include page__hero_video.html %}
|
{% include page__hero_video.html %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if page.url != "/" and site.breadcrumbs %}
|
{% assign breadcrumbs_enabled = site.breadcrumbs %}
|
||||||
|
{% if page.breadcrumbs != null %}
|
||||||
|
{% assign breadcrumbs_enabled = page.breadcrumbs %}
|
||||||
|
{% endif %}
|
||||||
|
{% if page.url != "/" and breadcrumbs_enabled %}
|
||||||
{% unless paginator %}
|
{% unless paginator %}
|
||||||
{% include breadcrumbs.html %}
|
{% include breadcrumbs.html %}
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
@@ -17,8 +21,8 @@ layout: default
|
|||||||
<div id="main" role="main">
|
<div id="main" role="main">
|
||||||
{% include sidebar.html %}
|
{% include sidebar.html %}
|
||||||
|
|
||||||
<article class="page" itemscope itemtype="https://schema.org/CreativeWork">
|
<article class="page" itemscope itemtype="https://schema.org/CreativeWork"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>
|
||||||
{% 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 | replace: '|', '|' | 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_to_xmlschema }}">{% 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_to_xmlschema }}">{% endif %}
|
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date_to_xmlschema }}">{% endif %}
|
||||||
@@ -26,10 +30,12 @@ layout: default
|
|||||||
<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 -%}
|
||||||
{% if page.read_time %}
|
<h1 id="page-title" class="page__title" itemprop="headline">
|
||||||
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
|
<a href="{{ page.url | absolute_url }}" itemprop="url">{{ page.title | markdownify | remove: "<p>" | remove: "</p>" }}</a>
|
||||||
{% endif %}
|
</h1>
|
||||||
|
{%- endif %}
|
||||||
|
{% include page__meta.html %}
|
||||||
</header>
|
</header>
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
|
|
||||||
@@ -38,7 +44,7 @@ layout: default
|
|||||||
<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 | default: "On this page" }}</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 +57,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 %}
|
||||||
@@ -63,33 +65,23 @@ layout: default
|
|||||||
{% include post_pagination.html %}
|
{% include post_pagination.html %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if jekyll.environment == 'production' and site.comments.provider and page.comments %}
|
{% if site.comments.provider and page.comments %}
|
||||||
|
{% if jekyll.environment == 'production' %}
|
||||||
{% include comments.html %}
|
{% include comments.html %}
|
||||||
|
{% else %}
|
||||||
|
<p>
|
||||||
|
Comments are configured with provider: <strong>{{ site.comments.provider }}</strong>,
|
||||||
|
but are disabled in non-production environments.
|
||||||
|
</p>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
{% comment %}<!-- only show related on a post page when `related: true` -->{% endcomment %}
|
{% comment %}<!-- only show related on a post page when `related: true` -->{% endcomment %}
|
||||||
{% if page.id and page.related and site.related_posts.size > 0 %}
|
{% if page.id and page.related and site.related_posts.size > 0 %}
|
||||||
<div class="page__related">
|
{% include page__related.html posts=site.related_posts %}
|
||||||
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
|
||||||
<div class="grid__wrapper">
|
|
||||||
{% for post in site.related_posts limit:4 %}
|
|
||||||
{% include archive-single.html type="grid" %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% comment %}<!-- otherwise show recent posts if no related when `related: true` -->{% endcomment %}
|
{% comment %}<!-- otherwise show recent posts if no related when `related: true` -->{% endcomment %}
|
||||||
{% elsif page.id and page.related %}
|
{% elsif page.id and page.related %}
|
||||||
<div class="page__related">
|
{% include page__related.html posts=site.posts %}
|
||||||
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
|
||||||
<div class="grid__wrapper">
|
|
||||||
{% for post in site.posts limit:4 %}
|
|
||||||
{% if post.id == page.id %}
|
|
||||||
{% continue %}
|
|
||||||
{% endif %}
|
|
||||||
{% include archive-single.html type="grid" %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ layout: default
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div id="main" role="main">
|
<div id="main" role="main">
|
||||||
<article class="splash" itemscope itemtype="https://schema.org/CreativeWork">
|
<article class="splash" itemscope itemtype="https://schema.org/CreativeWork"{% if page.locale %} lang="{{ page.locale }}"{% endif %}>
|
||||||
{% 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_to_xmlschema }}">{% endif %}
|
{% if page.date %}<meta itemprop="datePublished" content="{{ page.date | date_to_xmlschema }}">{% endif %}
|
||||||
|
|||||||
+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>
|
||||||
|
|||||||
+1
-36
@@ -4,39 +4,4 @@ layout: archive
|
|||||||
|
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
||||||
{% assign tags_max = 0 %}
|
{% include posts-taxonomy.html taxonomies=site.tags %}
|
||||||
{% for tag in site.tags %}
|
|
||||||
{% if tag[1].size > tags_max %}
|
|
||||||
{% assign tags_max = tag[1].size %}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
<ul class="taxonomy__index">
|
|
||||||
{% for i in (1..tags_max) reversed %}
|
|
||||||
{% for tag in site.tags %}
|
|
||||||
{% if tag[1].size == i %}
|
|
||||||
<li>
|
|
||||||
<a href="#{{ tag[0] | slugify }}">
|
|
||||||
<strong>{{ tag[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
{% for i in (1..tags_max) reversed %}
|
|
||||||
{% for tag in site.tags %}
|
|
||||||
{% if tag[1].size == i %}
|
|
||||||
<section id="{{ tag[0] | slugify | downcase }}" class="taxonomy__section">
|
|
||||||
<h2 class="archive__subtitle">{{ tag[0] }}</h2>
|
|
||||||
<div class="entries-{{ page.entries_layout | default: 'list' }}">
|
|
||||||
{% for post in tag.last %}
|
|
||||||
{% include archive-single.html type=page.entries_layout %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a>
|
|
||||||
</section>
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
{% endfor %}
|
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
/*!
|
/* Copyright comment */
|
||||||
* Minimal Mistakes Jekyll Theme 4.18.0 by Michael Rose
|
@import "minimal-mistakes/copyright";
|
||||||
* Copyright 2013-2019 Michael Rose - mademistakes.com | @mmistakes
|
|
||||||
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE)
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Variables */
|
/* Variables */
|
||||||
@import "minimal-mistakes/variables";
|
@import "minimal-mistakes/variables";
|
||||||
|
|||||||
@@ -7,14 +7,14 @@
|
|||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
float: right;
|
float: inline-end;
|
||||||
width: calc(100% - #{$right-sidebar-width-narrow});
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
||||||
padding-right: $right-sidebar-width-narrow;
|
padding-inline-end: $right-sidebar-width-narrow;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
width: calc(100% - #{$right-sidebar-width});
|
width: calc(100% - #{$right-sidebar-width});
|
||||||
padding-right: $right-sidebar-width;
|
padding-inline-end: $right-sidebar-width;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.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;
|
||||||
@@ -53,10 +53,7 @@
|
|||||||
a[rel="permalink"]::before {
|
a[rel="permalink"]::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
inset: 0;
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a + a {
|
a + a {
|
||||||
@@ -98,14 +95,14 @@
|
|||||||
.archive__item-caption {
|
.archive__item-caption {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 0;
|
inset-inline-end: 0;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 2px 5px;
|
padding: 2px 5px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-family: $caption-font-family;
|
font-family: $caption-font-family;
|
||||||
font-size: $type-size-8;
|
font-size: $type-size-8;
|
||||||
background: #000;
|
background: #000;
|
||||||
text-align: right;
|
text-align: end;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
border-radius: $border-radius 0 0 0;
|
border-radius: $border-radius 0 0 0;
|
||||||
@@ -140,11 +137,11 @@
|
|||||||
/* extend grid elements to the right */
|
/* extend grid elements to the right */
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
margin-right: -1 * $right-sidebar-width-narrow;
|
margin-inline-end: -1 * $right-sidebar-width-narrow;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
margin-right: -1 * $right-sidebar-width;
|
margin-inline-end: -1 * $right-sidebar-width;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -153,23 +150,22 @@
|
|||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
float: left;
|
float: inline-start;
|
||||||
width: span(5 of 10);
|
width: span(5 of 10);
|
||||||
|
|
||||||
&:nth-child(2n + 1) {
|
&:nth-child(2n + 1) {
|
||||||
clear: both;
|
clear: both;
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(2n + 2) {
|
&:nth-child(2n + 2) {
|
||||||
clear: none;
|
clear: none;
|
||||||
margin-left: gutter(of 10);
|
margin-inline-start: gutter(of 10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($medium) {
|
@include breakpoint($medium) {
|
||||||
margin-left: 0; /* override margin*/
|
margin-inline: 0; /* override margin*/
|
||||||
margin-right: 0; /* override margin*/
|
|
||||||
width: span(3 of 12);
|
width: span(3 of 12);
|
||||||
|
|
||||||
&:nth-child(2n + 1) {
|
&:nth-child(2n + 1) {
|
||||||
@@ -182,17 +178,17 @@
|
|||||||
|
|
||||||
&:nth-child(4n + 2) {
|
&:nth-child(4n + 2) {
|
||||||
clear: none;
|
clear: none;
|
||||||
margin-left: gutter(1 of 12);
|
margin-inline-start: gutter(1 of 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(4n + 3) {
|
&:nth-child(4n + 3) {
|
||||||
clear: none;
|
clear: none;
|
||||||
margin-left: gutter(1 of 12);
|
margin-inline-start: gutter(1 of 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(4n + 4) {
|
&:nth-child(4n + 4) {
|
||||||
clear: none;
|
clear: none;
|
||||||
margin-left: gutter(1 of 12);
|
margin-inline-start: gutter(1 of 12);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -201,6 +197,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;
|
||||||
@@ -246,23 +250,23 @@
|
|||||||
font-size: 1.125em;
|
font-size: 1.125em;
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
width: span(4 of 12);
|
width: span(4 of 12);
|
||||||
|
|
||||||
&:nth-child(3n + 1) {
|
&:nth-child(3n + 1) {
|
||||||
clear: both;
|
clear: both;
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(3n + 2) {
|
&:nth-child(3n + 2) {
|
||||||
clear: none;
|
clear: none;
|
||||||
margin-left: gutter(of 12);
|
margin-inline-start: gutter(of 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:nth-child(3n + 3) {
|
&:nth-child(3n + 3) {
|
||||||
clear: none;
|
clear: none;
|
||||||
margin-left: gutter(of 12);
|
margin-inline-start: gutter(of 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
.feature__item-teaser {
|
.feature__item-teaser {
|
||||||
@@ -272,114 +276,89 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.archive__item-body {
|
.archive__item-body {
|
||||||
padding-left: gutter(1 of 12);
|
padding-inline: gutter(1 of 12);
|
||||||
padding-right: gutter(1 of 12);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a.btn::before {
|
a.btn::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
inset: 0;
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&--left {
|
&--left, &--right {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
margin-inline: 0;
|
||||||
margin-left: 0;
|
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
clear: both;
|
||||||
font-size: 1.125em;
|
font-size: 1.125em;
|
||||||
|
|
||||||
.archive__item {
|
a.btn::before {
|
||||||
float: left;
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive__item-teaser {
|
.archive__item-teaser {
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
a.btn::before {
|
&--left {
|
||||||
content: '';
|
float: inline-start;
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
.archive__item {
|
||||||
top: 0;
|
float: inline-start;
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
.archive__item-teaser {
|
.archive__item-teaser {
|
||||||
float: left;
|
float: inline-start;
|
||||||
width: span(5 of 12);
|
width: span(5 of 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive__item-body {
|
.archive__item-body {
|
||||||
float: right;
|
float: inline-end;
|
||||||
padding-left: gutter(0.5 of 12);
|
|
||||||
padding-right: gutter(1 of 12);
|
|
||||||
width: span(7 of 12);
|
width: span(7 of 12);
|
||||||
|
padding-inline-start: gutter(0.5 of 12);
|
||||||
|
padding-inline-end: gutter(1 of 12);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&--right {
|
&--right {
|
||||||
position: relative;
|
float: inline-end;
|
||||||
float: left;
|
|
||||||
margin-left: 0;
|
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
|
||||||
clear: both;
|
|
||||||
font-size: 1.125em;
|
|
||||||
|
|
||||||
.archive__item {
|
.archive__item {
|
||||||
float: left;
|
float: inline-end;
|
||||||
}
|
|
||||||
|
|
||||||
.archive__item-teaser {
|
|
||||||
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: end;
|
||||||
|
|
||||||
.archive__item-teaser {
|
.archive__item-teaser {
|
||||||
float: right;
|
float: inline-end;
|
||||||
width: span(5 of 12);
|
width: span(5 of 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
.archive__item-body {
|
.archive__item-body {
|
||||||
float: left;
|
float: inline-start;
|
||||||
width: span(7 of 12);
|
width: span(7 of 12);
|
||||||
padding-left: gutter(0.5 of 12);
|
padding-inline-start: gutter(1 of 12);
|
||||||
padding-right: gutter(1 of 12);
|
padding-inline-end: gutter(0.5 of 12);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&--center {
|
&--center {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: 0;
|
margin-inline: 0;
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
clear: both;
|
||||||
font-size: 1.125em;
|
font-size: 1.125em;
|
||||||
|
|
||||||
.archive__item {
|
.archive__item {
|
||||||
float: left;
|
float: inline-start;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -390,10 +369,7 @@
|
|||||||
a.btn::before {
|
a.btn::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
inset: 0;
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
@@ -437,11 +413,11 @@
|
|||||||
.wide {
|
.wide {
|
||||||
.archive {
|
.archive {
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
padding-right: 0;
|
padding-inline-end: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
padding-right: 0;
|
padding-inline-end: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ html {
|
|||||||
/* sticky footer fix */
|
/* sticky footer fix */
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@@ -35,27 +37,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,
|
||||||
@@ -107,18 +109,18 @@ abbr[data-original-title] {
|
|||||||
/* blockquotes */
|
/* blockquotes */
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
margin: 2em 1em 2em 0;
|
margin-block: 2em;
|
||||||
padding-left: 1em;
|
margin-inline-end: 1em;
|
||||||
padding-right: 1em;
|
padding-inline: 1em;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
border-left: 0.25em solid $primary-color;
|
border-inline-start: 0.25em solid $primary-color;
|
||||||
|
|
||||||
cite {
|
cite {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|
||||||
&:before {
|
&::before {
|
||||||
content: "\2014";
|
content: "\2014";
|
||||||
padding-right: 5px;
|
padding-inline-end: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -160,24 +162,6 @@ pre {
|
|||||||
overflow-x: auto; /* add scrollbars to wide code blocks*/
|
overflow-x: auto; /* add scrollbars to wide code blocks*/
|
||||||
}
|
}
|
||||||
|
|
||||||
p > code,
|
|
||||||
a > code,
|
|
||||||
li > code,
|
|
||||||
figcaption > code,
|
|
||||||
td > code {
|
|
||||||
padding-top: 0.1rem;
|
|
||||||
padding-bottom: 0.1rem;
|
|
||||||
font-size: 0.8em;
|
|
||||||
background: $code-background-color;
|
|
||||||
border-radius: $border-radius;
|
|
||||||
|
|
||||||
&:before,
|
|
||||||
&:after {
|
|
||||||
letter-spacing: -0.2em;
|
|
||||||
content: "\00a0"; /* non-breaking space*/
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* horizontal rule */
|
/* horizontal rule */
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
|
|||||||
@@ -21,11 +21,11 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
margin-right: 0.5em;
|
margin-inline-end: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon + .hidden {
|
.icon + .hidden {
|
||||||
margin-left: -0.5em; /* override for hidden text*/
|
margin-inline-start: -0.5em; /* override for hidden text*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/* button colors */
|
/* button colors */
|
||||||
@@ -37,9 +37,13 @@
|
|||||||
(warning, $warning-color),
|
(warning, $warning-color),
|
||||||
(danger, $danger-color),
|
(danger, $danger-color),
|
||||||
(info, $info-color),
|
(info, $info-color),
|
||||||
|
/* brands */
|
||||||
|
(bluesky, $bluesky-color),
|
||||||
(facebook, $facebook-color),
|
(facebook, $facebook-color),
|
||||||
|
(linkedin, $linkedin-color),
|
||||||
|
(mastodon, $mastodon-color),
|
||||||
(twitter, $twitter-color),
|
(twitter, $twitter-color),
|
||||||
(linkedin, $linkedin-color);
|
(x, $x-color);
|
||||||
|
|
||||||
@each $buttoncolor, $color in $buttoncolors {
|
@each $buttoncolor, $color in $buttoncolors {
|
||||||
&--#{$buttoncolor} {
|
&--#{$buttoncolor} {
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/*!
|
||||||
|
* Minimal Mistakes Jekyll Theme 4.27.1 by Michael Rose
|
||||||
|
* Copyright 2013-2025 Michael Rose - mademistakes.com | @mmistakes
|
||||||
|
* Free for personal and commercial use under the MIT license
|
||||||
|
* https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
|
||||||
|
*/
|
||||||
@@ -4,11 +4,9 @@
|
|||||||
|
|
||||||
.page__footer {
|
.page__footer {
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: 0;
|
margin-inline: 0;
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
|
||||||
margin-top: 3em;
|
margin-top: 3em;
|
||||||
color: $muted-text-color;
|
color: $muted-text-color;
|
||||||
-webkit-animation: $intro-transition;
|
-webkit-animation: $intro-transition;
|
||||||
@@ -19,8 +17,7 @@
|
|||||||
|
|
||||||
footer {
|
footer {
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding: 0 1em 2em;
|
padding: 0 1em 2em;
|
||||||
@@ -68,13 +65,13 @@
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
li + li:before {
|
li + li::before {
|
||||||
content: "";
|
content: "";
|
||||||
padding-right: 5px;
|
padding-inline-end: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
padding-right: 10px;
|
padding-inline-end: 10px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
form {
|
form {
|
||||||
margin: 0 0 5px 0;
|
margin-bottom: 5px;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
background-color: $form-background-color;
|
background-color: $form-background-color;
|
||||||
|
|
||||||
@@ -17,7 +17,7 @@ form {
|
|||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 5px * 2;
|
margin-bottom: 5px * 2;
|
||||||
*margin-left: -7px;
|
margin-inline-start: -7px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
border: 0;
|
border: 0;
|
||||||
@@ -45,7 +45,6 @@ button,
|
|||||||
select,
|
select,
|
||||||
textarea {
|
textarea {
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
*vertical-align: middle;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input,
|
input,
|
||||||
@@ -102,24 +101,21 @@ input[type="radio"] {
|
|||||||
height: auto;
|
height: auto;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 3px 0;
|
margin: 3px 0;
|
||||||
*margin-top: 0;
|
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
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"],
|
||||||
input[type="radio"] {
|
input[type="radio"] {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
*width: 13px;
|
|
||||||
*height: 13px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="image"] {
|
input[type="image"] {
|
||||||
border: 0;
|
border: 0;
|
||||||
box-shadow: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="file"] {
|
input[type="file"] {
|
||||||
@@ -138,12 +134,6 @@ input[type="submit"] {
|
|||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
*overflow: visible;
|
|
||||||
}
|
|
||||||
|
|
||||||
select,
|
|
||||||
input[type="file"] {
|
|
||||||
*margin-top: 4px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
select {
|
select {
|
||||||
@@ -173,14 +163,14 @@ input[type="hidden"] {
|
|||||||
|
|
||||||
.radio,
|
.radio,
|
||||||
.checkbox {
|
.checkbox {
|
||||||
padding-left: 18px;
|
padding-inline-start: 18px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.radio input[type="radio"],
|
.radio input[type="radio"],
|
||||||
.checkbox input[type="checkbox"] {
|
.checkbox input[type="checkbox"] {
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: -18px;
|
margin-inline-start: -18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.radio.inline,
|
.radio.inline,
|
||||||
@@ -193,7 +183,7 @@ input[type="hidden"] {
|
|||||||
|
|
||||||
.radio.inline + .radio.inline,
|
.radio.inline + .radio.inline,
|
||||||
.checkbox.inline + .checkbox.inline {
|
.checkbox.inline + .checkbox.inline {
|
||||||
margin-left: 10px;
|
margin-inline-start: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -248,7 +238,7 @@ select:focus {
|
|||||||
.help-inline {
|
.help-inline {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
padding-left: 5px;
|
padding-inline-start: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -279,16 +269,16 @@ select:focus {
|
|||||||
.form-inline .radio,
|
.form-inline .radio,
|
||||||
.form-inline .checkbox,
|
.form-inline .checkbox,
|
||||||
.form-inline .radio {
|
.form-inline .radio {
|
||||||
padding-left: 0;
|
padding-inline-start: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-inline .radio input[type="radio"],
|
.form-inline .radio input[type="radio"],
|
||||||
.form-inline .checkbox input[type="checkbox"] {
|
.form-inline .checkbox input[type="checkbox"] {
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
margin-right: 3px;
|
margin-inline-end: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -303,8 +293,7 @@ select:focus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.form-search .search-query {
|
.form-search .search-query {
|
||||||
padding-left: 14px;
|
padding-inline: 14px;
|
||||||
padding-right: 14px;
|
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
border-radius: 14px;
|
border-radius: 14px;
|
||||||
}
|
}
|
||||||
@@ -316,23 +305,23 @@ select:focus {
|
|||||||
.form-search .radio,
|
.form-search .radio,
|
||||||
.form-search .checkbox,
|
.form-search .checkbox,
|
||||||
.form-inline .radio {
|
.form-inline .radio {
|
||||||
padding-left: 0;
|
padding-inline-start: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-search .radio input[type="radio"],
|
.form-search .radio input[type="radio"],
|
||||||
.form-search .checkbox input[type="checkbox"] {
|
.form-search .checkbox input[type="checkbox"] {
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
margin-right: 3px;
|
margin-inline-end: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
.form--loading
|
.form--loading
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.form--loading:before {
|
.form--loading::before {
|
||||||
content: "";
|
content: "";
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -340,10 +329,10 @@ select:focus {
|
|||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form:before {
|
.form::before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
inset-inline-start: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background-color: rgba(255, 255, 255, 0.7);
|
background-color: rgba(255, 255, 255, 0.7);
|
||||||
@@ -354,40 +343,6 @@ select:focus {
|
|||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
inset-inline-start: 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;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -13,8 +13,7 @@
|
|||||||
|
|
||||||
&__inner-wrap {
|
&__inner-wrap {
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
@@ -50,7 +49,7 @@
|
|||||||
-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 {
|
.site-subtitle {
|
||||||
@@ -59,17 +58,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.masthead__menu {
|
.masthead__menu {
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: 0;
|
margin-inline: 0;
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
|
||||||
.site-nav {
|
.site-nav {
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
float: right;
|
float: inline-end;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -87,7 +85,7 @@
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
&--lg {
|
&--lg {
|
||||||
padding-right: 2em;
|
padding-inline-end: 2em;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,8 +10,7 @@
|
|||||||
@include clearfix;
|
@include clearfix;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding-left: 1em;
|
padding-inline: 1em;
|
||||||
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;
|
||||||
@@ -28,7 +27,7 @@
|
|||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
float: right;
|
float: inline-end;
|
||||||
width: calc(100% - #{$right-sidebar-width-narrow});
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -52,7 +51,7 @@
|
|||||||
|
|
||||||
.pagination {
|
.pagination {
|
||||||
@include clearfix();
|
@include clearfix();
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -66,8 +65,8 @@
|
|||||||
|
|
||||||
li {
|
li {
|
||||||
display: block;
|
display: block;
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: -1px;
|
margin-inline-start: -1px;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
@@ -101,18 +100,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
border-top-left-radius: $border-radius;
|
border-start-start-radius: $border-radius;
|
||||||
border-bottom-left-radius: $border-radius;
|
border-end-start-radius: $border-radius;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
a {
|
a {
|
||||||
border-top-right-radius: $border-radius;
|
border-start-end-radius: $border-radius;
|
||||||
border-bottom-right-radius: $border-radius;
|
border-end-end-radius: $border-radius;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -121,7 +120,7 @@
|
|||||||
&--pager {
|
&--pager {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 1em 2em;
|
padding: 1em 2em;
|
||||||
float: left;
|
float: inline-start;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
font-size: $type-size-5;
|
font-size: $type-size-5;
|
||||||
@@ -137,14 +136,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
border-top-right-radius: 0;
|
border-start-end-radius: 0;
|
||||||
border-bottom-right-radius: 0;
|
border-end-end-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
margin-left: -1px;
|
margin-inline-start: -1px;
|
||||||
border-top-left-radius: 0;
|
border-start-start-radius: 0;
|
||||||
border-bottom-left-radius: 0;
|
border-end-start-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.disabled {
|
&.disabled {
|
||||||
@@ -184,21 +183,28 @@
|
|||||||
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 {
|
&.site-logo {
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
margin-right: 0.5rem;
|
margin-inline-end: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.site-title {
|
&.site-title {
|
||||||
margin-left: 0;
|
margin-inline-start: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
-webkit-transition: none;
|
||||||
|
transition: none;
|
||||||
|
}
|
||||||
|
|
||||||
&__toggle {
|
&__toggle {
|
||||||
-ms-flex-item-align: center;
|
-ms-flex-item-align: center;
|
||||||
align-self: center;
|
align-self: center;
|
||||||
@@ -233,7 +239,7 @@
|
|||||||
&:before {
|
&:before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
inset-inline-start: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
height: 4px;
|
height: 4px;
|
||||||
background: $primary-color;
|
background: $primary-color;
|
||||||
@@ -255,7 +261,7 @@
|
|||||||
.hidden-links {
|
.hidden-links {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 100%;
|
top: 100%;
|
||||||
right: 0;
|
inset-inline-end: 0;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border: 1px solid $border-color;
|
border: 1px solid $border-color;
|
||||||
@@ -280,11 +286,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:before {
|
&::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -11px;
|
top: -11px;
|
||||||
right: 10px;
|
inset-inline-end: 10px;
|
||||||
width: 0;
|
width: 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0 10px 10px;
|
border-width: 0 10px 10px;
|
||||||
@@ -293,11 +299,11 @@
|
|||||||
z-index: 0;
|
z-index: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:after {
|
&::after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -10px;
|
top: -10px;
|
||||||
right: 10px;
|
inset-inline-end: 10px;
|
||||||
width: 0;
|
width: 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0 10px 10px;
|
border-width: 0 10px 10px;
|
||||||
@@ -354,11 +360,11 @@
|
|||||||
transition: 0.2s ease-out;
|
transition: 0.2s ease-out;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&:before,
|
&::before,
|
||||||
&:after {
|
&::after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 1em;
|
inset-inline-end: 1em;
|
||||||
top: 1.25em;
|
top: 1.25em;
|
||||||
width: 0.75em;
|
width: 0.75em;
|
||||||
height: 0.125em;
|
height: 0.125em;
|
||||||
@@ -439,9 +445,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
margin-left: -0.5em;
|
margin-inline-start: -0.5em;
|
||||||
padding-left: 0.5em;
|
padding-inline: 0.5em;
|
||||||
padding-right: 0.5em;
|
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -509,8 +514,8 @@
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
background: $primary-color;
|
background: $primary-color;
|
||||||
border-top-left-radius: $border-radius;
|
border-start-start-radius: $border-radius;
|
||||||
border-top-right-radius: $border-radius;
|
border-start-end-radius: $border-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Scrollspy marks toc items as .active when they are in focus
|
// Scrollspy marks toc items as .active when they are in focus
|
||||||
@@ -544,23 +549,23 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
li ul > li a {
|
li ul > li a {
|
||||||
padding-left: 1.25rem;
|
padding-inline-start: 1.25rem;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
li ul li ul > li a {
|
li ul li ul > li a {
|
||||||
padding-left: 1.75rem;
|
padding-inline-start: 1.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
li ul li ul li ul > li a {
|
li ul li ul li ul > li a {
|
||||||
padding-left: 2.25rem;
|
padding-inline-start: 2.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
li ul li ul li ul li ul > li a {
|
li ul li ul li ul li ul > li a {
|
||||||
padding-left: 2.75rem;
|
padding-inline-start: 2.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
li ul li ul li ul li ul li ul > li a {
|
li ul li ul li ul li ul li ul > li a {
|
||||||
padding-left: 3.25rem
|
padding-inline-start: 3.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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,15 +46,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
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%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@at-root #{selector-unify(&, "blockquote")} {
|
||||||
|
border-inline-start-color: mix(#000, $notice-color, 10%);
|
||||||
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
background-color: mix(#fff, $notice-color, 95%)
|
background-color: mix($background-color, $notice-color, $code-notice-background-mix)
|
||||||
}
|
}
|
||||||
|
|
||||||
pre code {
|
pre code {
|
||||||
|
|||||||
@@ -4,10 +4,8 @@
|
|||||||
|
|
||||||
#main {
|
#main {
|
||||||
@include clearfix;
|
@include clearfix;
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
padding-inline: 1em;
|
||||||
padding-left: 1em;
|
|
||||||
padding-right: 1em;
|
|
||||||
-webkit-animation: $intro-transition;
|
-webkit-animation: $intro-transition;
|
||||||
animation: $intro-transition;
|
animation: $intro-transition;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
@@ -37,21 +35,20 @@ body {
|
|||||||
|
|
||||||
.page {
|
.page {
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
float: right;
|
float: inline-end;
|
||||||
width: calc(100% - #{$right-sidebar-width-narrow});
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
||||||
padding-right: $right-sidebar-width-narrow;
|
padding-inline-end: $right-sidebar-width-narrow;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
width: calc(100% - #{$right-sidebar-width});
|
width: calc(100% - #{$right-sidebar-width});
|
||||||
padding-right: $right-sidebar-width;
|
padding-inline-end: $right-sidebar-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page__inner-wrap {
|
.page__inner-wrap {
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
margin-left: 0;
|
margin-inline: 0;
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
|
||||||
@@ -59,9 +56,8 @@ body {
|
|||||||
.page__meta,
|
.page__meta,
|
||||||
.page__share {
|
.page__share {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: 0;
|
margin-inline: 0;
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
@@ -72,6 +68,11 @@ body {
|
|||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: $text-color;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
& + .page__meta {
|
& + .page__meta {
|
||||||
margin-top: -0.5em;
|
margin-top: -0.5em;
|
||||||
}
|
}
|
||||||
@@ -91,7 +92,7 @@ body {
|
|||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
.header-link {
|
.header-link {
|
||||||
position: relative;
|
position: relative;
|
||||||
left: 0.5em;
|
inset-inline-start: 0.5em;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
-webkit-transition: opacity 0.2s ease-in-out 0.1s;
|
-webkit-transition: opacity 0.2s ease-in-out 0.1s;
|
||||||
@@ -134,6 +135,20 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:not(pre) > code {
|
||||||
|
padding-top: 0.1rem;
|
||||||
|
padding-bottom: 0.1rem;
|
||||||
|
font-size: 0.8em;
|
||||||
|
background: $code-background-color;
|
||||||
|
border-radius: $border-radius;
|
||||||
|
|
||||||
|
&::before,
|
||||||
|
&::after {
|
||||||
|
letter-spacing: -0.2em;
|
||||||
|
content: "\00a0"; /* non-breaking space*/
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dt {
|
dt {
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
@@ -141,7 +156,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dd {
|
dd {
|
||||||
margin-left: 1em;
|
margin-inline-start: 1em;
|
||||||
font-family: $sans-serif;
|
font-family: $sans-serif;
|
||||||
font-size: $type-size-6;
|
font-size: $type-size-6;
|
||||||
}
|
}
|
||||||
@@ -153,7 +168,7 @@ body {
|
|||||||
/* blockquote citations */
|
/* blockquote citations */
|
||||||
blockquote + .small {
|
blockquote + .small {
|
||||||
margin-top: -1.5em;
|
margin-top: -1.5em;
|
||||||
padding-left: 1.25rem;
|
padding-inline-start: 1.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -184,8 +199,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
padding-left: 1em;
|
padding-inline: 1em;
|
||||||
padding-right: 1em;
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
max-width: $x-large;
|
max-width: $x-large;
|
||||||
@@ -223,14 +237,14 @@ body {
|
|||||||
.page__hero-caption {
|
.page__hero-caption {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 0;
|
inset-inline-end: 0;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 2px 5px;
|
padding: 2px 5px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-family: $caption-font-family;
|
font-family: $caption-font-family;
|
||||||
font-size: $type-size-7;
|
font-size: $type-size-7;
|
||||||
background: #000;
|
background: #000;
|
||||||
text-align: right;
|
text-align: end;
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
border-radius: $border-radius 0 0 0;
|
border-radius: $border-radius 0 0 0;
|
||||||
@@ -299,6 +313,11 @@ body {
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page__meta-sep::before {
|
||||||
|
content: "\2022";
|
||||||
|
padding-inline: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Page taxonomy
|
Page taxonomy
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
@@ -309,13 +328,13 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
margin-right: 10px;
|
margin-inline-end: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.page__taxonomy-item {
|
.page__taxonomy-item {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 5px;
|
margin-inline-end: 5px;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@@ -352,11 +371,11 @@ body {
|
|||||||
|
|
||||||
.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 {
|
||||||
@@ -389,10 +408,10 @@ body {
|
|||||||
.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: end;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -401,9 +420,8 @@ body {
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.page__comments {
|
.page__comments {
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-left: 0;
|
margin-inline: 0;
|
||||||
margin-right: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
@@ -445,7 +463,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.comment__avatar-wrapper {
|
.comment__avatar-wrapper {
|
||||||
float: left;
|
float: inline-start;
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
|
|
||||||
@@ -469,7 +487,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.comment__content-wrapper {
|
.comment__content-wrapper {
|
||||||
float: right;
|
float: inline-end;
|
||||||
width: calc(100% - 60px);
|
width: calc(100% - 60px);
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
@@ -500,13 +518,13 @@ body {
|
|||||||
|
|
||||||
.page__related {
|
.page__related {
|
||||||
@include clearfix();
|
@include clearfix();
|
||||||
float: left;
|
float: inline-start;
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
border-top: 1px solid $border-color;
|
border-top: 1px solid $border-color;
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
float: right;
|
float: inline-end;
|
||||||
width: calc(100% - #{$right-sidebar-width-narrow});
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -531,23 +549,13 @@ body {
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.wide {
|
.wide {
|
||||||
.page {
|
.page, .page__related {
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
padding-right: 0;
|
padding-inline-end: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
padding-right: 0;
|
padding-inline-end: 0;
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.page__related {
|
|
||||||
@include breakpoint($large) {
|
|
||||||
padding-right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
|
||||||
padding-right: 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,18 +8,18 @@ html {
|
|||||||
/* apply a natural box layout model to all elements */
|
/* apply a natural box layout model to all elements */
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
background-color: $background-color;
|
background-color: $background-color;
|
||||||
font-size: 16px;
|
font-size: $doc-font-size;
|
||||||
|
|
||||||
@include breakpoint($medium) {
|
@include breakpoint($medium) {
|
||||||
font-size: 18px;
|
font-size: $doc-font-size-medium;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
font-size: 20px;
|
font-size: $doc-font-size-large;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
font-size: 22px;
|
font-size: $doc-font-size-x-large;
|
||||||
}
|
}
|
||||||
|
|
||||||
-webkit-text-size-adjust: 100%;
|
-webkit-text-size-adjust: 100%;
|
||||||
@@ -64,8 +64,6 @@ audio,
|
|||||||
canvas,
|
canvas,
|
||||||
video {
|
video {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
*display: inline;
|
|
||||||
*zoom: 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Prevents modern browsers from displaying 'audio' without controls */
|
/* Prevents modern browsers from displaying 'audio' without controls */
|
||||||
@@ -142,7 +140,6 @@ textarea {
|
|||||||
|
|
||||||
button,
|
button,
|
||||||
input {
|
input {
|
||||||
*overflow: visible; /* inner spacing ie IE6/7*/
|
|
||||||
line-height: normal; /* FF3/4 have !important on line-height in UA stylesheet*/
|
line-height: normal; /* FF3/4 have !important on line-height in UA stylesheet*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.search__toggle {
|
.search__toggle {
|
||||||
margin-left: 1rem;
|
margin-inline: 1rem;
|
||||||
margin-right: 1rem;
|
|
||||||
height: $nav-toggle-height;
|
height: $nav-toggle-height;
|
||||||
border: 0;
|
border: 0;
|
||||||
outline: none;
|
outline: none;
|
||||||
@@ -38,10 +37,8 @@
|
|||||||
|
|
||||||
&__inner-wrap {
|
&__inner-wrap {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
padding-inline: 1em;
|
||||||
padding-left: 1em;
|
|
||||||
padding-right: 1em;
|
|
||||||
-webkit-animation: $intro-transition;
|
-webkit-animation: $intro-transition;
|
||||||
animation: $intro-transition;
|
animation: $intro-transition;
|
||||||
-webkit-animation-delay: 0.15s;
|
-webkit-animation-delay: 0.15s;
|
||||||
|
|||||||
@@ -8,16 +8,16 @@
|
|||||||
|
|
||||||
.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: inline-start;
|
||||||
width: calc(#{$right-sidebar-width-narrow} - 1em);
|
width: calc(#{$right-sidebar-width-narrow} - 1em);
|
||||||
opacity: 0.75;
|
opacity: 0.75;
|
||||||
-webkit-transition: opacity 0.2s ease-in-out;
|
-webkit-transition: opacity 0.2s ease-in-out;
|
||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -77,10 +77,10 @@
|
|||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
inset-inline-end: 0;
|
||||||
width: $right-sidebar-width-narrow;
|
width: $right-sidebar-width-narrow;
|
||||||
margin-right: -1 * $right-sidebar-width-narrow;
|
margin-inline-end: -1 * $right-sidebar-width-narrow;
|
||||||
padding-left: 1em;
|
padding-inline-start: 1em;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
|
||||||
&.sticky {
|
&.sticky {
|
||||||
@@ -88,25 +88,32 @@
|
|||||||
position: -webkit-sticky;
|
position: -webkit-sticky;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 2em;
|
top: 2em;
|
||||||
float: right;
|
float: inline-end;
|
||||||
|
|
||||||
|
.toc {
|
||||||
|
.toc__menu {
|
||||||
|
overflow-y: auto;
|
||||||
|
max-height: calc(100vh - 7em);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
width: $right-sidebar-width;
|
width: $right-sidebar-width;
|
||||||
margin-right: -1 * $right-sidebar-width;
|
margin-inline-end: -1 * $right-sidebar-width;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.splash .sidebar__right {
|
.splash .sidebar__right {
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: right;
|
float: inline-end;
|
||||||
margin-right: 0;
|
margin-inline-end: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
margin-right: 0;
|
margin-inline-end: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -140,15 +147,13 @@
|
|||||||
.author__content {
|
.author__content {
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
padding-left: 15px;
|
padding-inline: 15px 25px;
|
||||||
padding-right: 25px;
|
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-left: 0;
|
padding-inline: 0;
|
||||||
padding-right: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@@ -184,8 +189,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 +198,38 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.author__urls {
|
||||||
|
span.label {
|
||||||
|
padding-inline-start: 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;
|
||||||
|
inset-inline-start: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.open {
|
||||||
|
&:before {
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -210,14 +239,13 @@
|
|||||||
.author__urls {
|
.author__urls {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
inset-inline-end: 0;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
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;
|
||||||
|
|
||||||
@@ -235,12 +263,12 @@
|
|||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:before {
|
&::before {
|
||||||
display: block;
|
display: block;
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -11px;
|
top: -11px;
|
||||||
left: calc(50% - 10px);
|
inset-inline-start: calc(50% - 10px);
|
||||||
width: 0;
|
width: 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0 10px 10px;
|
border-width: 0 10px 10px;
|
||||||
@@ -257,7 +285,7 @@
|
|||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: -10px;
|
top: -10px;
|
||||||
left: calc(50% - 10px);
|
inset-inline-start: calc(50% - 10px);
|
||||||
width: 0;
|
width: 0;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0 10px 10px;
|
border-width: 0 10px 10px;
|
||||||
@@ -269,6 +297,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
padding: 10px;
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
@@ -276,9 +309,8 @@
|
|||||||
a {
|
a {
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
padding-right: 5px;
|
padding-block: 2px;
|
||||||
padding-top: 2px;
|
padding-inline-end: 5px;
|
||||||
padding-bottom: 2px;
|
|
||||||
color: inherit;
|
color: inherit;
|
||||||
font-size: $type-size-5;
|
font-size: $type-size-5;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@@ -299,10 +331,10 @@
|
|||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
position: initial;
|
position: initial;
|
||||||
top: initial;
|
top: initial;
|
||||||
right: initial;
|
inset-inline-end: initial;
|
||||||
width: initial;
|
width: initial;
|
||||||
margin-right: initial;
|
margin-inline-end: initial;
|
||||||
padding-left: initial;
|
padding-inline-start: initial;
|
||||||
z-index: initial;
|
z-index: initial;
|
||||||
|
|
||||||
&.sticky {
|
&.sticky {
|
||||||
@@ -312,7 +344,6 @@
|
|||||||
|
|
||||||
@include breakpoint($x-large) {
|
@include breakpoint($x-large) {
|
||||||
width: initial;
|
width: initial;
|
||||||
margin-right: initial;
|
margin-inline-end: initial;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,11 @@ figure.highlight {
|
|||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
|
|
||||||
|
[dir=rtl] & {
|
||||||
|
direction: ltr;
|
||||||
|
text-align: start;
|
||||||
|
}
|
||||||
|
|
||||||
> pre,
|
> pre,
|
||||||
pre.highlight {
|
pre.highlight {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@@ -33,17 +38,17 @@ figure.highlight {
|
|||||||
/* line numbers*/
|
/* line numbers*/
|
||||||
&.gutter,
|
&.gutter,
|
||||||
&.rouge-gutter {
|
&.rouge-gutter {
|
||||||
padding-right: 1em;
|
padding-inline-end: 1em;
|
||||||
width: 1em;
|
width: 1em;
|
||||||
color: $base04;
|
color: $base04;
|
||||||
border-right: 1px solid $base04;
|
border-inline-end: 1px solid $base04;
|
||||||
text-align: right;
|
text-align: end;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* code */
|
/* code */
|
||||||
&.code,
|
&.code,
|
||||||
&.rouge-code {
|
&.rouge-code {
|
||||||
padding-left: 1em;
|
padding-inline-start: 1em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ thead {
|
|||||||
th {
|
th {
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: left;
|
text-align: start;
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
|
|||||||
@@ -83,20 +83,11 @@ body:hover .visually-hidden button {
|
|||||||
Type
|
Type
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.text-left {
|
$text-alignments: left, right, start, end, center, justify;
|
||||||
text-align: left;
|
@each $alignment in $text-alignments {
|
||||||
|
.text-#{$alignment} {
|
||||||
|
text-align: $alignment;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-center {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-right {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-justify {
|
|
||||||
text-align: justify;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-nowrap {
|
.text-nowrap {
|
||||||
@@ -115,13 +106,13 @@ body:hover .visually-hidden button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.task-list-item-checkbox {
|
.task-list-item-checkbox {
|
||||||
margin-right: 0.5em;
|
margin-inline-end: 0.5em;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.task-list .task-list {
|
.task-list .task-list {
|
||||||
margin-left: 1em;
|
margin-inline-start: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -135,8 +126,7 @@ body:hover .visually-hidden button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -148,8 +138,7 @@ body:hover .visually-hidden button {
|
|||||||
|
|
||||||
.align-left {
|
.align-left {
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
float: left;
|
float: left;
|
||||||
@@ -161,8 +150,7 @@ body:hover .visually-hidden button {
|
|||||||
|
|
||||||
.align-right {
|
.align-right {
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
|
||||||
|
|
||||||
@include breakpoint($small) {
|
@include breakpoint($small) {
|
||||||
float: right;
|
float: right;
|
||||||
@@ -174,15 +162,14 @@ body:hover .visually-hidden button {
|
|||||||
|
|
||||||
.align-center {
|
.align-center {
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
margin-inline: auto;
|
||||||
margin-right: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* file page content container */
|
/* file page content container */
|
||||||
|
|
||||||
.full {
|
.full {
|
||||||
@include breakpoint($large) {
|
@include breakpoint($large) {
|
||||||
margin-right: -1 * span(2.5 of 12) !important;
|
margin-inline-end: -1 * span(2.5 of 12) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -211,118 +198,36 @@ body:hover .visually-hidden button {
|
|||||||
color: $text-color;
|
color: $text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fa-behance,
|
@each $color, $icons in (
|
||||||
.fa-behance-square {
|
$behance-color: ".fa-behance, .fa-behance-square",
|
||||||
color: $behance-color;
|
$bitbucket-color: ".fa-bitbucket",
|
||||||
|
$dribbble-color: ".fa-dribbble, .fa-dribbble-square",
|
||||||
|
$facebook-color: ".fa-facebook, .fa-facebook-square, .fa-facebook-f",
|
||||||
|
$flickr-color: ".fa-flickr",
|
||||||
|
$foursquare-color: ".fa-foursquare",
|
||||||
|
$github-color: ".fa-github, .fa-github-alt, .fa-github-square",
|
||||||
|
$gitlab-color: ".fa-gitlab",
|
||||||
|
$instagram-color: ".fa-instagram",
|
||||||
|
$keybase-color: ".fa-keybase",
|
||||||
|
$lastfm-color: ".fa-lastfm, .fa-lastfm-square",
|
||||||
|
$linkedin-color: ".fa-linkedin, .fa-linkedin-in",
|
||||||
|
$mastodon-color: ".fa-mastodon, .fa-mastodon-square",
|
||||||
|
$pinterest-color: ".fa-pinterest, .fa-pinterest-p, .fa-pinterest-square",
|
||||||
|
$reddit-color: ".fa-reddit",
|
||||||
|
$rss-color: ".fa-rss, .fa-rss-square",
|
||||||
|
$soundcloud-color: ".fa-soundcloud",
|
||||||
|
$stackoverflow-color: ".fa-stack-exchange, .fa-stack-overflow",
|
||||||
|
$tumblr-color: ".fa-tumblr, .fa-tumblr-square",
|
||||||
|
$twitter-color: ".fa-twitter, .fa-twitter-square",
|
||||||
|
$x-color: ".fa-x-twitter, .fa-square-x-twitter",
|
||||||
|
$vimeo-color: ".fa-vimeo, .fa-vimeo-square, .fa-vimeo-v",
|
||||||
|
$vine-color: ".fa-vine",
|
||||||
|
$xing-color: ".fa-xing, .fa-xing-square",
|
||||||
|
$youtube-color: ".fa-youtube",
|
||||||
|
) {
|
||||||
|
#{$icons} {
|
||||||
|
color: $color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fa-bitbucket {
|
|
||||||
color: $bitbucket-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-dribbble,
|
|
||||||
.fa-dribble-square {
|
|
||||||
color: $dribbble-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-facebook,
|
|
||||||
.fa-facebook-square,
|
|
||||||
.fa-facebook-f {
|
|
||||||
color: $facebook-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-flickr {
|
|
||||||
color: $flickr-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-foursquare {
|
|
||||||
color: $foursquare-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-github,
|
|
||||||
.fa-github-alt,
|
|
||||||
.fa-github-square {
|
|
||||||
color: $github-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-gitlab {
|
|
||||||
color: $gitlab-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-instagram {
|
|
||||||
color: $instagram-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-keybase {
|
|
||||||
color: $keybase-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-lastfm,
|
|
||||||
.fa-lastfm-square {
|
|
||||||
color: $lastfm-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-linkedin,
|
|
||||||
.fa-linkedin-in {
|
|
||||||
color: $linkedin-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-mastodon,
|
|
||||||
.fa-mastodon-square {
|
|
||||||
color: $mastodon-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-pinterest,
|
|
||||||
.fa-pinterest-p,
|
|
||||||
.fa-pinterest-square {
|
|
||||||
color: $pinterest-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-reddit {
|
|
||||||
color: $reddit-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-rss,
|
|
||||||
.fa-rss-square {
|
|
||||||
color: $rss-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-soundcloud {
|
|
||||||
color: $soundcloud-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-stack-exchange,
|
|
||||||
.fa-stack-overflow {
|
|
||||||
color: $stackoverflow-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-tumblr,
|
|
||||||
.fa-tumblr-square {
|
|
||||||
color: $tumblr-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-twitter,
|
|
||||||
.fa-twitter-square {
|
|
||||||
color: $twitter-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-vimeo,
|
|
||||||
.fa-vimeo-square,
|
|
||||||
.fa-vimeo-v {
|
|
||||||
color: $vimeo-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-vine {
|
|
||||||
color: $vine-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-youtube {
|
|
||||||
color: $youtube-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
.fa-xing,
|
|
||||||
.fa-xing-square {
|
|
||||||
color: $xing-color;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -339,11 +244,11 @@ body:hover .visually-hidden button {
|
|||||||
-webkit-transition: 0.3s;
|
-webkit-transition: 0.3s;
|
||||||
transition: 0.3s;
|
transition: 0.3s;
|
||||||
|
|
||||||
&:before,
|
&::before,
|
||||||
&:after {
|
&::after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
inset-inline-start: 0;
|
||||||
width: $navicon-width;
|
width: $navicon-width;
|
||||||
height: $navicon-height;
|
height: $navicon-height;
|
||||||
background: $primary-color;
|
background: $primary-color;
|
||||||
@@ -385,6 +290,33 @@ body:hover .visually-hidden button {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.greedy-nav__toggle {
|
||||||
|
&:before {
|
||||||
|
@supports (pointer-events: none) {
|
||||||
|
content: '';
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
inset-inline-start: 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 {
|
.greedy-nav__toggle:hover {
|
||||||
.navicon,
|
.navicon,
|
||||||
.navicon:before,
|
.navicon:before,
|
||||||
@@ -438,11 +370,11 @@ body:hover .visually-hidden button {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&:before {
|
&::before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: "";
|
content: "";
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
inset-inline-start: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
@@ -459,8 +391,8 @@ body:hover .visually-hidden button {
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
inset-inline-start: 50%;
|
||||||
margin-left: -150px;
|
margin-inline-start: -150px;
|
||||||
margin-top: -150px;
|
margin-top: -150px;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
@@ -551,7 +483,7 @@ a.reversefootnote {
|
|||||||
embed {
|
embed {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
inset-inline-start: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
@@ -564,3 +496,74 @@ a.reversefootnote {
|
|||||||
position: static;
|
position: static;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Copy <pre> block to clipboard
|
||||||
|
========================================================================== */
|
||||||
|
|
||||||
|
// a <textarea> to hold text for document.execCommand("copy")
|
||||||
|
.clipboard-helper {
|
||||||
|
// Prevent zooming on iOS
|
||||||
|
font-size: 12pt !important;
|
||||||
|
border: 0 !important;
|
||||||
|
padding: 0 !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
outline: none !important;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
&.highlight .clipboard-copy-button {
|
||||||
|
color: #ffffca;
|
||||||
|
}
|
||||||
|
|
||||||
|
.clipboard-copy-button {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
top: 0.6em;
|
||||||
|
inset-inline-end: 0.5em;
|
||||||
|
width: 1.8em;
|
||||||
|
height: 1.5em;
|
||||||
|
z-index: 1;
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
outline: none;
|
||||||
|
border-radius: 0.1em;
|
||||||
|
padding: 0.2em 0.5em;
|
||||||
|
opacity: 0.4;
|
||||||
|
transition: color 0.25s linear -0.25s, opacity 0.25s linear;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
i {
|
||||||
|
position: absolute;
|
||||||
|
top: 0.25em;
|
||||||
|
inset-inline-end: 0.25em;
|
||||||
|
&.copied {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.copied i {
|
||||||
|
opacity: 0;
|
||||||
|
&.copied {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@at-root {
|
||||||
|
.no-copy & {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover .clipboard-copy-button {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -6,29 +6,65 @@
|
|||||||
Typography
|
Typography
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
$doc-font-size: 16 !default;
|
$doc-font-size: 16px !default;
|
||||||
|
$doc-font-size-medium: $doc-font-size * 1.125 !default;
|
||||||
|
$doc-font-size-large: $doc-font-size * 1.25 !default;
|
||||||
|
$doc-font-size-x-large: $doc-font-size * 1.375 !default;
|
||||||
|
|
||||||
/* paragraph indention */
|
/* paragraph indention */
|
||||||
$paragraph-indent: false !default; // true, false (default)
|
$paragraph-indent: false !default; // true, false (default)
|
||||||
$indent-var: 1.3em !default;
|
$indent-var: 1.3em !default;
|
||||||
|
|
||||||
/* system typefaces */
|
/* Modern font stack */
|
||||||
$serif: Georgia, Times, serif !default;
|
/* https://github.com/system-fonts/modern-font-stacks */
|
||||||
$sans-serif: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI",
|
|
||||||
"Helvetica Neue", "Lucida Grande", Arial, sans-serif !default;
|
|
||||||
$monospace: Monaco, Consolas, "Lucida Console", monospace !default;
|
|
||||||
|
|
||||||
/* sans serif typefaces */
|
/* Sans serif - modern font stack */
|
||||||
$sans-serif-narrow: $sans-serif !default;
|
$system-ui: system-ui, sans-serif;
|
||||||
|
$humanist: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
|
||||||
|
$geometric-humanist: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
|
||||||
|
$classical-humanist: Optima, Candara, 'Noto Sans', source-sans-pro, sans-serif;
|
||||||
|
$neo-grotesque: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
|
||||||
|
$industrial: Bahnschrift, 'DIN Alternate', 'Franklin Gothic Medium', 'Nimbus Sans Narrow', sans-serif-condensed, sans-serif;
|
||||||
|
$rounded-sans: ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, Manjari, 'Arial Rounded MT', 'Arial Rounded MT Bold', Calibri, source-sans-pro, sans-serif;
|
||||||
|
|
||||||
|
/* sans serif typefaces - defined in Minimal Mistakes */
|
||||||
$helvetica: Helvetica, "Helvetica Neue", Arial, sans-serif !default;
|
$helvetica: Helvetica, "Helvetica Neue", Arial, sans-serif !default;
|
||||||
|
|
||||||
/* serif typefaces */
|
/* Serif - modern font stack */
|
||||||
|
$transitional: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, serif;
|
||||||
|
$old-style: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;;
|
||||||
|
$monospace-slab-serif: 'Nimbus Mono PS', 'Courier New', monospace;
|
||||||
|
$slab-serif: Rockwell, 'Rockwell Nova', 'Roboto Slab', 'DejaVu Serif', 'Sitka Small', serif;
|
||||||
|
$antique: Superclarendon, 'Bookman Old Style', 'URW Bookman', 'URW Bookman L', 'Georgia Pro', Georgia, serif;
|
||||||
|
$didone: Didot, 'Bodoni MT', 'Noto Serif Display', 'URW Palladio L', P052, Sylfaen, serif;
|
||||||
|
|
||||||
|
/* serif typefaces - defined in Minimal Mistakes */
|
||||||
$georgia: Georgia, serif !default;
|
$georgia: Georgia, serif !default;
|
||||||
$times: Times, serif !default;
|
$times: Times, serif !default;
|
||||||
$bodoni: "Bodoni MT", serif !default;
|
$bodoni: "Bodoni MT", serif !default;
|
||||||
$calisto: "Calisto MT", serif !default;
|
$calisto: "Calisto MT", serif !default;
|
||||||
$garamond: Garamond, serif !default;
|
$garamond: Garamond, serif !default;
|
||||||
|
|
||||||
|
/* Monospace - modern font stack */
|
||||||
|
$monospace-code: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
|
||||||
|
|
||||||
|
/* Handwritten - modern font stack */
|
||||||
|
$handwritten: 'Segoe Print', 'Bradley Hand', Chilanka, TSCu_Comic, casual, cursive;
|
||||||
|
|
||||||
|
/* Defaults used in Minimal mistakes */
|
||||||
|
$default-sans-serif: -apple-system, BlinkMacSystemFont, "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
|
||||||
|
$default-serif: Georgia, Times, serif;
|
||||||
|
$default-monospace: Monaco, Consolas, "Lucida Console", monospace;
|
||||||
|
|
||||||
|
/* Emoji native from modern font stack - add to the end of the font-face for native emojis */
|
||||||
|
$emoji-native: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
||||||
|
|
||||||
|
/* system typefaces */
|
||||||
|
$serif: $default-serif !default;
|
||||||
|
$sans-serif: $default-sans-serif !default;
|
||||||
|
$sans-serif-narrow: $sans-serif !default;
|
||||||
|
$monospace: $default-monospace !default;
|
||||||
|
|
||||||
$global-font-family: $sans-serif !default;
|
$global-font-family: $sans-serif !default;
|
||||||
$header-font-family: $sans-serif !default;
|
$header-font-family: $sans-serif !default;
|
||||||
$caption-font-family: $serif !default;
|
$caption-font-family: $serif !default;
|
||||||
@@ -43,12 +79,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,7 +101,7 @@ $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;
|
||||||
@@ -79,6 +123,7 @@ $yiq-debug: false !default;
|
|||||||
/* brands */
|
/* brands */
|
||||||
$behance-color: #1769ff !default;
|
$behance-color: #1769ff !default;
|
||||||
$bitbucket-color: #205081 !default;
|
$bitbucket-color: #205081 !default;
|
||||||
|
$bluesky-color: #1083fe !default;
|
||||||
$dribbble-color: #ea4c89 !default;
|
$dribbble-color: #ea4c89 !default;
|
||||||
$facebook-color: #3b5998 !default;
|
$facebook-color: #3b5998 !default;
|
||||||
$flickr-color: #ff0084 !default;
|
$flickr-color: #ff0084 !default;
|
||||||
@@ -97,19 +142,24 @@ $soundcloud-color: #ff3300 !default;
|
|||||||
$stackoverflow-color: #fe7a15 !default;
|
$stackoverflow-color: #fe7a15 !default;
|
||||||
$tumblr-color: #32506d !default;
|
$tumblr-color: #32506d !default;
|
||||||
$twitter-color: #55acee !default;
|
$twitter-color: #55acee !default;
|
||||||
|
$x-color: #0f1419 !default;
|
||||||
$vimeo-color: #1ab7ea !default;
|
$vimeo-color: #1ab7ea !default;
|
||||||
$vine-color: #00bf8f !default;
|
$vine-color: #00bf8f !default;
|
||||||
$youtube-color: #bb0000 !default;
|
$youtube-color: #bb0000 !default;
|
||||||
$xing-color: #006567 !default;
|
$xing-color: #006567 !default;
|
||||||
|
|
||||||
/* links */
|
/* links */
|
||||||
$link-color: mix(#000, $info-color, 15%) !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, 15%) !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;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user