Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
81f0e88710 | ||
|
|
121d240da2 | ||
|
|
05456d8fdb | ||
|
|
c6aa447427 | ||
|
|
03578f8307 | ||
|
|
407cdb66c5 | ||
|
|
a1509e9064 | ||
|
|
cd73c4ab4d | ||
|
|
7b08a2241c | ||
|
|
998aee7bf3 | ||
|
|
427d44f472 | ||
|
|
e9389be6ff | ||
|
|
bfc47b118e | ||
|
|
9a98c6e95a | ||
|
|
4560ad96d4 | ||
|
|
d38a1055bf | ||
|
|
f98ef89528 | ||
|
|
0e504a57af | ||
|
|
11baac5f89 | ||
|
|
7093887500 | ||
|
|
ebc2fa55a3 | ||
|
|
2cebe7c007 | ||
|
|
574d41791d | ||
|
|
08305ed202 | ||
|
|
1f1d62d7c1 | ||
|
|
3a1b44c177 | ||
|
|
7f55de67d4 | ||
|
|
c51559dee5 | ||
|
|
65ad575c9c | ||
|
|
f83bec6b7a | ||
|
|
de65642d01 | ||
|
|
aee443b910 | ||
|
|
93316769fe | ||
|
|
0eea244097 | ||
|
|
cb3d124999 | ||
|
|
b36b892901 | ||
|
|
17dfc5503c | ||
|
|
ae9ee3f069 | ||
|
|
3ac8ed5556 | ||
|
|
f6f36a851e | ||
|
|
a05ba20c85 | ||
|
|
be89d0e2b3 | ||
|
|
1e99e63084 | ||
|
|
d1f332b9cf | ||
|
|
8642fc75cf | ||
|
|
0789219758 | ||
|
|
f8d4b06330 | ||
|
|
f768428e0b | ||
|
|
d9e1593377 | ||
|
|
0fed115c96 | ||
|
|
884d84363e | ||
|
|
4389aa5555 | ||
|
|
03f078ba8e | ||
|
|
1ef3c02588 | ||
|
|
bca3c4dd99 | ||
|
|
ee8703a515 | ||
|
|
4ee83032e9 | ||
|
|
5578f37a6b | ||
|
|
276e215ff6 | ||
|
|
2cda8e72b3 | ||
|
|
ba79ed3442 | ||
|
|
f74b1bc2e6 | ||
|
|
417606bde5 | ||
|
|
a0d04df2b3 | ||
|
|
de68f8d46e | ||
|
|
2e3fb57ce8 | ||
|
|
d0db9190d4 | ||
|
|
f6f6aa9577 | ||
|
|
43dcc375d6 | ||
|
|
8db2442743 | ||
|
|
452bdd408b | ||
|
|
80746a1fce | ||
|
|
b29c6614dc | ||
|
|
1597b4b356 | ||
|
|
6e5a0769d3 | ||
|
|
f441e653fb | ||
|
|
ad5295d335 | ||
|
|
edab149fca | ||
|
|
fcd9b6cc89 | ||
|
|
01dafef575 | ||
|
|
7f4e044464 | ||
|
|
7094f95a27 | ||
|
|
cc7989614a | ||
|
|
f2fd7a35cc | ||
|
|
9b6ed820e9 | ||
|
|
1a86ce0bd7 | ||
|
|
ce18bf1134 | ||
|
|
719e505d01 | ||
|
|
cac66e0fd7 | ||
|
|
fba28d5274 | ||
|
|
c714e91685 | ||
|
|
831af00253 | ||
|
|
f153250887 | ||
|
|
eef77a4a80 | ||
|
|
2e4e97c5b8 | ||
|
|
b91653687b | ||
|
|
b4a13da6d8 | ||
|
|
9c5ecfb45b | ||
|
|
4a19b81bd5 | ||
|
|
faeb1e1dea | ||
|
|
925065a5bd | ||
|
|
792ec9a601 | ||
|
|
8bfa9926c7 | ||
|
|
90e553541e | ||
|
|
a19edf471b | ||
|
|
40eea78d8c | ||
|
|
4550723e94 | ||
|
|
c9c8a36c16 | ||
|
|
6c8e0d7933 | ||
|
|
9a043d83ab | ||
|
|
9b35cc2bae | ||
|
|
d8ea1d81b5 | ||
|
|
751856fcc2 | ||
|
|
ba45e11207 | ||
|
|
de43ea47cb | ||
|
|
eb01381598 | ||
|
|
9665fe953c | ||
|
|
d4620d5318 | ||
|
|
2c6a95a755 | ||
|
|
fefb7d2fb5 | ||
|
|
ba8aac3a14 | ||
|
|
908c988d06 | ||
|
|
d517626b4e | ||
|
|
e608898f83 | ||
|
|
c47160936b | ||
|
|
44e02bbc13 | ||
|
|
cfa5c6f32d | ||
|
|
4afe06a57d | ||
|
|
f02776ff4f | ||
|
|
60ed15f97c | ||
|
|
0eba74c3c6 | ||
|
|
1802b07e29 | ||
|
|
3918571644 | ||
|
|
a27d65ad36 | ||
|
|
84185205e1 | ||
|
|
4417b41319 | ||
|
|
57b5c2cf6e | ||
|
|
4a9363b1bf | ||
|
|
b993c203d3 | ||
|
|
30a1bd281e | ||
|
|
af3893546a | ||
|
|
c7ed2261a3 | ||
|
|
0ce00113cb | ||
|
|
9cd5e2e575 | ||
|
|
a073bd45d9 | ||
|
|
e52cc05f63 | ||
|
|
0048f8b6dd | ||
|
|
da627a0cc7 | ||
|
|
98a73acbfa | ||
|
|
7305c4ae0b | ||
|
|
94c6132efe | ||
|
|
d7471833a9 | ||
|
|
3aa845e5cc | ||
|
|
f8124a6ac9 | ||
|
|
3344870b90 | ||
|
|
c599c3489e | ||
|
|
62a3ccc041 | ||
|
|
2c39e2654c | ||
|
|
9b6544fa09 | ||
|
|
435c1050f9 | ||
|
|
b9a45ea2a9 | ||
|
|
8b41f89455 | ||
|
|
374a0f51f7 | ||
|
|
b3bc04cfc3 | ||
|
|
7b694613da | ||
|
|
2c9f1af5b2 | ||
|
|
e619196b81 | ||
|
|
d8dc422205 | ||
|
|
ec8d9297f9 | ||
|
|
f827f8e8d8 | ||
|
|
8e1c70b5f6 | ||
|
|
8823610faf | ||
|
|
132e932bd4 | ||
|
|
45c084afa0 | ||
|
|
22f097f92a | ||
|
|
9eebb5b2aa | ||
|
|
e6968d877f | ||
|
|
4b9e63fd99 | ||
|
|
d7fc5acd05 | ||
|
|
44c20b3cf0 | ||
|
|
ab16811839 | ||
|
|
3d2ffada0f | ||
|
|
98f5b2c3b4 | ||
|
|
7cb8dcc4a1 | ||
|
|
e26666c001 | ||
|
|
646d1eca82 | ||
|
|
6f0238652b | ||
|
|
619fe502dc | ||
|
|
1159e78cc3 | ||
|
|
545febc7c0 | ||
|
|
17292857a7 | ||
|
|
7c4c740b25 | ||
|
|
65ab50a901 | ||
|
|
bcc9cf9f6c | ||
|
|
c330c17215 | ||
|
|
b777d4e59e | ||
|
|
019388def8 | ||
|
|
843677c383 | ||
|
|
d35cb4012b | ||
|
|
16bbb0f464 | ||
|
|
b96e5120ef | ||
|
|
97b2f5c851 | ||
|
|
84163ad4ea | ||
|
|
8c1365d819 | ||
|
|
f1a11b3357 | ||
|
|
ab385ef0e7 | ||
|
|
e1f59b6108 | ||
|
|
cfeab47b1b | ||
|
|
f04b850966 | ||
|
|
1cb5e9ab2f | ||
|
|
cfa6913496 | ||
|
|
ad7bac5432 | ||
|
|
f68b90589c | ||
|
|
97fa4b4970 | ||
|
|
1bbe7b5173 | ||
|
|
9872eebdde | ||
|
|
df859f1d70 | ||
|
|
6f6584e83a | ||
|
|
cd93ec0708 | ||
|
|
3f0dc1d6e1 | ||
|
|
340364f31a | ||
|
|
d21a4e6e4a | ||
|
|
01b998e070 | ||
|
|
5bab41062a | ||
|
|
b1b7aa1f42 | ||
|
|
8911ac843a | ||
|
|
cb479d5693 | ||
|
|
9c1d56e0e7 | ||
|
|
6d6b5d3946 | ||
|
|
ff3a6b4253 | ||
|
|
0f7f27b916 | ||
|
|
c8ee5fc657 | ||
|
|
e3194eca1e | ||
|
|
d25ec813f3 | ||
|
|
5fe9f56561 | ||
|
|
ade5f2c6d6 | ||
|
|
3e652b3749 | ||
|
|
986c67effc | ||
|
|
174138d4b4 | ||
|
|
488be56b5f | ||
|
|
53eff2b690 | ||
|
|
c14887e992 | ||
|
|
dab39ebe02 | ||
|
|
e6cd7a9948 | ||
|
|
64aed3c6e7 | ||
|
|
d8add6e15f | ||
|
|
ecd990b5e5 | ||
|
|
295ce738be | ||
|
|
ed6fb66bbe | ||
|
|
6e9fa7825b | ||
|
|
8deb28fb6c | ||
|
|
6f5d15a938 | ||
|
|
2e52ed70cc | ||
|
|
f67647f2f0 | ||
|
|
ce1b0abc7d | ||
|
|
c6f205d41f | ||
|
|
328bfb553f | ||
|
|
7586dd8997 | ||
|
|
84a23d7e1f | ||
|
|
7890d88c12 | ||
|
|
541f40c370 | ||
|
|
73b3814e7b | ||
|
|
c52f47ae4b | ||
|
|
2ff69874c1 | ||
|
|
d4f703b397 | ||
|
|
a2c4e88a06 | ||
|
|
09d08ef3ed | ||
|
|
db48c825c6 | ||
|
|
126941a98d | ||
|
|
97aaec0c5b | ||
|
|
e047f620d9 | ||
|
|
1e80605801 | ||
|
|
a4c349383b | ||
|
|
bf85845bc2 | ||
|
|
9906b03fa9 | ||
|
|
e355715a3b | ||
|
|
af221fbf3b | ||
|
|
f94f60aef6 | ||
|
|
c648324aca | ||
|
|
479e2efff4 | ||
|
|
a66464e972 | ||
|
|
6bf8cc6c9c | ||
|
|
b48172bd63 | ||
|
|
99ae96f436 | ||
|
|
f4fb43dfaf | ||
|
|
4fa6542bf2 | ||
|
|
2ff90348e7 | ||
|
|
fa8d3ed4ea | ||
|
|
b30e9da6cc | ||
|
|
dde8b29674 | ||
|
|
7af1ca359b | ||
|
|
42f7e80bcd | ||
|
|
539a776d1c | ||
|
|
55efc7f208 | ||
|
|
d9151db6c0 | ||
|
|
ccc7fc8a98 | ||
|
|
9bf7c1dc0b | ||
|
|
4bb67ca1ca | ||
|
|
97b5a3acdd | ||
|
|
76aa3741d1 | ||
|
|
814df64d92 | ||
|
|
aa76e94538 | ||
|
|
58b7a6be39 | ||
|
|
2efd19e793 | ||
|
|
41f6b37e56 | ||
|
|
3150fb6631 | ||
|
|
637c43a125 | ||
|
|
b005096833 | ||
|
|
9cc808ea93 | ||
|
|
710709d527 | ||
|
|
4b5403051d | ||
|
|
0840169724 | ||
|
|
9d0aecf41f | ||
|
|
545b25e786 | ||
|
|
cd4538bdb0 | ||
|
|
2bdd3f1422 | ||
|
|
a6cc41ce54 | ||
|
|
27ebe4edb4 | ||
|
|
67b605d396 | ||
|
|
784e1d3e37 | ||
|
|
273049009a | ||
|
|
ec07de5be1 | ||
|
|
c5c8da20ae | ||
|
|
65637ec3f0 | ||
|
|
4c9a059635 | ||
|
|
226bcc0c70 | ||
|
|
89f5e8d1de | ||
|
|
5095321809 | ||
|
|
a1a29be725 | ||
|
|
c0233354e3 | ||
|
|
a67f31aa06 | ||
|
|
f57935e5ca | ||
|
|
a3b6dfacd5 | ||
|
|
a4f18b8242 | ||
|
|
943b84401c | ||
|
|
5b119251df | ||
|
|
4b9062f4c1 | ||
|
|
e78105429f | ||
|
|
a070040538 | ||
|
|
344f7de0da | ||
|
|
ade00547b3 | ||
|
|
10ffbca4c0 | ||
|
|
571b875f4a | ||
|
|
6a4123f59f | ||
|
|
f8d272d9ad | ||
|
|
4069292ca7 | ||
|
|
4e65fec48f | ||
|
|
e87d4f59bb | ||
|
|
417f6ef42c | ||
|
|
7fe13cbe14 | ||
|
|
9e6ffcc676 | ||
|
|
cd1982264e | ||
|
|
a3dd43e992 | ||
|
|
3107f45b6e | ||
|
|
5972db38ab | ||
|
|
73119cddbe | ||
|
|
12de0ffd88 | ||
|
|
c852d9293c | ||
|
|
2b6fccb627 | ||
|
|
47ad966c42 | ||
|
|
e0052eb58c | ||
|
|
4eb9d037e4 | ||
|
|
ca181417cc | ||
|
|
f6ce421385 | ||
|
|
0fa2ceb233 | ||
|
|
fcd02369bb | ||
|
|
987c65319a | ||
|
|
d9299ffb1e | ||
|
|
0ccf94b890 | ||
|
|
87586e58ae | ||
|
|
96d164265f | ||
|
|
848ac6b17b | ||
|
|
da9eb9da47 | ||
|
|
c0343962dd | ||
|
|
27019d5459 | ||
|
|
904176c43c | ||
|
|
3ee9ed824f | ||
|
|
550011ee58 | ||
|
|
c3f6f901a5 | ||
|
|
3ba7c80c65 | ||
|
|
f4c5635448 | ||
|
|
595cd926d7 | ||
|
|
b3c70cedf7 | ||
|
|
aec737ff16 | ||
|
|
ccf5e24f55 | ||
|
|
54a643d703 | ||
|
|
b65fce4468 | ||
|
|
3865ba9e7d | ||
|
|
ffee736d78 | ||
|
|
ff7bf72992 | ||
|
|
7f4e4dab40 | ||
|
|
352130c6a8 | ||
|
|
b9bb959a48 | ||
|
|
c1d4a32a97 | ||
|
|
d7220bd0ee | ||
|
|
4351bb10fb | ||
|
|
9cb306a403 | ||
|
|
18f1ed9978 | ||
|
|
26637ee585 | ||
|
|
9f07989148 | ||
|
|
5b376cc116 | ||
|
|
fef2b64ca9 | ||
|
|
8d9c93e7b8 | ||
|
|
4d1d3c5311 | ||
|
|
dc778836f1 | ||
|
|
edbace7be0 | ||
|
|
ec912c4a92 | ||
|
|
cc702b0582 | ||
|
|
f0e0af3a3c | ||
|
|
26ac8ab715 | ||
|
|
a7080de207 | ||
|
|
7817866a68 | ||
|
|
dca9e177c5 | ||
|
|
cb7d9be576 | ||
|
|
f9b4e1ef93 | ||
|
|
2d4149dcd9 | ||
|
|
0b7486049c | ||
|
|
4285a740fa | ||
|
|
48d925ad98 | ||
|
|
01622ede5a | ||
|
|
92d35bdfec | ||
|
|
1ac78d12a3 | ||
|
|
a36511aab9 | ||
|
|
b3866a53e9 | ||
|
|
13025d599e | ||
|
|
6b7b365b1c | ||
|
|
9487bb0a82 | ||
|
|
b3ee5b2dd4 | ||
|
|
5b84d57817 | ||
|
|
5009fffcf4 | ||
|
|
2ff6b0e8bd | ||
|
|
bf1155e908 | ||
|
|
48124c0ec3 | ||
|
|
ab9f0b6af8 | ||
|
|
a679625472 | ||
|
|
ec2df672d2 | ||
|
|
c4753defd4 | ||
|
|
24cb5791c2 | ||
|
|
c8b9b8db3e | ||
|
|
972ee7884f | ||
|
|
e0bbd48c8a | ||
|
|
3e4d7d2b56 | ||
|
|
706ca73aa0 | ||
|
|
fe195509ed | ||
|
|
6588418754 | ||
|
|
ecf6d1d53f | ||
|
|
c4e658057e | ||
|
|
8930731ccc | ||
|
|
bda68f96a8 | ||
|
|
c362f4a488 | ||
|
|
c8265de813 | ||
|
|
80927fb37a | ||
|
|
b0c3ac1321 | ||
|
|
9bf09a8a3f | ||
|
|
7475312c13 | ||
|
|
8378089dfb | ||
|
|
d81c6d3f83 | ||
|
|
12c224d4f8 | ||
|
|
df4a407cab | ||
|
|
ab9add3278 | ||
|
|
26999653ce | ||
|
|
86e88935c7 | ||
|
|
8913a1c641 | ||
|
|
03c3f18b72 | ||
|
|
1461ee534d | ||
|
|
cb2609a65d | ||
|
|
23e0416f51 | ||
|
|
367be5c6d4 | ||
|
|
237c90afa9 | ||
|
|
d8bdf7e316 | ||
|
|
965c241f8c | ||
|
|
ad1ba9905d | ||
|
|
b4a7741b39 | ||
|
|
6bed0f2624 | ||
|
|
c210a12589 | ||
|
|
e9141435c0 | ||
|
|
7fb7ab2eac | ||
|
|
b73c64f4f5 | ||
|
|
5e8561d83b | ||
|
|
fed64fa58d | ||
|
|
c545fc3344 | ||
|
|
f12ae0b402 | ||
|
|
2c71bda97f | ||
|
|
0d485fcbf3 | ||
|
|
0e3cbbb150 | ||
|
|
871b6087f3 | ||
|
|
8ed5b3de1f | ||
|
|
6f0b523e94 | ||
|
|
9e5a7f9d29 | ||
|
|
8d05df18dc | ||
|
|
95b62176cf | ||
|
|
01467db3a8 | ||
|
|
0999dc2319 | ||
|
|
f806c36ade | ||
|
|
35eaa94c3a | ||
|
|
71f4eda1fd | ||
|
|
150d336ace | ||
|
|
aab67b5dff | ||
|
|
503fe8fc5c | ||
|
|
94dfe274f3 | ||
|
|
648ba17c83 | ||
|
|
3253e366b3 | ||
|
|
5ebb8a9a63 | ||
|
|
35634529df | ||
|
|
6d94d1d62c | ||
|
|
037c741ded | ||
|
|
0b3ba247b3 | ||
|
|
ecd40c85e7 | ||
|
|
aec7af1f4e | ||
|
|
78f5910f0e | ||
|
|
5ebd4ef0dd | ||
|
|
25977d8115 | ||
|
|
65a50ff643 | ||
|
|
cc2e90233a | ||
|
|
17faf8b738 | ||
|
|
48a2d64023 | ||
|
|
82622d38d8 | ||
|
|
61ad34afde | ||
|
|
2978995211 | ||
|
|
35faec527b | ||
|
|
8d940881a4 | ||
|
|
ebca0ffcc7 | ||
|
|
b83889b72f | ||
|
|
0f83712a3d | ||
|
|
dfd03ad722 | ||
|
|
4d200adfd3 | ||
|
|
ece7b66be3 | ||
|
|
af55c359a7 | ||
|
|
83dcf2dfdc | ||
|
|
589f6997dd | ||
|
|
0b3ee8daa5 | ||
|
|
8906801a94 | ||
|
|
171e64dd38 | ||
|
|
88c5d03a68 | ||
|
|
6de26cd2da | ||
|
|
39fe82f4b9 | ||
|
|
db602b14ea | ||
|
|
152fe82f1d | ||
|
|
e0da6e87e5 | ||
|
|
e0d492c5b1 | ||
|
|
28a5b0b41f | ||
|
|
8e39564fa7 | ||
|
|
d745426f41 | ||
|
|
e28a53dcdf | ||
|
|
16c7bf8de1 | ||
|
|
13d42f44aa | ||
|
|
993ffd0c05 | ||
|
|
20ff46b82f | ||
|
|
37e6e621b5 | ||
|
|
885d2ee040 | ||
|
|
efb81ffdd5 | ||
|
|
36261b13e7 | ||
|
|
9f9bb7dcd8 | ||
|
|
35458a6029 | ||
|
|
fafe7686b1 | ||
|
|
a34947a630 | ||
|
|
7f8004e6af | ||
|
|
ed7a36655b | ||
|
|
80486364cd | ||
|
|
f82776c86b | ||
|
|
1736cafcf4 | ||
|
|
1e9458802a | ||
|
|
51b9cdfb13 | ||
|
|
a9aae948eb | ||
|
|
9c1653bcdd | ||
|
|
f009101198 | ||
|
|
3a17e8d602 | ||
|
|
a7d6778529 | ||
|
|
816127ef5c | ||
|
|
262fda5deb | ||
|
|
d6265341d1 | ||
|
|
51c29274f9 | ||
|
|
435775c29f | ||
|
|
98f180e054 | ||
|
|
ee9aa4ce0c | ||
|
|
43857a5aa9 | ||
|
|
412401ce32 | ||
|
|
7da1a1fdd8 | ||
|
|
bc2a1114da | ||
|
|
c0c83e4c59 | ||
|
|
8c42d127ff | ||
|
|
d39a64afe1 | ||
|
|
91fe08d205 | ||
|
|
2886dea826 | ||
|
|
6d941ee3d7 | ||
|
|
79171f488c | ||
|
|
b18cfbf0d7 | ||
|
|
62e5fc2564 | ||
|
|
fda569cb8b | ||
|
|
e9edfa8f1c | ||
|
|
49e463b726 | ||
|
|
495562826c | ||
|
|
2051b65df1 | ||
|
|
0c56934fb6 | ||
|
|
723b15d4e7 | ||
|
|
6976c9b9da | ||
|
|
09b6051f96 | ||
|
|
705a052633 | ||
|
|
e0503a329b | ||
|
|
c5bd31b3db | ||
|
|
7875024850 | ||
|
|
214e05b7b0 | ||
|
|
878066ef53 | ||
|
|
414c8dc8db | ||
|
|
1f49f8f89f | ||
|
|
2f12b8d0d9 | ||
|
|
f2e224a042 | ||
|
|
560e927b87 | ||
|
|
485b641756 | ||
|
|
03f9c7d732 | ||
|
|
9aa6ec7e57 | ||
|
|
472a89c7a5 | ||
|
|
92229cfda9 | ||
|
|
8fef4e4424 | ||
|
|
fa6e9e122f | ||
|
|
3e52d26e30 | ||
|
|
e3e12fff5f | ||
|
|
250b39c40e | ||
|
|
c2ea4c27b6 | ||
|
|
da44c6e047 | ||
|
|
d97945d23b | ||
|
|
1c43a42adb | ||
|
|
c308942f0c | ||
|
|
771673c79a | ||
|
|
4c92836470 | ||
|
|
87f4f2529a | ||
|
|
7269b6642d | ||
|
|
f3ea173e21 | ||
|
|
86bc307033 | ||
|
|
ce88fc8b27 | ||
|
|
6d73dcc941 | ||
|
|
7524bbca7e | ||
|
|
e3994c650e | ||
|
|
f864a3da51 | ||
|
|
cee01113cd | ||
|
|
52b47665c8 | ||
|
|
64d8a6267b | ||
|
|
d97b1e5c38 | ||
|
|
de49717700 | ||
|
|
9f85c0566e | ||
|
|
9cb0db3e08 | ||
|
|
4ff3d07d30 | ||
|
|
37ab1055e7 | ||
|
|
07c897c3b9 | ||
|
|
c3fbfc9545 | ||
|
|
eee95cf5a7 | ||
|
|
72a6b84d04 | ||
|
|
a6739eb7d8 | ||
|
|
64e09b546b | ||
|
|
0b1f43373f | ||
|
|
bcf13c4dee | ||
|
|
8387c6ea0a | ||
|
|
397197a890 | ||
|
|
c9369d61e6 | ||
|
|
a1db31f370 | ||
|
|
0b5792987f | ||
|
|
1320d51586 | ||
|
|
58f0e30d65 | ||
|
|
e6f0522b60 | ||
|
|
018b6ece23 | ||
|
|
456f630dab | ||
|
|
73411d6865 | ||
|
|
eaceca84fb | ||
|
|
4ca31fadca | ||
|
|
7cc521bc1e | ||
|
|
850f987a68 | ||
|
|
3aabf55f89 | ||
|
|
9b6fffafc3 | ||
|
|
d10340d72c | ||
|
|
8fdd687640 | ||
|
|
dc36597427 | ||
|
|
80e9daaf67 | ||
|
|
9751a37436 | ||
|
|
90b798ec33 | ||
|
|
e26d1c7e74 | ||
|
|
e785f50575 | ||
|
|
d4ab6b1159 | ||
|
|
6be21955d5 | ||
|
|
fb2c7b88e2 | ||
|
|
287bb274eb | ||
|
|
87138e8ee0 | ||
|
|
533e7c5015 | ||
|
|
0b06a64139 | ||
|
|
d58d8d5534 | ||
|
|
3ab8892302 | ||
|
|
6ff5508c4b | ||
|
|
94424416bc | ||
|
|
f316c9b437 | ||
|
|
79a6007bd8 | ||
|
|
68bd843e73 | ||
|
|
26f3f0510b | ||
|
|
e9ebdc4dbe | ||
|
|
8f17fb2b37 | ||
|
|
35f31317e9 | ||
|
|
7afecd63e5 | ||
|
|
375bf31e0b | ||
|
|
c93fafd3ee | ||
|
|
f711f1afaa | ||
|
|
5fc28a1ffd | ||
|
|
248180fbc5 | ||
|
|
b7478e4bad | ||
|
|
a95165da21 | ||
|
|
add29d687d | ||
|
|
43c5551ee9 | ||
|
|
05756a31a4 | ||
|
|
9fec001916 | ||
|
|
15bf72abb3 | ||
|
|
ab4d88511a | ||
|
|
553edf4f2a | ||
|
|
130433c253 | ||
|
|
754076de7f | ||
|
|
321e1cf07c | ||
|
|
01fc28a36a | ||
|
|
28675c347e | ||
|
|
2abffc3e26 | ||
|
|
4ebf766331 | ||
|
|
da1a923993 | ||
|
|
b68d82dc79 | ||
|
|
0b127993c5 | ||
|
|
ee41a7a4e3 | ||
|
|
87ed609be2 | ||
|
|
b98d016269 | ||
|
|
34a1c6a629 | ||
|
|
1323da317c | ||
|
|
d443f3adbb | ||
|
|
4a2e4aa4ed | ||
|
|
530806dbf2 | ||
|
|
3680ff6458 | ||
|
|
99d1fb28ba | ||
|
|
24df345a03 | ||
|
|
9b35221031 | ||
|
|
22b55a2982 | ||
|
|
69fc96ed5b | ||
|
|
deec874d7c | ||
|
|
eb0d04a014 | ||
|
|
bc6d4d86c7 | ||
|
|
2bbcd3ab8c | ||
|
|
86fa25f27f | ||
|
|
eb0afc16ea | ||
|
|
6ab1964e22 | ||
|
|
4688d1e8c4 | ||
|
|
5afceca56a | ||
|
|
30d74227df | ||
|
|
7c70f27a62 | ||
|
|
079660d207 | ||
|
|
5c905b1a56 | ||
|
|
e8411dfe64 | ||
|
|
7f95fe7164 | ||
|
|
3fd762f22b | ||
|
|
90d9219c6d | ||
|
|
845e4b3ebb | ||
|
|
b1d1e967c7 | ||
|
|
bcc95318ec | ||
|
|
0f6d0df82c | ||
|
|
835e1adfd2 | ||
|
|
8a76760e7e | ||
|
|
46d4c02fdc | ||
|
|
67d893b5dd | ||
|
|
79bb4b6f5d | ||
|
|
17979638e8 | ||
|
|
1784896021 | ||
|
|
8be58016ae | ||
|
|
3d0b59f413 | ||
|
|
6b0db754f7 | ||
|
|
48e66514f9 | ||
|
|
cc14bed6a1 | ||
|
|
5ba591bf0e | ||
|
|
6f57e69985 | ||
|
|
a8f016cce3 | ||
|
|
8fe07b5550 | ||
|
|
5a9e92d81b | ||
|
|
49ec3b5a01 | ||
|
|
61fcafc319 | ||
|
|
c705186e41 | ||
|
|
6281f6661d | ||
|
|
ea7b69f4e6 | ||
|
|
3081c5f1d1 | ||
|
|
45c5ddbdaf | ||
|
|
a9996082c4 | ||
|
|
c20a86585e | ||
|
|
6e49bfac5e | ||
|
|
f77272fed0 | ||
|
|
1448746ce9 | ||
|
|
73cbdae595 | ||
|
|
772bcfb879 | ||
|
|
adc828128d | ||
|
|
c941b70c60 | ||
|
|
e169dfa5ec | ||
|
|
7c13ba985f | ||
|
|
c4d7112520 | ||
|
|
c59cb293bf | ||
|
|
6fb8b945d7 | ||
|
|
ec09dd41e6 | ||
|
|
6486908601 | ||
|
|
806a8612b8 | ||
|
|
f19c61cb97 | ||
|
|
3afe8b5e00 | ||
|
|
e4b76d6fce | ||
|
|
8b0b0b9c80 | ||
|
|
a109230b22 | ||
|
|
bc235ae526 | ||
|
|
de9a38161a | ||
|
|
1d21656d5e | ||
|
|
1731c36c7c | ||
|
|
a219b38010 | ||
|
|
70586cab25 | ||
|
|
6fafc4b628 | ||
|
|
b3dcccf856 | ||
|
|
faa22c47d8 | ||
|
|
6f33b9d5cf | ||
|
|
7072628632 | ||
|
|
f0267b0338 | ||
|
|
d4538c93ec | ||
|
|
2d053f76c4 | ||
|
|
e6927136a4 | ||
|
|
a29c3734cb | ||
|
|
ec252d1854 | ||
|
|
ad6061c9cf | ||
|
|
0b8946933b | ||
|
|
04532c7c29 | ||
|
|
5c7d489f4e | ||
|
|
88f92209f9 | ||
|
|
c6b1639e3d | ||
|
|
61fe2d32e5 | ||
|
|
8e92c24873 | ||
|
|
8b965d3ffe | ||
|
|
02c864ce3e | ||
|
|
0ce6d89ca9 | ||
|
|
a062778735 | ||
|
|
8d3a3dce93 | ||
|
|
01f60987bf | ||
|
|
c838202da6 | ||
|
|
41c7456f98 | ||
|
|
326839575e | ||
|
|
963da57589 | ||
|
|
4ae556cd21 | ||
|
|
00cca47203 | ||
|
|
151874a741 | ||
|
|
bf09259a6e | ||
|
|
5e765336c8 | ||
|
|
55acc7f9f7 | ||
|
|
d37234ccf4 | ||
|
|
c8305c53cc | ||
|
|
76dcccf069 | ||
|
|
f91edf0d3c | ||
|
|
38f0f3def6 | ||
|
|
5af31913f1 | ||
|
|
ed1ea928c8 | ||
|
|
9aded4b52b | ||
|
|
a9cfffc1e1 | ||
|
|
c84259171c | ||
|
|
9a090ccdea | ||
|
|
d2bf769e05 | ||
|
|
c26a66f8cd | ||
|
|
655f997ed0 | ||
|
|
abaa9912d8 | ||
|
|
f69e4b88b3 | ||
|
|
059d22ca96 | ||
|
|
668f47ce11 | ||
|
|
dbb344e917 | ||
|
|
d2fd432d88 | ||
|
|
14e5cbb3d0 | ||
|
|
04a2c5838a | ||
|
|
9b3f313d00 | ||
|
|
1a17faeca5 | ||
|
|
3085bd3dc1 | ||
|
|
eb127c47cb | ||
|
|
f6a6012c85 | ||
|
|
6cfea9bfd1 | ||
|
|
baaf251bde | ||
|
|
a599079568 | ||
|
|
0ada981a1b | ||
|
|
7e1df06046 | ||
|
|
0b183ed248 |
No files matched your search
@@ -0,0 +1,10 @@
|
|||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
* @nunocoracao
|
||||||
@@ -0,0 +1,121 @@
|
|||||||
|
name: Bug Report
|
||||||
|
description: Create a report to help us improve
|
||||||
|
title: "[Bug]: "
|
||||||
|
labels: ["bug"]
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Thanks for raising a bug report! Please fill out the following template to help us understand the issue you are experiencing.
|
||||||
|
|
||||||
|
You can view the contributing guidelines for this project at: <https://github.com/nunocoracao/blowfish/blob/main/CONTRIBUTING.md>
|
||||||
|
|
||||||
|
- 🐛 **Bug reports & issues:** Use [GitHub Issues](https://github.com/nunocoracao/blowfish/issues)
|
||||||
|
- 💡 **Ideas for new features:** Open a discussion on [GitHub Discussions](https://github.com/nunocoracao/blowfish/discussions)
|
||||||
|
- 🙋♀️ **General questions:** Head to [GitHub Discussions](https://github.com/nunocoracao/blowfish/discussions)
|
||||||
|
- type: checkboxes
|
||||||
|
id: issue-check
|
||||||
|
attributes:
|
||||||
|
label: Issue Check
|
||||||
|
description: We ask that you [check existing Issues](https://github.com/nunocoracao/blowfish/issues) to see if your bug report has already been raised.
|
||||||
|
options:
|
||||||
|
- label: I have checked existing Issues and I feel this bug has not been raised
|
||||||
|
required: true
|
||||||
|
- type: checkboxes
|
||||||
|
id: hugo-version-check
|
||||||
|
attributes:
|
||||||
|
label: Hugo Version Check
|
||||||
|
description: Please confirm that your Hugo version is within the supported range specified in the [config](https://github.com/nunocoracao/blowfish/blob/main/config.toml)
|
||||||
|
options:
|
||||||
|
- label: My Hugo version is within the supported range
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: describe-bug
|
||||||
|
attributes:
|
||||||
|
label: Describe the Bug
|
||||||
|
description: A clear and concise description of what the bug is.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: reproduce
|
||||||
|
attributes:
|
||||||
|
label: To Reproduce
|
||||||
|
description: |
|
||||||
|
Please provide the steps to reproduce the behaviour.
|
||||||
|
placeholder: |
|
||||||
|
1. Go to '...'
|
||||||
|
2. Click on '...'
|
||||||
|
3. Scroll down to '...'
|
||||||
|
4. *See error*
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: expected
|
||||||
|
attributes:
|
||||||
|
label: Expected Behaviour
|
||||||
|
description: A clear and concise description of what you expected to happen.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: screenshots
|
||||||
|
attributes:
|
||||||
|
label: Screenshots
|
||||||
|
description: |
|
||||||
|
If applicable, add screenshots to help explain your problem.
|
||||||
|
|
||||||
|
*Click inside the textbox to highlight it, then you can upload screenshots by dragging them in.*
|
||||||
|
*Alternatively, you can click on "Paste, drop or click to add files" or "Add files" below the textbox.*
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: textarea
|
||||||
|
id: platform
|
||||||
|
attributes:
|
||||||
|
label: Platform
|
||||||
|
description: |
|
||||||
|
Add information associated with the platform you are experience this bug on.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
- OS: [e.g. iOS, MacOS, Windows, Linux]
|
||||||
|
- Browser: [e.g. chrome, safari, edge, firefox]
|
||||||
|
- Version [e.g. 22, Version 138.0.3351.77]
|
||||||
|
value: |
|
||||||
|
- OS:
|
||||||
|
- Browser:
|
||||||
|
- Version:
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: hugo-version
|
||||||
|
attributes:
|
||||||
|
label: Hugo Version
|
||||||
|
description: Run `hugo version` and paste the output below.
|
||||||
|
placeholder: hugo v0.147.6-0a5fd8ebb8e2ca798515e8c564c14e32db3b4127 linux/amd64 BuildDate=2025-05-27T11:17:16Z VendorInfo=gohugoio
|
||||||
|
render: console
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: blowfish-version
|
||||||
|
attributes:
|
||||||
|
label: Blowfish Version
|
||||||
|
description: Log the version of Blowfish you are running.
|
||||||
|
placeholder: v2.88.1
|
||||||
|
render: console
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: additional-context
|
||||||
|
attributes:
|
||||||
|
label: Additional Context
|
||||||
|
description: |
|
||||||
|
Add any other context about the problem here. Are there existing GitHub Issues/Discussions that you feel are related?
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: checkboxes
|
||||||
|
id: terms
|
||||||
|
attributes:
|
||||||
|
label: Code of Conduct
|
||||||
|
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/nunocoracao/blowfish?tab=coc-ov-file#readme).
|
||||||
|
options:
|
||||||
|
- label: I agree to follow this project's Code of Conduct
|
||||||
|
required: true
|
||||||
|
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
name: Feature Request
|
||||||
|
description: Suggest an idea for this project
|
||||||
|
title: "[Feature]: "
|
||||||
|
labels: ["enhancement"]
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Thanks for raising a feature request! Please fill out the following template to help us understand the feature you are requesting.
|
||||||
|
|
||||||
|
You can view the contributing guidelines for this project at: <https://github.com/nunocoracao/blowfish/blob/main/CONTRIBUTING.md>
|
||||||
|
|
||||||
|
- 🐛 **Bug reports & issues:** Use [GitHub Issues](https://github.com/nunocoracao/blowfish/issues)
|
||||||
|
- 💡 **Ideas for new features:** Open a discussion on [GitHub Discussions](https://github.com/nunocoracao/blowfish/discussions)
|
||||||
|
- 🙋♀️ **General questions:** Head to [GitHub Discussions](https://github.com/nunocoracao/blowfish/discussions)
|
||||||
|
- type: checkboxes
|
||||||
|
id: issue-check
|
||||||
|
attributes:
|
||||||
|
label: Issue Check
|
||||||
|
description: We ask that you [check existing Issues](https://github.com/nunocoracao/blowfish/issues) to see if your feature request has already been raised.
|
||||||
|
options:
|
||||||
|
- label: I have checked existing Issues and I feel this feature request has not been raised
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: related-problem
|
||||||
|
attributes:
|
||||||
|
label: Is your feature request related to a problem?
|
||||||
|
description: A clear and concise description of what the problem is.
|
||||||
|
placeholder: Ex. I'm always frustrated when [...]
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: solution
|
||||||
|
attributes:
|
||||||
|
label: Describe the solution you'd like
|
||||||
|
description: A clear and concise description of what you want to happen.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: alternatives
|
||||||
|
attributes:
|
||||||
|
label: Describe the alternatives you've considered
|
||||||
|
description: A clear and concise description of any alternative solutions or features you've considered.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: textarea
|
||||||
|
id: additional-context
|
||||||
|
attributes:
|
||||||
|
label: Additional context
|
||||||
|
description: Add any other context or screenshots about the feature request here. Are there existing GitHub Issues/Discussions that you feel are related?
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: checkboxes
|
||||||
|
id: terms
|
||||||
|
attributes:
|
||||||
|
label: Code of Conduct
|
||||||
|
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/nunocoracao/blowfish?tab=coc-ov-file#readme).
|
||||||
|
options:
|
||||||
|
- label: I agree to follow this project's Code of Conduct
|
||||||
|
required: true
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
---
|
|
||||||
name: Bug report
|
|
||||||
about: Create a report to help us improve
|
|
||||||
title: ''
|
|
||||||
labels: ''
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**Describe the bug**
|
|
||||||
A clear and concise description of what the bug is.
|
|
||||||
|
|
||||||
**To Reproduce**
|
|
||||||
Steps to reproduce the behavior:
|
|
||||||
1. Go to '...'
|
|
||||||
2. Click on '....'
|
|
||||||
3. Scroll down to '....'
|
|
||||||
4. See error
|
|
||||||
|
|
||||||
**Expected behavior**
|
|
||||||
A clear and concise description of what you expected to happen.
|
|
||||||
|
|
||||||
**Screenshots**
|
|
||||||
If applicable, add screenshots to help explain your problem.
|
|
||||||
|
|
||||||
**Desktop (please complete the following information):**
|
|
||||||
- OS: [e.g. iOS]
|
|
||||||
- Browser [e.g. chrome, safari]
|
|
||||||
- Version [e.g. 22]
|
|
||||||
|
|
||||||
**Hugo & Blowfish versions**
|
|
||||||
Which version of Hugo and Blowfish are you using?
|
|
||||||
|
|
||||||
**Additional context**
|
|
||||||
Add any other context about the problem here.
|
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
blank_issues_enabled: true
|
||||||
|
contact_links:
|
||||||
|
- name: Contributing Guidelines
|
||||||
|
url: https://github.com/nunocoracao/blowfish/blob/main/CONTRIBUTING.md
|
||||||
|
about: Read the contributing guidelines for this project.
|
||||||
|
|
||||||
|
- name: Blowfish Code of Conduct
|
||||||
|
url: https://github.com/nunocoracao/blowfish?tab=coc-ov-file#readme
|
||||||
|
about: View the Code of Conduct for this project.
|
||||||
|
|
||||||
|
- name: Ideas for New Features
|
||||||
|
url: https://github.com/nunocoracao/blowfish/discussions
|
||||||
|
about: Open a discussion using GitHub Discussions.
|
||||||
|
|
||||||
|
- name: General Questions
|
||||||
|
url: https://github.com/nunocoracao/blowfish/discussions
|
||||||
|
about: Open a discussion using GitHub Discussions.
|
||||||
|
|
||||||
|
- name: Blowfish Homepage
|
||||||
|
url: https://blowfish.page/
|
||||||
|
about: Visit the homepage for more information about Blowfish.
|
||||||
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
---
|
|
||||||
name: Feature request
|
|
||||||
about: Suggest an idea for this project
|
|
||||||
title: ''
|
|
||||||
labels: ''
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**Is your feature request related to a problem? Please describe.**
|
|
||||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
||||||
|
|
||||||
**Describe the solution you'd like**
|
|
||||||
A clear and concise description of what you want to happen.
|
|
||||||
|
|
||||||
**Describe alternatives you've considered**
|
|
||||||
A clear and concise description of any alternative solutions or features you've considered.
|
|
||||||
|
|
||||||
**Additional context**
|
|
||||||
Add any other context or screenshots about the feature request here.
|
|
||||||
@@ -8,36 +8,36 @@ jobs:
|
|||||||
if: ${{ github.actor == 'dependabot[bot]' }}
|
if: ${{ github.actor == 'dependabot[bot]' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
ref: "${{ github.head_ref }}"
|
ref: "${{ github.head_ref }}"
|
||||||
- name: Install dependencies and Build Theme
|
- name: Install dependencies and Build Theme
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run assets
|
- run: npm run assets
|
||||||
- name: Commit and push Chart.js changes
|
- name: Commit and push Chart.js changes
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: stefanzweifel/git-auto-commit-action@v7
|
||||||
with:
|
with:
|
||||||
branch: "${{ github.head_ref }}"
|
branch: "${{ github.head_ref }}"
|
||||||
push_options: "--dry-run"
|
push_options: "--dry-run"
|
||||||
file_pattern: "assets/lib/chart/*"
|
file_pattern: "assets/lib/chart/*"
|
||||||
commit_message: "📦 Update packaged ChartJS"
|
commit_message: "📦 Update packaged ChartJS"
|
||||||
- name: Commit Fuse changes
|
- name: Commit Fuse changes
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: stefanzweifel/git-auto-commit-action@v7
|
||||||
with:
|
with:
|
||||||
branch: "${{ github.head_ref }}"
|
branch: "${{ github.head_ref }}"
|
||||||
push_options: "--dry-run"
|
push_options: "--dry-run"
|
||||||
file_pattern: "assets/lib/fuse/*"
|
file_pattern: "assets/lib/fuse/*"
|
||||||
commit_message: "📦 Update packaged FuseJS"
|
commit_message: "📦 Update packaged FuseJS"
|
||||||
- name: Commit KaTeX changes
|
- name: Commit KaTeX changes
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: stefanzweifel/git-auto-commit-action@v7
|
||||||
with:
|
with:
|
||||||
branch: "${{ github.head_ref }}"
|
branch: "${{ github.head_ref }}"
|
||||||
push_options: "--dry-run"
|
push_options: "--dry-run"
|
||||||
file_pattern: "assets/lib/katex/*"
|
file_pattern: "assets/lib/katex/*"
|
||||||
commit_message: "📦 Update packaged KaTeX"
|
commit_message: "📦 Update packaged KaTeX"
|
||||||
- name: Commit Mermaid changes
|
- name: Commit Mermaid changes
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: stefanzweifel/git-auto-commit-action@v7
|
||||||
with:
|
with:
|
||||||
branch: "${{ github.head_ref }}"
|
branch: "${{ github.head_ref }}"
|
||||||
push_options: "--dry-run"
|
push_options: "--dry-run"
|
||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
commit_message: "📦 Update packaged Mermaid"
|
commit_message: "📦 Update packaged Mermaid"
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- name: Commit CSS changes
|
- name: Commit CSS changes
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: stefanzweifel/git-auto-commit-action@v7
|
||||||
with:
|
with:
|
||||||
branch: "${{ github.head_ref }}"
|
branch: "${{ github.head_ref }}"
|
||||||
push_options: "--dry-run"
|
push_options: "--dry-run"
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ jobs:
|
|||||||
zip:
|
zip:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- run: zip -r config-default.zip config/_default
|
- run: zip -r config-default.zip config/_default
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v5
|
||||||
with:
|
with:
|
||||||
name: config-default
|
name: config-default
|
||||||
path: config-default.zip
|
path: config-default.zip
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ jobs:
|
|||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/first-interaction@v1
|
- uses: actions/first-interaction@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
issue-message: "Thanks for contributing to Blowfish"
|
issue-message: "Thanks for contributing to Blowfish"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ name: Update Hugo version
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 6 * * *'
|
- cron: "0 6 * * *"
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
@@ -10,9 +10,8 @@ jobs:
|
|||||||
updateBlowfish:
|
updateBlowfish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
ref: dev
|
ref: dev
|
||||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||||
@@ -26,7 +25,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Check for modified files
|
- name: Check for modified files
|
||||||
id: git-check
|
id: git-check
|
||||||
run: echo ::set-output name=modified::$([ -z "`git status --porcelain`" ] && echo "false" || echo "true")
|
run:
|
||||||
|
echo ::set-output name=modified::$([ -z "`git status --porcelain`" ]
|
||||||
|
&& echo "false" || echo "true")
|
||||||
|
|
||||||
- name: Update config.toml
|
- name: Update config.toml
|
||||||
id: update-config
|
id: update-config
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb \
|
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb \
|
||||||
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
hugo --minify -s exampleSite --themesDir ../.. -d ../docs --baseURL https://nunocoracao.github.io/blowfish/
|
hugo --minify -s exampleSite --themesDir ../.. -d ../docs --baseURL https://nunocoracao.github.io/blowfish/
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: ./docs
|
path: ./docs
|
||||||
|
|
||||||
|
|||||||
@@ -7,21 +7,28 @@ name: Mark stale issues and pull requests
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '60 1 * * *'
|
- cron: "0 1 * * *"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v9
|
- uses: actions/stale@v10
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
stale-issue-message: 'This issue will be closed since it has been stale for 60 days.'
|
stale-issue-message:
|
||||||
stale-pr-message: 'This pull request will be closed since it has been stale for 60 days.'
|
"This issue will be closed since it has been stale for 60 days."
|
||||||
stale-issue-label: 'no-issue-activity'
|
stale-pr-message:
|
||||||
stale-pr-label: 'no-pr-activity'
|
"This pull request will be closed since it has been stale for 60
|
||||||
|
days."
|
||||||
|
stale-issue-label: "no-issue-activity"
|
||||||
|
stale-pr-label: "no-pr-activity"
|
||||||
|
days-before-stale: 60
|
||||||
|
days-before-close: 0
|
||||||
|
remove-stale-when-updated: true
|
||||||
|
operations-per-run: 100
|
||||||
@@ -10,7 +10,7 @@ jobs:
|
|||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@@ -22,4 +22,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ./exampleSite
|
working-directory: ./exampleSite
|
||||||
run: hugo --minify --themesDir ../.. --baseURL https://nunocoracao.github.io/blowfish/
|
run:
|
||||||
|
hugo --minify --themesDir ../.. --baseURL
|
||||||
|
https://nunocoracao.github.io/blowfish/
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
# https://github.com/gohugoio/hugo/blob/b39b24962350090122b5f3927456dde710cffb57/docs/.prettierignore
|
||||||
|
# https://github.com/gohugoio/hugo/blob/b39b24962350090122b5f3927456dde710cffb57/docs/.prettierrc
|
||||||
|
|
||||||
|
# develop
|
||||||
|
.vscode
|
||||||
|
node_modules
|
||||||
|
package.json
|
||||||
|
|
||||||
|
# Hugo
|
||||||
|
assets/lib
|
||||||
|
assets/css/compiled
|
||||||
|
content
|
||||||
|
themes
|
||||||
|
public
|
||||||
|
static
|
||||||
|
*.md
|
||||||
|
|
||||||
|
# Invalid nodes and unexpected tokens, mostly caused by unmatched tags in Hugo statements.
|
||||||
|
# For example:
|
||||||
|
# {{ with .Params.externalUrl }}
|
||||||
|
# <a href="{{ . }}">
|
||||||
|
# {{ else }}
|
||||||
|
# <a href="{{ .RelPermalink }}" class="min-w-full">
|
||||||
|
# {{ end }}
|
||||||
|
#
|
||||||
|
# This create an unclose node
|
||||||
|
|
||||||
|
layouts/_default/_markup/render-heading.html
|
||||||
|
layouts/_default/index.json
|
||||||
|
layouts/shortcodes/screenshot.html
|
||||||
|
layouts/shortcodes/figure.html
|
||||||
|
layouts/partials/hugo-embedded/shortcodes/figure-default.html
|
||||||
|
|
||||||
|
assets/js/appearance.js
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"singleQuote": false,
|
||||||
|
"tabWidth": 2,
|
||||||
|
"useTabs": false,
|
||||||
|
"semi": true,
|
||||||
|
"trailingComma": "all",
|
||||||
|
"proseWrap": "always",
|
||||||
|
"plugins": [
|
||||||
|
"@awmottaz/prettier-plugin-void-html",
|
||||||
|
"prettier-plugin-go-template"
|
||||||
|
],
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": ["*.html"],
|
||||||
|
"options": {
|
||||||
|
"useTabs": false,
|
||||||
|
"parser": "go-template",
|
||||||
|
"goTemplateBracketSpacing": true,
|
||||||
|
"printWidth": 112,
|
||||||
|
"bracketSameLine": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"files": ["*.js", "*.mjs", "*.mts", "*.ts"],
|
||||||
|
"options": {
|
||||||
|
"semi": true,
|
||||||
|
"useTabs": false,
|
||||||
|
"printWidth": 112,
|
||||||
|
"singleQuote": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"files": ["*.yml", "*.yaml"],
|
||||||
|
"options": {
|
||||||
|
"singleQuote": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"files": ["*.json*"],
|
||||||
|
"options": {
|
||||||
|
"trailingComma": "none"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
## How to contribute to Blowfish
|
## How to contribute to Blowfish
|
||||||
|
|
||||||
|
All development occurs on the `dev` branch and new PRs should be forked from here.
|
||||||
|
|
||||||
### Bugs & other issues
|
### Bugs & other issues
|
||||||
|
|
||||||
#### Found a bug? 🐛
|
#### Found a bug? 🐛
|
||||||
@@ -11,8 +13,7 @@
|
|||||||
#### Have a patch that fixes an issue?
|
#### Have a patch that fixes an issue?
|
||||||
|
|
||||||
- Great! Open a new GitHub pull request with the patch.
|
- Great! Open a new GitHub pull request with the patch.
|
||||||
- All development occurs on the `dev` branch and new PRs should be forked from here.
|
- The commands `npm run example`, `npm run example:core`, and `npm run example:production` can be used to test local changes using the example site.
|
||||||
- The command `npm run example` can be used to test local changes using the example site.
|
|
||||||
- Ensure the PR description clearly describes the problem and solution. Include the relevant issue number, if applicable.
|
- Ensure the PR description clearly describes the problem and solution. Include the relevant issue number, if applicable.
|
||||||
- **Before submitting**, check the [coding conventions](#coding-conventions) section below to learn more about coding and commit message expectations.
|
- **Before submitting**, check the [coding conventions](#coding-conventions) section below to learn more about coding and commit message expectations.
|
||||||
|
|
||||||
@@ -45,7 +46,7 @@ The project includes a Prettier config that helps to format code in line with th
|
|||||||
|
|
||||||
#### Commit message guidelines
|
#### Commit message guidelines
|
||||||
|
|
||||||
- Use [Gitmoji](https://gitmoji.dev) in commit messages to provide context.
|
- Use [Gitmoji](https://gitmoji.dev) in PR messages to provide context.
|
||||||
- Clearly describe the change with a short summary in the first 72 characters.
|
- Clearly describe the change with a short summary in the first 72 characters.
|
||||||
- Place more detailed explanations in paragraphs below the summary, separated by a blank line.
|
- Place more detailed explanations in paragraphs below the summary, separated by a blank line.
|
||||||
- Use imperative language (ie. "Fix bug", not "Fixed bug" or "Fixes bug").
|
- Use imperative language (ie. "Fix bug", not "Fixed bug" or "Fixes bug").
|
||||||
|
|||||||
@@ -1,2 +1,6 @@
|
|||||||
github: [nunocoracao]
|
github: [nunocoracao]
|
||||||
custom: ["https://www.paypal.me/nunocoracao", "https://www.buymeacoffee.com/nunocoracao"]
|
custom:
|
||||||
|
[
|
||||||
|
"https://www.paypal.me/nunocoracao",
|
||||||
|
"https://www.buymeacoffee.com/nunocoracao",
|
||||||
|
]
|
||||||
@@ -77,7 +77,7 @@ Instruksi terperinci untuk setiap metode dapat ditemukan dalam [dokumentasi inst
|
|||||||
|
|
||||||
### Instalasi Cepat Menggunakan Blowfish Tools
|
### Instalasi Cepat Menggunakan Blowfish Tools
|
||||||
|
|
||||||
> **Catatan:** Pastikan Anda sudah menginstal **Node.js**, **Git**, **Go**, dan **Hugo**, serta telah membuat proyek Hugo sebelum melanjutkan.
|
> **Catatan:** Pastikan Anda sudah menginstal **Node.js**, **Git**, dan **Hugo**, serta telah membuat proyek Hugo sebelum melanjutkan.
|
||||||
|
|
||||||
Kami baru saja meluncurkan alat CLI baru untuk membantu Anda memulai dengan Blowfish. Ini akan membuat proyek Hugo baru, menginstal tema, dan mengatur file konfigurasi tema untuk Anda.
|
Kami baru saja meluncurkan alat CLI baru untuk membantu Anda memulai dengan Blowfish. Ini akan membuat proyek Hugo baru, menginstal tema, dan mengatur file konfigurasi tema untuk Anda.
|
||||||
|
|
||||||
@@ -98,7 +98,7 @@ blowfish-tools new mynewsite
|
|||||||
|
|
||||||
### Instalasi Cepat Menggunakan Git Submodules
|
### Instalasi Cepat Menggunakan Git Submodules
|
||||||
|
|
||||||
> **Catatan:** Pastikan Anda sudah menginstal **Git**, **Go**, dan **Hugo**, serta telah membuat proyek Hugo sebelum melanjutkan.
|
> **Catatan:** Pastikan Anda sudah menginstal **Git** dan **Hugo**, serta telah membuat proyek Hugo sebelum melanjutkan.
|
||||||
|
|
||||||
1. Dari direktori proyek Anda, inisialisasi git:
|
1. Dari direktori proyek Anda, inisialisasi git:
|
||||||
```shell
|
```shell
|
||||||
@@ -110,7 +110,7 @@ blowfish-tools new mynewsite
|
|||||||
git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish
|
git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Hapus file `config.toml` di root proyek dan salin file `*.toml` dari tema ke dalam folder `config/_default/`.
|
3. Hapus file `hugo.toml` di root proyek dan salin file `*.toml` dari tema ke dalam folder `config/_default/`.
|
||||||
|
|
||||||
4. Ikuti petunjuk [Memulai](https://blowfish.page/docs/getting-started/) untuk mengonfigurasi situs web Anda.
|
4. Ikuti petunjuk [Memulai](https://blowfish.page/docs/getting-started/) untuk mengonfigurasi situs web Anda.
|
||||||
|
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ Blowfish は、git サブモジュール、Hugo モジュール、または完
|
|||||||
|
|
||||||
### Blowfish Tools を使ったクイックスタート
|
### Blowfish Tools を使ったクイックスタート
|
||||||
|
|
||||||
> **注意:** **Node.js**、**Git**、**Go**、**Hugo** がインストールされていること、そして先に進む前に新しい Hugo プロジェクトが作成されていることを確認してください。
|
> **注意:** **Node.js**、**Git**、**Hugo** がインストールされていること、そして先に進む前に新しい Hugo プロジェクトが作成されていることを確認してください。
|
||||||
|
|
||||||
Blowfish を使い始めるのに役立つ新しい CLI ツールをリリースしました。このツールは、新しい Hugo プロジェクトを作成し、テーマをインストールし、テーマ設定ファイルをセットアップします。まだベータ版なので、[問題を見つけたら報告してください](https://github.com/nunocoracao/blowfish-tools)。
|
Blowfish を使い始めるのに役立つ新しい CLI ツールをリリースしました。このツールは、新しい Hugo プロジェクトを作成し、テーマをインストールし、テーマ設定ファイルをセットアップします。まだベータ版なので、[問題を見つけたら報告してください](https://github.com/nunocoracao/blowfish-tools)。
|
||||||
|
|
||||||
@@ -102,7 +102,7 @@ blowfish-tools new mynewsite
|
|||||||
|
|
||||||
### git サブモジュールを使ったクイックスタート
|
### git サブモジュールを使ったクイックスタート
|
||||||
|
|
||||||
> **注意:** **Git**、**Go**、**Hugo** がインストールされていること、そして先に進む前に新しい Hugo プロジェクトが作成されていることを確認してください。
|
> **注意:** **Git**、**Hugo** がインストールされていること、そして先に進む前に新しい Hugo プロジェクトが作成されていることを確認してください。
|
||||||
|
|
||||||
1. プロジェクトディレクトリで、git を初期化します。
|
1. プロジェクトディレクトリで、git を初期化します。
|
||||||
|
|
||||||
@@ -116,7 +116,7 @@ blowfish-tools new mynewsite
|
|||||||
git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish
|
git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish
|
||||||
```
|
```
|
||||||
|
|
||||||
3. ウェブサイトのルートフォルダで、Hugo によって生成された `config.toml` ファイルを削除します。テーマから `*.toml` 設定ファイルをコピーして、`config/_default/` フォルダに保存します。
|
3. ウェブサイトのルートフォルダで、Hugo によって生成された `hugo.toml` ファイルを削除します。テーマから `*.toml` 設定ファイルをコピーして、`config/_default/` フォルダに保存します。
|
||||||
|
|
||||||
これらのテーマ設定ファイルは、Hugo キャッシュディレクトリにあります。または、GitHub から[コピーをダウンロード](https://github.com/nunocoracao/blowfish/releases/latest/download/config-default.zip)できます。
|
これらのテーマ設定ファイルは、Hugo キャッシュディレクトリにあります。または、GitHub から[コピーをダウンロード](https://github.com/nunocoracao/blowfish/releases/latest/download/config-default.zip)できます。
|
||||||
|
|
||||||
@@ -141,7 +141,7 @@ blowfish-tools new mynewsite
|
|||||||
|
|
||||||
3. `hugo server` を使用してサーバーを起動すると、テーマが自動的にダウンロードされます。
|
3. `hugo server` を使用してサーバーを起動すると、テーマが自動的にダウンロードされます。
|
||||||
|
|
||||||
4. ウェブサイトのルートフォルダにある、Hugo によって生成された `config.toml` ファイルを削除します。テーマの `*.toml` 設定ファイルを `config/_default/` フォルダにコピーします。
|
4. ウェブサイトのルートフォルダにある、Hugo によって生成された `hugo.toml` ファイルを削除します。テーマの `*.toml` 設定ファイルを `config/_default/` フォルダにコピーします。
|
||||||
|
|
||||||
> **注意:** 上記で作成した `module.toml` ファイルを上書きしないでください!
|
> **注意:** 上記で作成した `module.toml` ファイルを上書きしないでください!
|
||||||
|
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ Detailed instructions for each method can be found in the [Installation](https:/
|
|||||||
|
|
||||||
### Quick start using Blowfish Tools
|
### Quick start using Blowfish Tools
|
||||||
|
|
||||||
> **Note:** Ensure you have **Node.js**, **Git**, **Go** and **Hugo** installed, and that you have created a new Hugo project before proceeding.
|
> **Note:** Ensure you have **Node.js**, **Git** and **Hugo** installed, and that you have created a new Hugo project before proceeding.
|
||||||
|
|
||||||
We just launched a new CLI tool to help you get started with Blowfish. It will create a new Hugo project, install the theme and set up the theme configuration files for you. It's still in beta so please [report any issues you find](https://github.com/nunocoracao/blowfish-tools).
|
We just launched a new CLI tool to help you get started with Blowfish. It will create a new Hugo project, install the theme and set up the theme configuration files for you. It's still in beta so please [report any issues you find](https://github.com/nunocoracao/blowfish-tools).
|
||||||
|
|
||||||
@@ -102,7 +102,7 @@ blowfish-tools new mynewsite
|
|||||||
|
|
||||||
### Quick start using git submodules
|
### Quick start using git submodules
|
||||||
|
|
||||||
> **Note:** Ensure you have **Git**, **Go**, and **Hugo** installed, and that you have created a new Hugo project before proceeding.
|
> **Note:** Ensure you have **Git** and **Hugo** installed, and that you have created a new Hugo project before proceeding.
|
||||||
|
|
||||||
1. From your project directory, initialise git:
|
1. From your project directory, initialise git:
|
||||||
|
|
||||||
@@ -116,7 +116,7 @@ blowfish-tools new mynewsite
|
|||||||
git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish
|
git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish
|
||||||
```
|
```
|
||||||
|
|
||||||
3. In the root folder of your website, delete the `config.toml` file that was generated by Hugo. Copy the `*.toml` config files from the theme into your `config/_default/` folder.
|
3. In the root folder of your website, delete the `hugo.toml` file that was generated by Hugo. Copy the `*.toml` config files from the theme into your `config/_default/` folder.
|
||||||
|
|
||||||
You will find these theme config files in the Hugo cache directory, or [download a copy](https://github.com/nunocoracao/blowfish/releases/latest/download/config-default.zip) from GitHub.
|
You will find these theme config files in the Hugo cache directory, or [download a copy](https://github.com/nunocoracao/blowfish/releases/latest/download/config-default.zip) from GitHub.
|
||||||
|
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ Blowfish 支持多种安装方式,既能作为 git 子模块、Hugo 模块,
|
|||||||
|
|
||||||
### 使用 Blowfish Tools 快速开始
|
### 使用 Blowfish Tools 快速开始
|
||||||
|
|
||||||
> **注:** 请确保你已安装 **Node.js**、 **Git**、 **Go** 和 **Hugo** ,且已经创建了一个 Hugo 工程。
|
> **注:** 请确保你已安装 **Node.js**、 **Git** 和 **Hugo** ,且已经创建了一个 Hugo 工程。
|
||||||
|
|
||||||
我们最新推出了一个新的 CLI 工具,帮助你开始使用 Blowfish。它将为你创建一个新的 Hugo 项目、安装主题并设置主题配置文件。它仍处于测试阶段,因此请 [报告你发现的任何问题](https://github.com/nunocoracao/blowfish-tools)。
|
我们最新推出了一个新的 CLI 工具,帮助你开始使用 Blowfish。它将为你创建一个新的 Hugo 项目、安装主题并设置主题配置文件。它仍处于测试阶段,因此请 [报告你发现的任何问题](https://github.com/nunocoracao/blowfish-tools)。
|
||||||
|
|
||||||
@@ -99,7 +99,7 @@ blowfish-tools new mynewsite
|
|||||||
|
|
||||||
### 使用 git 子模块快速开始
|
### 使用 git 子模块快速开始
|
||||||
|
|
||||||
> **注:** 请确保你已安装 **Node.js**、 **Git**、 **Go** 和 **Hugo** ,且已经创建了一个 Hugo 工程。
|
> **注:** 请确保你已安装 **Git** 和 **Hugo** ,且已经创建了一个 Hugo 工程。
|
||||||
|
|
||||||
1. 从你工程的所在目录初始化 git 仓库
|
1. 从你工程的所在目录初始化 git 仓库
|
||||||
|
|
||||||
@@ -113,7 +113,7 @@ blowfish-tools new mynewsite
|
|||||||
git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish
|
git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish
|
||||||
```
|
```
|
||||||
|
|
||||||
3. 在你网站的根目录中删除由 Hugo 自动生成的 `config.toml`文件,并把主题文件夹中的`*.toml`配置文件复制到你的 `config/_default/`文件夹中
|
3. 在你网站的根目录中删除由 Hugo 自动生成的 `hugo.toml` 文件,并把主题文件夹中的 `*.toml` 配置文件复制到你的 `config/_default/` 文件夹中
|
||||||
|
|
||||||
你可在 Hugo 缓存目录中找到主题配置文件,或者也可以从[这里](https://github.com/nunocoracao/blowfish/releases/latest/download/config-default.zip)下载一份。
|
你可在 Hugo 缓存目录中找到主题配置文件,或者也可以从[这里](https://github.com/nunocoracao/blowfish/releases/latest/download/config-default.zip)下载一份。
|
||||||
|
|
||||||
@@ -138,7 +138,7 @@ blowfish-tools new mynewsite
|
|||||||
|
|
||||||
3. 运行 `hugo server` 启动你的本地服务器,本主题就会自动下载。
|
3. 运行 `hugo server` 启动你的本地服务器,本主题就会自动下载。
|
||||||
|
|
||||||
4. 在你网站的根目录中删除由 Hugo 自动生成的 `config.toml`文件,并把主题文件夹中的`*.toml`配置文件复制到你的 `config/_default/`文件夹中
|
4. 在你网站的根目录中删除由 Hugo 自动生成的 `hugo.toml`文件,并把主题文件夹中的`*.toml`配置文件复制到你的 `config/_default/`文件夹中
|
||||||
|
|
||||||
> **注** 不要覆盖之前的 `module.toml` !
|
> **注** 不要覆盖之前的 `module.toml` !
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,77 @@
|
|||||||
|
.a11y-panel-enter-active {
|
||||||
|
animation: slideInFromTop 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
||||||
|
}
|
||||||
|
|
||||||
|
.a11y-panel-leave-active {
|
||||||
|
animation: slideOutToTop 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ios-toggle {
|
||||||
|
position: relative;
|
||||||
|
width: 42px;
|
||||||
|
height: 24px;
|
||||||
|
background: #e5e5e5;
|
||||||
|
border-radius: 12px;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 0.3s ease;
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ios-toggle input {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
opacity: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ios-toggle::after {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
top: 2px;
|
||||||
|
left: 2px;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
background: white;
|
||||||
|
border-radius: 50%;
|
||||||
|
transition:
|
||||||
|
transform 0.3s ease,
|
||||||
|
background-color 0.3s ease;
|
||||||
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
||||||
|
z-index: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ios-toggle input:checked + .toggle-track::after {
|
||||||
|
transform: translateX(18px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ios-toggle input:checked + .toggle-track {
|
||||||
|
background: rgba(var(--color-primary-500), 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ios-toggle input:checked ~ .ios-toggle-ball {
|
||||||
|
transform: translateX(18px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ios-toggle.is-checked {
|
||||||
|
background: rgba(var(--color-primary-500), 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ios-toggle:has(input:checked) {
|
||||||
|
background: rgba(var(--color-primary-500), 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ios-toggle:has(input:checked)::after {
|
||||||
|
transform: translateX(18px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.dark .ios-toggle {
|
||||||
|
background: #404040;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dark .ios-toggle::after {
|
||||||
|
background: #f5f5f5;
|
||||||
|
}
|
||||||
@@ -0,0 +1,65 @@
|
|||||||
|
/* Carousel Specific Styles */
|
||||||
|
.ratio-16-9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.ratio-21-9 {
|
||||||
|
padding-top: 42.85%;
|
||||||
|
}
|
||||||
|
.ratio-32-9 {
|
||||||
|
padding-top: 28.125%;
|
||||||
|
}
|
||||||
|
@media (width >= 640px) {
|
||||||
|
.sm\:ratio-16-9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.sm\:ratio-21-9 {
|
||||||
|
padding-top: 42.85%;
|
||||||
|
}
|
||||||
|
.sm\:ratio-32-9 {
|
||||||
|
padding-top: 28.125%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (width >= 853px) {
|
||||||
|
.md\:ratio-16-9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.md\:ratio-21-9 {
|
||||||
|
padding-top: 42.85%;
|
||||||
|
}
|
||||||
|
.md\:ratio-32-9 {
|
||||||
|
padding-top: 28.125%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (width >= 1024px) {
|
||||||
|
.lg\:ratio-16-9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.lg\:ratio-21-9 {
|
||||||
|
padding-top: 42.85%;
|
||||||
|
}
|
||||||
|
.lg\:ratio-32-9 {
|
||||||
|
padding-top: 28.125%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (width >= 1280px) {
|
||||||
|
.xl\:ratio-16-9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.xl\:ratio-21-9 {
|
||||||
|
padding-top: 42.85%;
|
||||||
|
}
|
||||||
|
.xl\:ratio-32-9 {
|
||||||
|
padding-top: 28.125%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (width >= 1536px) {
|
||||||
|
.\32xl\:ratio-16-9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.\32xl\:ratio-21-9 {
|
||||||
|
padding-top: 42.85%;
|
||||||
|
}
|
||||||
|
.\32xl\:ratio-32-9 {
|
||||||
|
padding-top: 28.125%;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,226 @@
|
|||||||
|
|
||||||
|
/* -- Chroma Highlight -- */
|
||||||
|
/* Background */
|
||||||
|
.prose .chroma {
|
||||||
|
@apply static rounded-md text-neutral-700 bg-neutral-50 dark:bg-neutral-700 dark:text-neutral-200;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LineTableTD */
|
||||||
|
.chroma .lntd,
|
||||||
|
.chroma .lntd pre {
|
||||||
|
@apply p-0 m-0 align-top border-none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LineTable */
|
||||||
|
.chroma .lntable {
|
||||||
|
@apply block w-auto px-4 py-3 overflow-hidden text-base;
|
||||||
|
border-spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LineHighlight */
|
||||||
|
.chroma .hl {
|
||||||
|
@apply block w-auto px-4 -mx-4 bg-primary-100 dark:bg-primary-900;
|
||||||
|
}
|
||||||
|
|
||||||
|
.chroma .lntd .hl {
|
||||||
|
@apply p-0 m-0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LineNumbersTable */
|
||||||
|
/* LineNumbers */
|
||||||
|
.chroma .lnt,
|
||||||
|
.chroma .ln {
|
||||||
|
@apply text-neutral-600 dark:text-neutral-300 mr-[0.4em] px-[0.4em] py-0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Keyword */
|
||||||
|
/* KeywordDeclaration */
|
||||||
|
/* KeywordNamespace */
|
||||||
|
/* KeywordPseudo */
|
||||||
|
/* KeywordReserved */
|
||||||
|
/* NameClass */
|
||||||
|
/* NameFunctionMagic */
|
||||||
|
/* NameNamespace */
|
||||||
|
/* NameVariableClass */
|
||||||
|
/* Operator */
|
||||||
|
.chroma .k,
|
||||||
|
.chroma .kd,
|
||||||
|
.chroma .kn,
|
||||||
|
.chroma .kp,
|
||||||
|
.chroma .kr,
|
||||||
|
.chroma .nc,
|
||||||
|
.chroma .fm,
|
||||||
|
.chroma .nn,
|
||||||
|
.chroma .vc,
|
||||||
|
.chroma .o {
|
||||||
|
@apply text-primary-600 dark:text-primary-300;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* KeywordConstant */
|
||||||
|
.chroma .kc {
|
||||||
|
@apply font-semibold text-secondary-400 dark:text-secondary-500;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* KeywordType */
|
||||||
|
/* NameVariable */
|
||||||
|
/* NameVariableInstance */
|
||||||
|
/* NameVariableMagic */
|
||||||
|
/* LiteralNumber */
|
||||||
|
/* LiteralNumberBin */
|
||||||
|
/* LiteralNumberFloat */
|
||||||
|
/* LiteralNumberHex */
|
||||||
|
/* LiteralNumberInteger */
|
||||||
|
/* LiteralNumberIntegerLong */
|
||||||
|
/* LiteralNumberOct */
|
||||||
|
.chroma .kt,
|
||||||
|
.chroma .nv,
|
||||||
|
.chroma .vi,
|
||||||
|
.chroma .vm,
|
||||||
|
.chroma .m,
|
||||||
|
.chroma .mb,
|
||||||
|
.chroma .mf,
|
||||||
|
.chroma .mh,
|
||||||
|
.chroma .mi,
|
||||||
|
.chroma .il,
|
||||||
|
.chroma .mo {
|
||||||
|
@apply text-secondary-400 dark:text-secondary-600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Name */
|
||||||
|
/* NameDecorator */
|
||||||
|
/* NameEntity */
|
||||||
|
/* NameLabel */
|
||||||
|
.chroma .n,
|
||||||
|
.chroma .nd,
|
||||||
|
.chroma .ni,
|
||||||
|
.chroma .nl {
|
||||||
|
@apply text-secondary-900 dark:text-secondary-200;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NameAttribute */
|
||||||
|
/* NameBuiltin */
|
||||||
|
/* NameBuiltinPseudo */
|
||||||
|
/* NameOther */
|
||||||
|
/* NameProperty */
|
||||||
|
/* NameTag */
|
||||||
|
.chroma .na,
|
||||||
|
.chroma .nb,
|
||||||
|
.chroma .bp,
|
||||||
|
.chroma .nx,
|
||||||
|
.chroma .py,
|
||||||
|
.chroma .nt {
|
||||||
|
@apply text-secondary-800 dark:text-secondary-300;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NameConstant */
|
||||||
|
/* NameException */
|
||||||
|
/* NameVariableGlobal */
|
||||||
|
.chroma .no,
|
||||||
|
.chroma .ne,
|
||||||
|
.chroma .vg {
|
||||||
|
@apply font-semibold text-secondary-400 dark:text-secondary-500;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* NameFunction */
|
||||||
|
.chroma .nf {
|
||||||
|
@apply text-secondary-600 dark:text-secondary-500;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Literal */
|
||||||
|
/* LiteralDate */
|
||||||
|
/* LiteralString */
|
||||||
|
/* LiteralStringAffix */
|
||||||
|
/* LiteralStringBacktick */
|
||||||
|
/* LiteralStringChar */
|
||||||
|
/* LiteralStringDelimiter */
|
||||||
|
/* LiteralStringDoc */
|
||||||
|
/* LiteralStringDouble */
|
||||||
|
/* LiteralStringHeredoc */
|
||||||
|
/* LiteralStringInterpol */
|
||||||
|
/* LiteralStringOther */
|
||||||
|
/* LiteralStringSingle */
|
||||||
|
/* GenericInserted */
|
||||||
|
/* GenericOutput */
|
||||||
|
/* GenericPrompt */
|
||||||
|
.chroma .l,
|
||||||
|
.chroma .ld,
|
||||||
|
.chroma .s,
|
||||||
|
.chroma .sa,
|
||||||
|
.chroma .sb,
|
||||||
|
.chroma .sc,
|
||||||
|
.chroma .dl,
|
||||||
|
.chroma .sd,
|
||||||
|
.chroma .s2,
|
||||||
|
.chroma .sh,
|
||||||
|
.chroma .si,
|
||||||
|
.chroma .sx,
|
||||||
|
.chroma .s1,
|
||||||
|
.chroma .gi,
|
||||||
|
.chroma .go,
|
||||||
|
.chroma .gp {
|
||||||
|
@apply text-primary-800 dark:text-primary-400;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralStringEscape */
|
||||||
|
.chroma .se {
|
||||||
|
@apply font-semibold text-secondary-400 dark:text-secondary-500;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* LiteralStringRegex */
|
||||||
|
/* LiteralStringSymbol */
|
||||||
|
.chroma .sr,
|
||||||
|
.chroma .ss {
|
||||||
|
@apply font-semibold text-primary-800 dark:text-primary-400;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* OperatorWord */
|
||||||
|
.chroma .ow {
|
||||||
|
@apply font-semibold text-primary-400 dark:text-primary-600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Comment */
|
||||||
|
/* CommentMultiline */
|
||||||
|
/* CommentSingle */
|
||||||
|
/* CommentSpecial */
|
||||||
|
/* CommentPreproc */
|
||||||
|
/* CommentPreprocFile */
|
||||||
|
.chroma .c,
|
||||||
|
.chroma .cm,
|
||||||
|
.chroma .c1,
|
||||||
|
.chroma .cs,
|
||||||
|
.chroma .cp,
|
||||||
|
.chroma .cpf {
|
||||||
|
@apply italic text-neutral-500 dark:text-neutral-400;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* CommentHashbang */
|
||||||
|
.chroma .ch {
|
||||||
|
@apply italic font-semibold text-neutral-500 dark:text-neutral-400;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericEmph */
|
||||||
|
.chroma .ge {
|
||||||
|
@apply italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericHeading */
|
||||||
|
.chroma .gh {
|
||||||
|
@apply font-semibold text-neutral-500;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericStrong */
|
||||||
|
.chroma .gs {
|
||||||
|
@apply font-semibold;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericSubheading */
|
||||||
|
/* GenericTraceback */
|
||||||
|
.chroma .gu,
|
||||||
|
.chroma .gt {
|
||||||
|
@apply text-neutral-500;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* GenericUnderline */
|
||||||
|
.chroma .gl {
|
||||||
|
@apply underline;
|
||||||
|
}
|
||||||
@@ -0,0 +1,579 @@
|
|||||||
|
/* Gallery Specific Styles */
|
||||||
|
.grid-w10 {
|
||||||
|
width: calc(10% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w15 {
|
||||||
|
width: calc(15% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w20 {
|
||||||
|
width: calc(20% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w25 {
|
||||||
|
width: calc(25% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w30 {
|
||||||
|
width: calc(30% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w33 {
|
||||||
|
width: calc(33% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w35 {
|
||||||
|
width: calc(35% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w40 {
|
||||||
|
width: calc(40% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w45 {
|
||||||
|
width: calc(45% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w50 {
|
||||||
|
width: calc(50% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w55 {
|
||||||
|
width: calc(55% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w60 {
|
||||||
|
width: calc(60% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w65 {
|
||||||
|
width: calc(65% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w66 {
|
||||||
|
width: calc(66% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w70 {
|
||||||
|
width: calc(70% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w75 {
|
||||||
|
width: calc(75% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w80 {
|
||||||
|
width: calc(80% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w85 {
|
||||||
|
width: calc(85% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w90 {
|
||||||
|
width: calc(90% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w95 {
|
||||||
|
width: calc(95% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.grid-w100 {
|
||||||
|
width: calc(100% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
@media (width >= 640px) {
|
||||||
|
.sm\:grid-w10 {
|
||||||
|
width: calc(10% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w15 {
|
||||||
|
width: calc(15% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w20 {
|
||||||
|
width: calc(20% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w25 {
|
||||||
|
width: calc(25% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w30 {
|
||||||
|
width: calc(30% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w33 {
|
||||||
|
width: calc(33% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w35 {
|
||||||
|
width: calc(35% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w40 {
|
||||||
|
width: calc(40% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w45 {
|
||||||
|
width: calc(45% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w50 {
|
||||||
|
width: calc(50% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w55 {
|
||||||
|
width: calc(55% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w60 {
|
||||||
|
width: calc(60% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w65 {
|
||||||
|
width: calc(65% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w66 {
|
||||||
|
width: calc(66% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w70 {
|
||||||
|
width: calc(70% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w75 {
|
||||||
|
width: calc(75% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w80 {
|
||||||
|
width: calc(80% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w85 {
|
||||||
|
width: calc(85% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w90 {
|
||||||
|
width: calc(90% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w95 {
|
||||||
|
width: calc(95% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.sm\:grid-w100 {
|
||||||
|
width: calc(100% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (width >= 853px) {
|
||||||
|
.md\:grid-w10 {
|
||||||
|
width: calc(10% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w15 {
|
||||||
|
width: calc(15% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w20 {
|
||||||
|
width: calc(20% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w25 {
|
||||||
|
width: calc(25% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w30 {
|
||||||
|
width: calc(30% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w33 {
|
||||||
|
width: calc(33% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w35 {
|
||||||
|
width: calc(35% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w40 {
|
||||||
|
width: calc(40% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w45 {
|
||||||
|
width: calc(45% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w50 {
|
||||||
|
width: calc(50% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w55 {
|
||||||
|
width: calc(55% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w60 {
|
||||||
|
width: calc(60% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w65 {
|
||||||
|
width: calc(65% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w66 {
|
||||||
|
width: calc(66% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w70 {
|
||||||
|
width: calc(70% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w75 {
|
||||||
|
width: calc(75% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w80 {
|
||||||
|
width: calc(80% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w85 {
|
||||||
|
width: calc(85% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w90 {
|
||||||
|
width: calc(90% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w95 {
|
||||||
|
width: calc(95% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.md\:grid-w100 {
|
||||||
|
width: calc(100% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (width >= 1024px) {
|
||||||
|
.lg\:grid-w10 {
|
||||||
|
width: calc(10% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w15 {
|
||||||
|
width: calc(15% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w20 {
|
||||||
|
width: calc(20% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w25 {
|
||||||
|
width: calc(25% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w30 {
|
||||||
|
width: calc(30% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w33 {
|
||||||
|
width: calc(33% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w35 {
|
||||||
|
width: calc(35% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w40 {
|
||||||
|
width: calc(40% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w45 {
|
||||||
|
width: calc(45% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w50 {
|
||||||
|
width: calc(50% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w55 {
|
||||||
|
width: calc(55% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w60 {
|
||||||
|
width: calc(60% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w65 {
|
||||||
|
width: calc(65% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w66 {
|
||||||
|
width: calc(66% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w70 {
|
||||||
|
width: calc(70% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w75 {
|
||||||
|
width: calc(75% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w80 {
|
||||||
|
width: calc(80% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w85 {
|
||||||
|
width: calc(85% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w90 {
|
||||||
|
width: calc(90% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w95 {
|
||||||
|
width: calc(95% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.lg\:grid-w100 {
|
||||||
|
width: calc(100% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (width >= 1280px) {
|
||||||
|
.xl\:grid-w10 {
|
||||||
|
width: calc(10% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w15 {
|
||||||
|
width: calc(15% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w20 {
|
||||||
|
width: calc(20% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w25 {
|
||||||
|
width: calc(25% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w30 {
|
||||||
|
width: calc(30% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w33 {
|
||||||
|
width: calc(33% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w35 {
|
||||||
|
width: calc(35% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w40 {
|
||||||
|
width: calc(40% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w45 {
|
||||||
|
width: calc(45% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w50 {
|
||||||
|
width: calc(50% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w55 {
|
||||||
|
width: calc(55% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w60 {
|
||||||
|
width: calc(60% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w65 {
|
||||||
|
width: calc(65% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w66 {
|
||||||
|
width: calc(66% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w70 {
|
||||||
|
width: calc(70% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w75 {
|
||||||
|
width: calc(75% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w80 {
|
||||||
|
width: calc(80% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w85 {
|
||||||
|
width: calc(85% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w90 {
|
||||||
|
width: calc(90% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w95 {
|
||||||
|
width: calc(95% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.xl\:grid-w100 {
|
||||||
|
width: calc(100% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (width >= 1536px) {
|
||||||
|
.\32xl\:grid-w10 {
|
||||||
|
width: calc(10% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w15 {
|
||||||
|
width: calc(15% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w20 {
|
||||||
|
width: calc(20% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w25 {
|
||||||
|
width: calc(25% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w30 {
|
||||||
|
width: calc(30% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w33 {
|
||||||
|
width: calc(33% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w35 {
|
||||||
|
width: calc(35% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w40 {
|
||||||
|
width: calc(40% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w45 {
|
||||||
|
width: calc(45% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w50 {
|
||||||
|
width: calc(50% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w55 {
|
||||||
|
width: calc(55% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w60 {
|
||||||
|
width: calc(60% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w65 {
|
||||||
|
width: calc(65% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w66 {
|
||||||
|
width: calc(66% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w70 {
|
||||||
|
width: calc(70% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w75 {
|
||||||
|
width: calc(75% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w80 {
|
||||||
|
width: calc(80% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w85 {
|
||||||
|
width: calc(85% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w90 {
|
||||||
|
width: calc(90% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w95 {
|
||||||
|
width: calc(95% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
.\32xl\:grid-w100 {
|
||||||
|
width: calc(100% - 5px);
|
||||||
|
margin: 0px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.ratio-16-9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.ratio-21-9 {
|
||||||
|
padding-top: 42.85%;
|
||||||
|
}
|
||||||
|
.ratio-32-9 {
|
||||||
|
padding-top: 28.125%;
|
||||||
|
}
|
||||||
|
@media (width >= 640px) {
|
||||||
|
.sm\:ratio-16-9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.sm\:ratio-21-9 {
|
||||||
|
padding-top: 42.85%;
|
||||||
|
}
|
||||||
|
.sm\:ratio-32-9 {
|
||||||
|
padding-top: 28.125%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (width >= 853px) {
|
||||||
|
.md\:ratio-16-9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.md\:ratio-21-9 {
|
||||||
|
padding-top: 42.85%;
|
||||||
|
}
|
||||||
|
.md\:ratio-32-9 {
|
||||||
|
padding-top: 28.125%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (width >= 1024px) {
|
||||||
|
.lg\:ratio-16-9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.lg\:ratio-21-9 {
|
||||||
|
padding-top: 42.85%;
|
||||||
|
}
|
||||||
|
.lg\:ratio-32-9 {
|
||||||
|
padding-top: 28.125%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (width >= 1280px) {
|
||||||
|
.xl\:ratio-16-9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.xl\:ratio-21-9 {
|
||||||
|
padding-top: 42.85%;
|
||||||
|
}
|
||||||
|
.xl\:ratio-32-9 {
|
||||||
|
padding-top: 28.125%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (width >= 1536px) {
|
||||||
|
.\32xl\:ratio-16-9 {
|
||||||
|
padding-top: 56.25%;
|
||||||
|
}
|
||||||
|
.\32xl\:ratio-21-9 {
|
||||||
|
padding-top: 42.85%;
|
||||||
|
}
|
||||||
|
.\32xl\:ratio-32-9 {
|
||||||
|
padding-top: 28.125%;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#zen-mode-button {
|
#zen-mode-button {
|
||||||
cursor:pointer
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.zen-mode {
|
.zen-mode {
|
||||||
@@ -7,10 +7,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
body.zen-mode-enable {
|
body.zen-mode-enable {
|
||||||
#bmc-wbtn, .author {
|
#bmc-wbtn,
|
||||||
|
.author {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
/*! Blowfish | MIT License | https://github.com/nunocoracao/blowfish */
|
/*! Blowfish | MIT License | https://github.com/nunocoracao/blowfish */
|
||||||
|
|
||||||
@import './components/zen-mode.css';
|
@import "./components/zen-mode.css";
|
||||||
|
@import "./components/chroma.css";
|
||||||
|
@import "./components/a11y.css";
|
||||||
|
|
||||||
@import "tailwindcss";
|
@import "tailwindcss";
|
||||||
@config "../../tailwind.config.js";
|
@config "../../tailwind.config.js";
|
||||||
@@ -10,6 +12,11 @@ body button {
|
|||||||
@apply transition-colors;
|
@apply transition-colors;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
[role="button"] {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
/* Scale SVG icons to text size */
|
/* Scale SVG icons to text size */
|
||||||
.icon svg {
|
.icon svg {
|
||||||
@apply h-[1em] w-[1em];
|
@apply h-[1em] w-[1em];
|
||||||
@@ -59,6 +66,12 @@ body button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Table of Contents */
|
/* Table of Contents */
|
||||||
|
#TOCView {
|
||||||
|
max-height: calc(100vh - 150px);
|
||||||
|
min-height: 0;
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.toc ul,
|
.toc ul,
|
||||||
.toc li {
|
.toc li {
|
||||||
@apply px-0 leading-snug list-none;
|
@apply px-0 leading-snug list-none;
|
||||||
@@ -90,7 +103,9 @@ body button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.copy-button {
|
.copy-button {
|
||||||
@apply absolute top-0 right-0 z-10 invisible w-20 py-1 font-mono text-sm cursor-pointer opacity-90 bg-neutral-200 whitespace-nowrap rounded-bl-md rounded-tr-md text-neutral-700 dark:bg-neutral-600 dark:text-neutral-200;
|
@apply absolute top-0 right-0 z-10 invisible w-20 py-1 font-mono text-sm cursor-pointer
|
||||||
|
opacity-90 bg-neutral-200 whitespace-nowrap rounded-bl-md rounded-tr-md text-neutral-700
|
||||||
|
dark:bg-neutral-600 dark:text-neutral-200 overflow-hidden truncate;
|
||||||
}
|
}
|
||||||
|
|
||||||
.copy-button:hover,
|
.copy-button:hover,
|
||||||
@@ -105,7 +120,15 @@ body button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Fix long KaTeX equations on mobile (see https://katex.org/docs/issues.html#css-customization) */
|
/* Fix long KaTeX equations on mobile (see https://katex.org/docs/issues.html#css-customization) */
|
||||||
.katex-display { overflow: auto hidden }
|
.katex-display {
|
||||||
|
overflow: auto hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Fix katex overflow https://github.com/nunocoracao/blowfish/issues/2138 */
|
||||||
|
.katex-display {
|
||||||
|
padding: 1em;
|
||||||
|
width: calc(100% - 1em);
|
||||||
|
}
|
||||||
|
|
||||||
/* Fix long tables breaking out of article on mobile */
|
/* Fix long tables breaking out of article on mobile */
|
||||||
table {
|
table {
|
||||||
@@ -126,230 +149,8 @@ a {
|
|||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -- Chroma Highlight -- */
|
.prose-invert .highlight pre > code {
|
||||||
/* Background */
|
background-color: unset;
|
||||||
.prose .chroma {
|
|
||||||
@apply static rounded-md text-neutral-700 bg-neutral-50 dark:bg-neutral-700 dark:text-neutral-200;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* LineTableTD */
|
|
||||||
.chroma .lntd,
|
|
||||||
.chroma .lntd pre {
|
|
||||||
@apply p-0 m-0 align-top border-none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* LineTable */
|
|
||||||
.chroma .lntable {
|
|
||||||
@apply block w-auto px-4 py-3 overflow-hidden text-base;
|
|
||||||
border-spacing: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* LineHighlight */
|
|
||||||
.chroma .hl {
|
|
||||||
@apply block w-auto px-4 -mx-4 bg-primary-100 dark:bg-primary-900;
|
|
||||||
}
|
|
||||||
|
|
||||||
.chroma .lntd .hl {
|
|
||||||
@apply p-0 m-0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* LineNumbersTable */
|
|
||||||
/* LineNumbers */
|
|
||||||
.chroma .lnt,
|
|
||||||
.chroma .ln {
|
|
||||||
@apply text-neutral-600 dark:text-neutral-300 mr-[0.4em] px-[0.4em] py-0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Keyword */
|
|
||||||
/* KeywordDeclaration */
|
|
||||||
/* KeywordNamespace */
|
|
||||||
/* KeywordPseudo */
|
|
||||||
/* KeywordReserved */
|
|
||||||
/* NameClass */
|
|
||||||
/* NameFunctionMagic */
|
|
||||||
/* NameNamespace */
|
|
||||||
/* NameVariableClass */
|
|
||||||
/* Operator */
|
|
||||||
.chroma .k,
|
|
||||||
.chroma .kd,
|
|
||||||
.chroma .kn,
|
|
||||||
.chroma .kp,
|
|
||||||
.chroma .kr,
|
|
||||||
.chroma .nc,
|
|
||||||
.chroma .fm,
|
|
||||||
.chroma .nn,
|
|
||||||
.chroma .vc,
|
|
||||||
.chroma .o {
|
|
||||||
@apply text-primary-600 dark:text-primary-300;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* KeywordConstant */
|
|
||||||
.chroma .kc {
|
|
||||||
@apply font-semibold text-secondary-400 dark:text-secondary-500;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* KeywordType */
|
|
||||||
/* NameVariable */
|
|
||||||
/* NameVariableInstance */
|
|
||||||
/* NameVariableMagic */
|
|
||||||
/* LiteralNumber */
|
|
||||||
/* LiteralNumberBin */
|
|
||||||
/* LiteralNumberFloat */
|
|
||||||
/* LiteralNumberHex */
|
|
||||||
/* LiteralNumberInteger */
|
|
||||||
/* LiteralNumberIntegerLong */
|
|
||||||
/* LiteralNumberOct */
|
|
||||||
.chroma .kt,
|
|
||||||
.chroma .nv,
|
|
||||||
.chroma .vi,
|
|
||||||
.chroma .vm,
|
|
||||||
.chroma .m,
|
|
||||||
.chroma .mb,
|
|
||||||
.chroma .mf,
|
|
||||||
.chroma .mh,
|
|
||||||
.chroma .mi,
|
|
||||||
.chroma .il,
|
|
||||||
.chroma .mo {
|
|
||||||
@apply text-secondary-400 dark:text-secondary-600;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Name */
|
|
||||||
/* NameDecorator */
|
|
||||||
/* NameEntity */
|
|
||||||
/* NameLabel */
|
|
||||||
.chroma .n,
|
|
||||||
.chroma .nd,
|
|
||||||
.chroma .ni,
|
|
||||||
.chroma .nl {
|
|
||||||
@apply text-secondary-900 dark:text-secondary-200;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* NameAttribute */
|
|
||||||
/* NameBuiltin */
|
|
||||||
/* NameBuiltinPseudo */
|
|
||||||
/* NameOther */
|
|
||||||
/* NameProperty */
|
|
||||||
/* NameTag */
|
|
||||||
.chroma .na,
|
|
||||||
.chroma .nb,
|
|
||||||
.chroma .bp,
|
|
||||||
.chroma .nx,
|
|
||||||
.chroma .py,
|
|
||||||
.chroma .nt {
|
|
||||||
@apply text-secondary-800 dark:text-secondary-300;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* NameConstant */
|
|
||||||
/* NameException */
|
|
||||||
/* NameVariableGlobal */
|
|
||||||
.chroma .no,
|
|
||||||
.chroma .ne,
|
|
||||||
.chroma .vg {
|
|
||||||
@apply font-semibold text-secondary-400 dark:text-secondary-500;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* NameFunction */
|
|
||||||
.chroma .nf {
|
|
||||||
@apply text-secondary-600 dark:text-secondary-500;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Literal */
|
|
||||||
/* LiteralDate */
|
|
||||||
/* LiteralString */
|
|
||||||
/* LiteralStringAffix */
|
|
||||||
/* LiteralStringBacktick */
|
|
||||||
/* LiteralStringChar */
|
|
||||||
/* LiteralStringDelimiter */
|
|
||||||
/* LiteralStringDoc */
|
|
||||||
/* LiteralStringDouble */
|
|
||||||
/* LiteralStringHeredoc */
|
|
||||||
/* LiteralStringInterpol */
|
|
||||||
/* LiteralStringOther */
|
|
||||||
/* LiteralStringSingle */
|
|
||||||
/* GenericInserted */
|
|
||||||
/* GenericOutput */
|
|
||||||
/* GenericPrompt */
|
|
||||||
.chroma .l,
|
|
||||||
.chroma .ld,
|
|
||||||
.chroma .s,
|
|
||||||
.chroma .sa,
|
|
||||||
.chroma .sb,
|
|
||||||
.chroma .sc,
|
|
||||||
.chroma .dl,
|
|
||||||
.chroma .sd,
|
|
||||||
.chroma .s2,
|
|
||||||
.chroma .sh,
|
|
||||||
.chroma .si,
|
|
||||||
.chroma .sx,
|
|
||||||
.chroma .s1,
|
|
||||||
.chroma .gi,
|
|
||||||
.chroma .go,
|
|
||||||
.chroma .gp {
|
|
||||||
@apply text-primary-800 dark:text-primary-400;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* LiteralStringEscape */
|
|
||||||
.chroma .se {
|
|
||||||
@apply font-semibold text-secondary-400 dark:text-secondary-500;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* LiteralStringRegex */
|
|
||||||
/* LiteralStringSymbol */
|
|
||||||
.chroma .sr,
|
|
||||||
.chroma .ss {
|
|
||||||
@apply font-semibold text-primary-800 dark:text-primary-400;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* OperatorWord */
|
|
||||||
.chroma .ow {
|
|
||||||
@apply font-semibold text-primary-400 dark:text-primary-600;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Comment */
|
|
||||||
/* CommentMultiline */
|
|
||||||
/* CommentSingle */
|
|
||||||
/* CommentSpecial */
|
|
||||||
/* CommentPreproc */
|
|
||||||
/* CommentPreprocFile */
|
|
||||||
.chroma .c,
|
|
||||||
.chroma .cm,
|
|
||||||
.chroma .c1,
|
|
||||||
.chroma .cs,
|
|
||||||
.chroma .cp,
|
|
||||||
.chroma .cpf {
|
|
||||||
@apply italic text-neutral-500 dark:text-neutral-400;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* CommentHashbang */
|
|
||||||
.chroma .ch {
|
|
||||||
@apply italic font-semibold text-neutral-500 dark:text-neutral-400;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* GenericEmph */
|
|
||||||
.chroma .ge {
|
|
||||||
@apply italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* GenericHeading */
|
|
||||||
.chroma .gh {
|
|
||||||
@apply font-semibold text-neutral-500;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* GenericStrong */
|
|
||||||
.chroma .gs {
|
|
||||||
@apply font-semibold;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* GenericSubheading */
|
|
||||||
/* GenericTraceback */
|
|
||||||
.chroma .gu,
|
|
||||||
.chroma .gt {
|
|
||||||
@apply text-neutral-500;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* GenericUnderline */
|
|
||||||
.chroma .gl {
|
|
||||||
@apply underline;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Custom */
|
/* Custom */
|
||||||
@@ -358,53 +159,14 @@ pre {
|
|||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.thumbnail {
|
|
||||||
min-width: 300px;
|
|
||||||
height: 180px;
|
|
||||||
background-repeat:no-repeat;
|
|
||||||
background-size:cover;
|
|
||||||
background-position:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.thumbnail_card {
|
|
||||||
height: 200px;
|
|
||||||
background-repeat:no-repeat;
|
|
||||||
background-size:cover;
|
|
||||||
background-position:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.thumbnail_card_related {
|
|
||||||
height: 150px;
|
|
||||||
background-repeat:no-repeat;
|
|
||||||
background-size:cover;
|
|
||||||
background-position:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.thumbnail_card_term {
|
|
||||||
height: 150px;
|
|
||||||
background-repeat:no-repeat;
|
|
||||||
background-size:cover;
|
|
||||||
background-position:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.single_hero_basic {
|
|
||||||
background-repeat:no-repeat;
|
|
||||||
background-size:cover;
|
|
||||||
background-position:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.single_hero_round {
|
.single_hero_round {
|
||||||
max-height: 50vh;
|
max-height: 50vh;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.single_hero_background {
|
.single_hero_background {
|
||||||
background-repeat:no-repeat;
|
width: calc(100% + 1px); /* patch for very small gap at right edge on mobile devices */
|
||||||
background-size:cover;
|
|
||||||
background-position:center;
|
|
||||||
width: calc(100% + 40px);
|
|
||||||
z-index: -10;
|
z-index: -10;
|
||||||
margin-left: -20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero_gradient {
|
.hero_gradient {
|
||||||
@@ -412,7 +174,27 @@ pre {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.thumbnailshadow {
|
.thumbnail_card {
|
||||||
|
min-width: 300px;
|
||||||
|
height: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.thumbnail_card_related {
|
||||||
|
height: 150px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.thumbnail {
|
||||||
|
width: 300px;
|
||||||
|
min-height: 180px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@variant max-md {
|
||||||
|
.thumbnail {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.thumbnail-shadow {
|
||||||
box-shadow: 5px 5px 20px 1px rgba(0, 0, 0, 0.3);
|
box-shadow: 5px 5px 20px 1px rgba(0, 0, 0, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -424,22 +206,24 @@ pre {
|
|||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
@screen sm {
|
/* Offset scroll position to avoid header overlap */
|
||||||
.thumbnail {
|
[id^="fn"],
|
||||||
min-width: 100%;
|
[id^="fnref"] {
|
||||||
height: 180px;
|
scroll-margin-top: 145px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* patch for skip to main content */
|
||||||
|
#main-content {
|
||||||
|
scroll-margin-top: -125px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@variant sm {
|
||||||
.article {
|
.article {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@screen md {
|
@variant md {
|
||||||
.thumbnail {
|
|
||||||
min-width: 300px;
|
|
||||||
min-height: 180px;
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
.article {
|
.article {
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
}
|
}
|
||||||
@@ -452,19 +236,25 @@ pre {
|
|||||||
.nested-menu:hover + .menuhide {
|
.nested-menu:hover + .menuhide {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transition: visibility 0.3s, opacity 0.3s ease-in-out ;
|
transition:
|
||||||
|
visibility 0.3s,
|
||||||
|
opacity 0.3s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menuhide:hover {
|
.menuhide:hover {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transition: visibility 0.3s, opacity 0.3s ease-in-out ;
|
transition:
|
||||||
|
visibility 0.3s,
|
||||||
|
opacity 0.3s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menuhide {
|
.menuhide {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: visibility 0.3s, opacity 0.3s ease-in-out ;
|
transition:
|
||||||
|
visibility 0.3s,
|
||||||
|
opacity 0.3s ease-in-out;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -473,181 +263,3 @@ pre {
|
|||||||
text-decoration-thickness: 3px;
|
text-decoration-thickness: 3px;
|
||||||
text-underline-offset: 4px;
|
text-underline-offset: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Gallery Specific Styles */
|
|
||||||
.grid-w10 { width: calc(10% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w15 { width: calc(15% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w20 { width: calc(20% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w25 { width: calc(25% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w30 { width: calc(30% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w33 { width: calc(33% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w35 { width: calc(35% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w40 { width: calc(40% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w45 { width: calc(45% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w50 { width: calc(50% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w55 { width: calc(55% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w60 { width: calc(60% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w65 { width: calc(65% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w66 { width: calc(66% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w70 { width: calc(70% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w75 { width: calc(75% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w80 { width: calc(80% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w85 { width: calc(85% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w90 { width: calc(90% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w95 { width: calc(95% - 5px); margin: 0px !important; }
|
|
||||||
.grid-w100 { width: calc(100% - 5px); margin: 0px !important; }
|
|
||||||
|
|
||||||
@screen sm {
|
|
||||||
.sm\:grid-w10 { width: calc(10% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w15 { width: calc(15% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w20 { width: calc(20% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w25 { width: calc(25% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w30 { width: calc(30% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w33 { width: calc(33% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w35 { width: calc(35% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w40 { width: calc(40% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w45 { width: calc(45% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w50 { width: calc(50% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w55 { width: calc(55% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w60 { width: calc(60% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w65 { width: calc(65% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w66 { width: calc(66% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w70 { width: calc(70% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w75 { width: calc(75% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w80 { width: calc(80% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w85 { width: calc(85% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w90 { width: calc(90% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w95 { width: calc(95% - 5px); margin: 0px !important; }
|
|
||||||
.sm\:grid-w100 { width: calc(100% - 5px); margin: 0px !important; }
|
|
||||||
}
|
|
||||||
|
|
||||||
@screen md {
|
|
||||||
.md\:grid-w10 { width: calc(10% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w15 { width: calc(15% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w20 { width: calc(20% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w25 { width: calc(25% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w30 { width: calc(30% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w33 { width: calc(33% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w35 { width: calc(35% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w40 { width: calc(40% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w45 { width: calc(45% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w50 { width: calc(50% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w55 { width: calc(55% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w60 { width: calc(60% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w65 { width: calc(65% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w66 { width: calc(66% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w70 { width: calc(70% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w75 { width: calc(75% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w80 { width: calc(80% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w85 { width: calc(85% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w90 { width: calc(90% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w95 { width: calc(95% - 5px); margin: 0px !important; }
|
|
||||||
.md\:grid-w100 { width: calc(100% - 5px); margin: 0px !important; }
|
|
||||||
}
|
|
||||||
|
|
||||||
@screen lg {
|
|
||||||
.lg\:grid-w10 { width: calc(10% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w15 { width: calc(15% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w20 { width: calc(20% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w25 { width: calc(25% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w30 { width: calc(30% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w33 { width: calc(33% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w35 { width: calc(35% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w40 { width: calc(40% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w45 { width: calc(45% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w50 { width: calc(50% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w55 { width: calc(55% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w60 { width: calc(60% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w65 { width: calc(65% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w66 { width: calc(66% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w70 { width: calc(70% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w75 { width: calc(75% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w80 { width: calc(80% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w85 { width: calc(85% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w90 { width: calc(90% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w95 { width: calc(95% - 5px); margin: 0px !important; }
|
|
||||||
.lg\:grid-w100 { width: calc(100% - 5px); margin: 0px !important; }
|
|
||||||
}
|
|
||||||
|
|
||||||
@screen xl {
|
|
||||||
.xl\:grid-w10 { width: calc(10% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w15 { width: calc(15% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w20 { width: calc(20% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w25 { width: calc(25% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w30 { width: calc(30% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w33 { width: calc(33% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w35 { width: calc(35% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w40 { width: calc(40% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w45 { width: calc(45% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w50 { width: calc(50% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w55 { width: calc(55% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w60 { width: calc(60% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w65 { width: calc(65% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w66 { width: calc(66% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w70 { width: calc(70% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w75 { width: calc(75% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w80 { width: calc(80% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w85 { width: calc(85% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w90 { width: calc(90% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w95 { width: calc(95% - 5px); margin: 0px !important; }
|
|
||||||
.xl\:grid-w100 { width: calc(100% - 5px); margin: 0px !important; }
|
|
||||||
}
|
|
||||||
|
|
||||||
@screen 2xl {
|
|
||||||
.2xl\:grid-w10 { width: calc(10% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w15 { width: calc(15% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w20 { width: calc(20% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w25 { width: calc(25% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w30 { width: calc(30% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w33 { width: calc(33% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w35 { width: calc(35% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w40 { width: calc(40% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w45 { width: calc(45% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w50 { width: calc(50% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w55 { width: calc(55% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w60 { width: calc(60% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w65 { width: calc(65% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w66 { width: calc(66% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w70 { width: calc(70% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w75 { width: calc(75% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w80 { width: calc(80% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w85 { width: calc(85% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w90 { width: calc(90% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w95 { width: calc(95% - 5px); margin: 0px !important; }
|
|
||||||
.2xl\:grid-w100 { width: calc(100% - 5px); margin: 0px !important; }
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Carousel Specific Styles */
|
|
||||||
.ratio-16-9 { padding-top: 56.25%; } /* 16:9 Aspect Ratio */
|
|
||||||
.ratio-21-9 { padding-top: 42.85%; } /* 21:9 Aspect Ratio */
|
|
||||||
.ratio-32-9 { padding-top: 28.125%; } /* 32:9 Aspect Ratio */
|
|
||||||
|
|
||||||
@screen sm {
|
|
||||||
.sm\:ratio-16-9 { padding-top: 56.25%; } /* 16:9 Aspect Ratio */
|
|
||||||
.sm\:ratio-21-9 { padding-top: 42.85%; } /* 21:9 Aspect Ratio */
|
|
||||||
.sm\:ratio-32-9 { padding-top: 28.125%; } /* 32:9 Aspect Ratio */
|
|
||||||
}
|
|
||||||
|
|
||||||
@screen md {
|
|
||||||
.md\:ratio-16-9 { padding-top: 56.25%; } /* 16:9 Aspect Ratio */
|
|
||||||
.md\:ratio-21-9 { padding-top: 42.85%; } /* 21:9 Aspect Ratio */
|
|
||||||
.md\:ratio-32-9 { padding-top: 28.125%; } /* 32:9 Aspect Ratio */
|
|
||||||
}
|
|
||||||
|
|
||||||
@screen lg {
|
|
||||||
.lg\:ratio-16-9 { padding-top: 56.25%; } /* 16:9 Aspect Ratio */
|
|
||||||
.lg\:ratio-21-9 { padding-top: 42.85%; } /* 21:9 Aspect Ratio */
|
|
||||||
.lg\:ratio-32-9 { padding-top: 28.125%; } /* 32:9 Aspect Ratio */
|
|
||||||
}
|
|
||||||
|
|
||||||
@screen xl {
|
|
||||||
.xl\:ratio-16-9 { padding-top: 56.25%; } /* 16:9 Aspect Ratio */
|
|
||||||
.xl\:ratio-21-9 { padding-top: 42.85%; } /* 21:9 Aspect Ratio */
|
|
||||||
.xl\:ratio-32-9 { padding-top: 28.125%; } /* 32:9 Aspect Ratio */
|
|
||||||
}
|
|
||||||
|
|
||||||
@screen 2xl {
|
|
||||||
.2xl\:ratio-16-9 { padding-top: 56.25%; } /* 16:9 Aspect Ratio */
|
|
||||||
.2xl\:ratio-21-9 { padding-top: 42.85%; } /* 21:9 Aspect Ratio */
|
|
||||||
.2xl\:ratio-32-9 { padding-top: 28.125%; } /* 32:9 Aspect Ratio */
|
|
||||||
}
|
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
:root { --color-neutral: 255, 255, 255;
|
:root {
|
||||||
|
--color-neutral: 255, 255, 255;
|
||||||
--color-neutral-50: 255, 255, 255;
|
--color-neutral-50: 255, 255, 255;
|
||||||
--color-neutral-100: 214, 251, 252;
|
--color-neutral-100: 214, 251, 252;
|
||||||
--color-neutral-200: 142, 245, 247;
|
--color-neutral-200: 142, 245, 247;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
:root { --color-neutral: 255, 255, 255;
|
:root {
|
||||||
|
--color-neutral: 255, 255, 255;
|
||||||
--color-neutral-50: 255, 255, 255;
|
--color-neutral-50: 255, 255, 255;
|
||||||
--color-neutral-100: 254, 197, 207;
|
--color-neutral-100: 254, 197, 207;
|
||||||
--color-neutral-200: 253, 121, 144;
|
--color-neutral-200: 253, 121, 144;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
:root { --color-neutral: 255, 255, 255;
|
:root {
|
||||||
|
--color-neutral: 255, 255, 255;
|
||||||
--color-neutral-50: 255, 255, 255;
|
--color-neutral-50: 255, 255, 255;
|
||||||
--color-neutral-100: 232, 238, 237;
|
--color-neutral-100: 232, 238, 237;
|
||||||
--color-neutral-200: 188, 206, 203;
|
--color-neutral-200: 188, 206, 203;
|
||||||
|
|||||||
@@ -0,0 +1,35 @@
|
|||||||
|
:root {
|
||||||
|
--color-neutral: 255, 255, 255;
|
||||||
|
--color-neutral-50: 248, 250, 252;
|
||||||
|
--color-neutral-100: 241, 245, 249;
|
||||||
|
--color-neutral-200: 226, 232, 240;
|
||||||
|
--color-neutral-300: 203, 213, 225;
|
||||||
|
--color-neutral-400: 148, 163, 184;
|
||||||
|
--color-neutral-500: 100, 116, 139;
|
||||||
|
--color-neutral-600: 71, 85, 105;
|
||||||
|
--color-neutral-700: 51, 57, 65;
|
||||||
|
--color-neutral-800: 20, 25, 31;
|
||||||
|
--color-neutral-900: 15, 23, 42;
|
||||||
|
|
||||||
|
--color-primary-50: 226, 242, 255;
|
||||||
|
--color-primary-100: 186, 221, 255;
|
||||||
|
--color-primary-200: 141, 201, 255;
|
||||||
|
--color-primary-300: 91, 179, 255;
|
||||||
|
--color-primary-400: 50, 162, 255;
|
||||||
|
--color-primary-500: 0, 146, 255;
|
||||||
|
--color-primary-600: 23, 131, 255;
|
||||||
|
--color-primary-700: 31, 113, 235;
|
||||||
|
--color-primary-800: 35, 95, 216;
|
||||||
|
--color-primary-900: 38, 61, 185;
|
||||||
|
|
||||||
|
--color-secondary-50: 255, 236, 241;
|
||||||
|
--color-secondary-100: 255, 208, 218;
|
||||||
|
--color-secondary-200: 253, 157, 166;
|
||||||
|
--color-secondary-300: 249, 117, 130;
|
||||||
|
--color-secondary-400: 255, 79, 98;
|
||||||
|
--color-secondary-500: 255, 57, 73;
|
||||||
|
--color-secondary-600: 255, 48, 72;
|
||||||
|
--color-secondary-700: 237, 36, 65;
|
||||||
|
--color-secondary-800: 224, 27, 58;
|
||||||
|
--color-secondary-900: 209, 4, 45;
|
||||||
|
}
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
:root { --color-neutral: 255, 255, 255;
|
:root {
|
||||||
|
--color-neutral: 255, 255, 255;
|
||||||
--color-neutral-50: 255, 255, 255;
|
--color-neutral-50: 255, 255, 255;
|
||||||
--color-neutral-100: 255, 255, 255;
|
--color-neutral-100: 255, 255, 255;
|
||||||
--color-neutral-200: 201, 209, 244;
|
--color-neutral-200: 201, 209, 244;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
:root { --color-neutral: 255, 255, 255;
|
:root {
|
||||||
|
--color-neutral: 255, 255, 255;
|
||||||
--color-neutral-50: 255, 255, 255;
|
--color-neutral-50: 255, 255, 255;
|
||||||
--color-neutral-100: 255, 255, 255;
|
--color-neutral-100: 255, 255, 255;
|
||||||
--color-neutral-200: 218, 196, 249;
|
--color-neutral-200: 218, 196, 249;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
:root { --color-neutral: 255, 255, 255;
|
:root {
|
||||||
|
--color-neutral: 255, 255, 255;
|
||||||
--color-neutral-50: 255, 255, 255;
|
--color-neutral-50: 255, 255, 255;
|
||||||
--color-neutral-100: 255, 255, 255;
|
--color-neutral-100: 255, 255, 255;
|
||||||
--color-neutral-200: 214, 219, 222;
|
--color-neutral-200: 214, 219, 222;
|
||||||
|
|||||||
@@ -0,0 +1,35 @@
|
|||||||
|
:root {
|
||||||
|
--color-neutral: 255, 255, 255;
|
||||||
|
--color-neutral-50: 248, 248, 248;
|
||||||
|
--color-neutral-100: 241, 241, 241;
|
||||||
|
--color-neutral-200: 226, 226, 226;
|
||||||
|
--color-neutral-300: 203, 203, 203;
|
||||||
|
--color-neutral-400: 188, 188, 188;
|
||||||
|
--color-neutral-500: 100, 100, 100;
|
||||||
|
--color-neutral-600: 71, 71, 71;
|
||||||
|
--color-neutral-700: 45, 45, 45;
|
||||||
|
--color-neutral-800: 23, 23, 23;
|
||||||
|
--color-neutral-900: 15, 15, 15;
|
||||||
|
|
||||||
|
--color-primary-50: 224, 244, 255;
|
||||||
|
--color-primary-100: 179, 224, 255;
|
||||||
|
--color-primary-200: 128, 202, 255;
|
||||||
|
--color-primary-300: 77, 179, 249;
|
||||||
|
--color-primary-400: 31, 158, 234;
|
||||||
|
--color-primary-500: 0, 122, 204;
|
||||||
|
--color-primary-600: 0, 110, 184;
|
||||||
|
--color-primary-700: 0, 94, 163;
|
||||||
|
--color-primary-800: 0, 79, 143;
|
||||||
|
--color-primary-900: 0, 57, 111;
|
||||||
|
|
||||||
|
--color-secondary-50: 225, 244, 238;
|
||||||
|
--color-secondary-100: 182, 227, 212;
|
||||||
|
--color-secondary-200: 135, 209, 184;
|
||||||
|
--color-secondary-300: 88, 190, 157;
|
||||||
|
--color-secondary-400: 55, 175, 137;
|
||||||
|
--color-secondary-500: 32, 160, 119;
|
||||||
|
--color-secondary-600: 28, 146, 107;
|
||||||
|
--color-secondary-700: 22, 130, 92;
|
||||||
|
--color-secondary-800: 12, 114, 79;
|
||||||
|
--color-secondary-900: 0, 86, 52;
|
||||||
|
}
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
:root { --color-neutral: 255, 255, 255;
|
:root {
|
||||||
|
--color-neutral: 255, 255, 255;
|
||||||
--color-neutral-50: 255, 255, 255;
|
--color-neutral-50: 255, 255, 255;
|
||||||
--color-neutral-100: 238, 232, 238;
|
--color-neutral-100: 238, 232, 238;
|
||||||
--color-neutral-200: 206, 188, 206;
|
--color-neutral-200: 206, 188, 206;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
:root { --color-neutral: 255, 255, 255;
|
:root {
|
||||||
|
--color-neutral: 255, 255, 255;
|
||||||
--color-neutral-50: 203, 255, 227;
|
--color-neutral-50: 203, 255, 227;
|
||||||
--color-neutral-100: 126, 255, 186;
|
--color-neutral-100: 126, 255, 186;
|
||||||
--color-neutral-200: 49, 255, 145;
|
--color-neutral-200: 49, 255, 145;
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm161.5-86.1c-12.2-5.2-26.3 .4-31.5 12.6s.4 26.3 12.6 31.5l11.9 5.1c17.3 7.4 35.2 12.9 53.6 16.3l0 50.1c0 4.3-.7 8.6-2.1 12.6l-28.7 86.1c-4.2 12.6 2.6 26.2 15.2 30.4s26.2-2.6 30.4-15.2l24.4-73.2c1.3-3.8 4.8-6.4 8.8-6.4s7.6 2.6 8.8 6.4l24.4 73.2c4.2 12.6 17.8 19.4 30.4 15.2s19.4-17.8 15.2-30.4l-28.7-86.1c-1.4-4.1-2.1-8.3-2.1-12.6l0-50.1c18.4-3.5 36.3-8.9 53.6-16.3l11.9-5.1c12.2-5.2 17.8-19.3 12.6-31.5s-19.3-17.8-31.5-12.6L338.7 175c-26.1 11.2-54.2 17-82.7 17s-56.5-5.8-82.7-17l-11.9-5.1zM256 160a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"/></svg>
|
||||||
|
After Width: | Height: | Size: 680 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="currentColor" d="M495.8 0c5.5 0 10.9 .2 16.3 .7c7 .6 12.8 5.7 14.3 12.5s-1.6 13.9-7.7 17.3c-44.4 25.2-74.4 73-74.4 127.8c0 81 65.5 146.6 146.2 146.6c8.6 0 17-.7 25.1-2.1c6.9-1.2 13.8 2.2 17 8.5s1.9 13.8-3.1 18.7c-34.5 33.6-81.7 54.4-133.6 54.4c-9.3 0-18.4-.7-27.4-1.9c-11.2-22.6-29.8-40.9-52.6-51.7c-2.7-58.5-50.3-105.3-109.2-106.7c-1.7-10.4-2.6-21-2.6-31.8C304 86.1 389.8 0 495.8 0zM447.9 431.9c0 44.2-35.8 80-80 80L96 511.9c-53 0-96-43-96-96c0-47.6 34.6-87 80-94.6l0-1.3c0-53 43-96 96-96c34.9 0 65.4 18.6 82.2 46.4c13-9.1 28.8-14.4 45.8-14.4c44.2 0 80 35.8 80 80c0 5.9-.6 11.7-1.9 17.2c37.4 6.7 65.8 39.4 65.8 78.7z"/></svg>
|
||||||
|
After Width: | Height: | Size: 700 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="currentColor" d="M0 336c0 79.5 64.5 144 144 144l368 0c70.7 0 128-57.3 128-128c0-61.9-44-113.6-102.4-125.4c4.1-10.7 6.4-22.4 6.4-34.6c0-53-43-96-96-96c-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32C167.6 32 96 103.6 96 192c0 2.7 .1 5.4 .2 8.1C40.2 219.8 0 273.2 0 336z"/></svg>
|
||||||
|
After Width: | Height: | Size: 353 B |
@@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="196.52mm" height="196.52mm" viewBox="0 0 196.52 196.52" version="1.1">
|
||||||
|
<g fill="currentColor" transform="translate(6.6789703,-32.495842) matrix(0.26458333,0,0,0.26458333,-6.6789703,32.495842)">
|
||||||
|
<path d="m 181.13086,275.13672 a 68.892408,68.892408 0 0 1 -29.46484,29.32812 l 161.75781,162.38868 38.99805,-19.76368 z m 213.36328,214.1875 -38.99805,19.76367 81.96289,82.2832 a 68.892409,68.892409 0 0 1 29.47071,-29.33203 z"/>
|
||||||
|
<path d="m 581.64648,339.39062 -91.57617,46.41016 6.75196,43.18945 103.61523,-52.51367 A 68.892409,68.892409 0 0 1 581.64648,339.39062 Z M 436.9082,412.74219 220.38281,522.47656 a 68.892408,68.892408 0 0 1 18.79492,37.08985 L 443.66016,455.93359 Z"/>
|
||||||
|
<path d="M 367.27539,142.4375 262.79492,346.4082 293.64258,377.375 404.26562,161.41797 A 68.892408,68.892408 0 0 1 367.27539,142.4375 Z m -131.6543,257.02148 -52.92187,103.31446 a 68.892409,68.892409 0 0 1 36.98633,18.97851 l 46.78125,-91.32812 z"/>
|
||||||
|
<path d="m 150.76758,304.91797 a 68.892408,68.892408 0 0 1 -34.41602,7.19531 68.892408,68.892408 0 0 1 -6.65039,-0.69531 l 30.90235,197.66211 a 68.892409,68.892409 0 0 1 34.41601,-7.19531 68.892409,68.892409 0 0 1 6.64649,0.69531 z"/>
|
||||||
|
<path d="m 239.3418,560.54492 a 68.892408,68.892408 0 0 1 0.7207,13.87696 68.892408,68.892408 0 0 1 -7.26758,27.17968 l 197.62891,31.71289 a 68.892409,68.892409 0 0 1 -0.72266,-13.8789 68.892409,68.892409 0 0 1 7.26953,-27.17774 z"/>
|
||||||
|
<path d="m 601.13281,377.19922 -91.21875,178.08203 a 68.892408,68.892408 0 0 1 36.99414,18.98242 L 638.125,396.18359 a 68.892409,68.892409 0 0 1 -36.99219,-18.98437 z"/>
|
||||||
|
<path d="m 476.72266,125.33008 a 68.892408,68.892408 0 0 1 -29.47071,29.33203 l 141.26563,141.81055 a 68.892409,68.892409 0 0 1 29.46875,-29.33204 z"/>
|
||||||
|
<path d="m 347.78711,104.63086 -178.57617,90.49805 a 68.892409,68.892409 0 0 1 18.79297,37.08593 l 178.57421,-90.50195 a 68.892408,68.892408 0 0 1 -18.79101,-37.08203 z"/>
|
||||||
|
<path d="m 446.92578,154.82617 a 68.892408,68.892408 0 0 1 -34.98242,7.48242 68.892408,68.892408 0 0 1 -6.0293,-0.63281 l 15.81836,101.29102 43.16211,6.92578 z m -16,167.02735 37.40039,239.48242 a 68.892409,68.892409 0 0 1 33.91406,-6.94336 68.892409,68.892409 0 0 1 7.20704,0.79101 L 474.08984,328.77734 Z"/>
|
||||||
|
<path d="m 188.13086,232.97461 a 68.892408,68.892408 0 0 1 0.75781,14.0957 68.892408,68.892408 0 0 1 -7.16015,26.98242 l 101.36914,16.28125 19.92382,-38.9082 z m 173.73633,27.90039 -19.92578,38.91211 239.51367,38.4668 a 68.892409,68.892409 0 0 1 -0.69531,-13.71875 68.892409,68.892409 0 0 1 7.34961,-27.32422 z"/>
|
||||||
|
</g>
|
||||||
|
<g fill="currentColor" transform="translate(6.6789703,-32.495842) rotate(3.1178174)">
|
||||||
|
<circle cx="106.26596" cy="51.535553" r="16.570711" />
|
||||||
|
<circle cx="171.42836" cy="110.19328" r="16.570711" />
|
||||||
|
<circle cx="135.76379" cy="190.27704" r="16.570711" />
|
||||||
|
<circle cx="48.559471" cy="181.1138" r="16.570711" />
|
||||||
|
<circle cx="30.328812" cy="95.366837" r="16.570711" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.0 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 360 385"><g><path fill="currentColor" d="M 323.28223,42.662430 V 15.430205 L 343.04720,0 H 129.15709 L 0,112.2736 h 85.656075 c -0.15534,2.12494 -0.21914,4.04644 -0.21914,6.22563 0,20.84472 7.2192,38.08662 21.67203,51.86089 14.45284,13.79702 32.25124,20.64784 53.32651,20.64784 4.92319,0 9.75059,-0.36794 14.43842,-1.02419 -2.90722,6.50082 -4.37457,12.52302 -4.37457,18.14228 0,9.87526 4.49924,20.4304 13.46715,31.6418 -39.23377,2.6705 -68.06112,9.73264 -86.43702,21.16322 -10.53108,6.49907 -19.000207,14.70396 -25.390349,24.5311 -6.390569,9.89933 -9.577754,20.51525 -9.577754,31.9616 0,9.64822 2.062375,18.33611 6.21907,26.06233 4.156694,7.7263 9.577757,14.07047 16.312223,18.98408 6.71825,4.96781 14.46899,9.10088 23.219,12.46874 8.73429,3.34378 17.40643,5.71858 26.06106,7.06258 8.62707,1.34222 17.20471,1.9985 25.70579,1.9985 13.46887,0 26.95353,-1.73428 40.54711,-5.18707 13.56165,-3.48461 26.28022,-8.64143 38.17105,-15.4927 11.85935,-6.80488 21.51545,-16.0865 28.9219,-27.7183 7.39024,-11.67998 11.09457,-24.80499 11.09457,-39.33613 0,-11.01584 -2.24964,-21.03852 -6.7502,-30.14073 -4.46864,-9.07202 -9.93785,-16.54102 -16.45271,-22.34403 -6.5008,-5.81263 -12.99987,-11.15539 -19.51512,-15.9679 -6.50083,-4.84488 -12.00021,-9.75058 -16.46884,-14.8129 -4.4848,-5.04657 -6.73444,-10.05419 -6.73444,-14.98395 0,-4.92145 1.73422,-9.67183 5.21588,-14.26559 3.45451,-4.6095 7.67376,-9.04795 12.60967,-13.30571 4.93756,-4.24944 9.87523,-8.96788 14.79665,-14.13302 4.92147,-5.14719 9.14072,-11.82739 12.60971,-20.00822 3.48467,-8.17907 5.20318,-17.44489 5.20318,-27.75679 0,-13.4527 -2.54714,-24.46065 -7.54735,-33.31348 -0.59369,-1.02243 -1.21757,-1.80338 -1.87511,-3.02225 l 56.90745,-46.672136 v 17.118526 c -7.39373,0.92969 -6.62422,5.34582 -6.62422,10.6352 v 128.66719 c 0,5.95832 4.8751,10.83382 10.83386,10.83382 h 3.98869 c 5.95835,0 10.83386,-4.87506 10.83386,-10.83382 V 53.29282 c 0,-5.27669 0.77741,-9.68801 -6.56167,-10.63039 z M 215.92220,265.14114 c 1.14099,0.7503 3.7039,2.78075 7.7184,6.03838 4.0495,3.24319 6.797,5.69582 8.26567,7.41432 1.43851,1.66381 3.5792,4.16501 6.37617,7.54734 2.81268,3.3744 4.7184,6.30394 5.71853,8.73425 1.00016,2.4767 2.01603,5.46089 3.04636,8.94556 0.98567,3.44488 1.48486,6.97595 1.48486,10.56169 0,17.04813 -6.56338,29.68007 -19.65604,37.85915 -13.125,8.18083 -28.76651,12.27368 -46.93767,12.27368 -9.18709,0 -18.2031,-1.09289 -27.06247,-3.1951 -8.84322,-2.11665 -17.31192,-5.3362 -25.39035,-9.60185 -8.07846,-4.25771 -14.57754,-10.20337 -19.50072,-17.79659 -4.93764,-7.64012 -7.40645,-16.41464 -7.40645,-26.24962 0,-10.32022 2.79692,-19.28987 8.42233,-26.90588 5.59343,-7.62564 12.93774,-13.3919 22.03208,-17.3154 9.0624,-3.94582 18.24946,-6.74232 27.56166,-8.39827 9.31221,-1.7023 18.79679,-2.555 28.43842,-2.555 4.46862,0 7.93582,0.25115 10.40465,0.69607 0.45456,0.21918 3.03188,2.07025 7.73456,5.56326 4.70401,3.46237 7.62565,5.59519 8.75047,6.38401 z m -3.35823,-100.5779 c -7.40648,8.85938 -17.73454,13.2882 -30.95363,13.2882 -11.85933,0 -22.29766,-4.76482 -31.26554,-14.31195 -8.99984,-9.52309 -15.42235,-20.32803 -19.34408,-32.43061 -3.93752,-12.10871 -5.90585,-23.98423 -5.90585,-35.648 0,-13.6942 3.59542,-25.35184 10.7809,-34.97598 7.18727,-9.64952 17.49915,-14.48477 30.93786,-14.48477 11.87507,0 22.37423,5.03825 31.43704,15.15677 9.09434,10.08482 15.60961,21.41303 19.5169,33.96799 3.92176,12.5392 5.87345,24.52979 5.87345,35.98399 0,13.44658 -3.70256,24.60984 -11.07663,33.45436 z"/></g></svg>
|
||||||
|
After Width: | Height: | Size: 3.4 KiB |
@@ -0,0 +1,16 @@
|
|||||||
|
<svg width="1024" height="1024" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path fill="currentColor" d="M512 11.375a500.25 500.25 0 1 0 0 1001.25 500.25 500.25 0 0 0 0-1001.25z" mask="url(#cutout)"/>
|
||||||
|
<defs>
|
||||||
|
<mask id="cutout">
|
||||||
|
<rect width="1024" height="1024" fill="white"/>
|
||||||
|
<g fill="black">
|
||||||
|
<path d="M596.1 176c-27.5 0-49.8 22.3-49.8 49.8 0 16.6 8.2 31.8 21.4 41 3.8 2.6 6 2.9 6.5 7.1 0.5 4.1-5.1 7.9-5.1 7.9L308.7 484.1c-23.4 18.2-37.1 46.2-37.1 75.8v191.9c0 53.1 43.1 96.1 96.1 96.1s96.1-43.1 96.1-96.1V607.3l251-195.1c36.8-28.6 47.4-79.2 26.5-119.8-1.6-3-2.1-4.1-5.3-5.4-3.3-1.3-5.9 0.2-9.1 1.4-4.5 1.7-9.2 2.6-14.1 2.6-22.1 0-40.1-17.9-40.1-40.1 0-3 0.5-4.8-0.4-6.6-0.9-1.9-3.2-3.1-5.6-3.3-3.9-0.4-7.7-0.6-11.6-0.6-3.8 0-6.7-0.3-8.4-3.1-1.6-2.8-0.8-6-0.8-11 0-27.5-22.3-49.8-49.8-49.8z"/>
|
||||||
|
<path d="M464 508.6l245.3 163.5c44.1 29.4 56 89 26.6 133.1-29.4 44.1-89 56-133.1 26.6l-288-192C288 622.1 272 592.1 272 560V336c0-53 43-96 96-96s96 43 96 96z"/>
|
||||||
|
<circle cx="503.5" cy="185.8" r="34"/>
|
||||||
|
<circle cx="536" cy="119.9" r="22.2"/>
|
||||||
|
<circle cx="475.6" cy="103.6" r="15.5"/>
|
||||||
|
<circle cx="712.9" cy="250.5" r="27.2"/>
|
||||||
|
</g>
|
||||||
|
</mask>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Pro 6.4.2 by @fontawesome - https://fontawesome.com License -https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="currentColor" d="M311 196.8v81.3c0 2.1-1.6 3.7-3.7 3.7h-13c-1.3 0-2.4-.7-3-1.5l-37.3-50.3v48.2c0 2.1-1.6 3.7-3.7 3.7h-13c-2.1 0-3.7-1.6-3.7-3.7V196.9c0-2.1 1.6-3.7 3.7-3.7h12.9c1.1 0 2.4 .6 3 1.6l37.3 50.3V196.9c0-2.1 1.6-3.7 3.7-3.7h13c2.1-.1 3.8 1.6 3.8 3.5zm-93.7-3.7h-13c-2.1 0-3.7 1.6-3.7 3.7v81.3c0 2.1 1.6 3.7 3.7 3.7h13c2.1 0 3.7-1.6 3.7-3.7V196.8c0-1.9-1.6-3.7-3.7-3.7zm-31.4 68.1H150.3V196.8c0-2.1-1.6-3.7-3.7-3.7h-13c-2.1 0-3.7 1.6-3.7 3.7v81.3c0 1 .3 1.8 1 2.5c.7 .6 1.5 1 2.5 1h52.2c2.1 0 3.7-1.6 3.7-3.7v-13c0-1.9-1.6-3.7-3.5-3.7zm193.7-68.1H327.3c-1.9 0-3.7 1.6-3.7 3.7v81.3c0 1.9 1.6 3.7 3.7 3.7h52.2c2.1 0 3.7-1.6 3.7-3.7V265c0-2.1-1.6-3.7-3.7-3.7H344V247.7h35.5c2.1 0 3.7-1.6 3.7-3.7V230.9c0-2.1-1.6-3.7-3.7-3.7H344V213.5h35.5c2.1 0 3.7-1.6 3.7-3.7v-13c-.1-1.9-1.7-3.7-3.7-3.7zM512 93.4V419.4c-.1 51.2-42.1 92.7-93.4 92.6H92.6C41.4 511.9-.1 469.8 0 418.6V92.6C.1 41.4 42.2-.1 93.4 0H419.4c51.2 .1 92.7 42.1 92.6 93.4zM441.6 233.5c0-83.4-83.7-151.3-186.4-151.3s-186.4 67.9-186.4 151.3c0 74.7 66.3 137.4 155.9 149.3c21.8 4.7 19.3 12.7 14.4 42.1c-.8 4.7-3.8 18.4 16.1 10.1s107.3-63.2 146.5-108.2c27-29.7 39.9-59.8 39.9-93.1z" /></svg>
|
||||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Matrix</title><path fill="currentColor" d="M.632.55v22.9H2.28V24H0V0h2.28v.55zm7.043 7.26v1.157h.033c.309-.443.683-.784 1.117-1.024.433-.245.936-.365 1.5-.365.54 0 1.033.107 1.481.314.448.208.785.582 1.02 1.108.254-.374.6-.706 1.034-.992.434-.287.95-.43 1.546-.43.453 0 .872.056 1.26.167.388.11.716.286.993.53.276.245.489.559.646.951.152.392.23.863.23 1.417v5.728h-2.349V11.52c0-.286-.01-.559-.032-.812a1.755 1.755 0 0 0-.18-.66 1.106 1.106 0 0 0-.438-.448c-.194-.11-.457-.166-.785-.166-.332 0-.6.064-.803.189a1.38 1.38 0 0 0-.48.499 1.946 1.946 0 0 0-.231.696 5.56 5.56 0 0 0-.06.785v4.768h-2.35v-4.8c0-.254-.004-.503-.018-.752a2.074 2.074 0 0 0-.143-.688 1.052 1.052 0 0 0-.415-.503c-.194-.125-.476-.19-.854-.19-.111 0-.259.024-.439.074-.18.051-.36.143-.53.282-.171.138-.319.337-.439.595-.12.259-.18.6-.18 1.02v4.966H5.46V7.81zm15.693 15.64V.55H21.72V0H24v24h-2.28v-.55z"/></svg>
|
||||||
|
After Width: | Height: | Size: 959 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 365 486.53"><path fill="currentColor" d="M0,243.26V0l182.5,121.63L0,243.26Z"/><path fill="currentColor" d="M0,486.53v-243.26l182.5,121.63L0,486.53Z"/><path fill="currentColor" d="M182.5,364.9V121.63l182.5,121.63-182.5,121.63Z"/></svg>
|
||||||
|
After Width: | Height: | Size: 287 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 510 510"><path fill="currentColor" d="M255,510C114.17,510,0,395.83,0,255S114.17,0,255,0s255,114.17,255,255-114.17,255-255,255ZM234.75,310.67h46.78c44.06,0,79.79-34.78,79.79-77.67s-35.72-77.68-79.79-77.68h-67.51c-25.42,0-46.03,20.06-46.03,44.82v174.42l66.77-63.88Z"/></svg>
|
||||||
|
After Width: | Height: | Size: 325 B |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path fill="currentColor" d="M256 0c13.3 0 26.3 1 39.1 3l-3.7 23.7C279.9 24.9 268 24 256 24s-23.9 .9-35.4 2.7L216.9 3C229.7 1 242.7 0 256 0zm60.8 7.3l-5.7 23.3c23.4 5.7 45.4 14.9 65.4 27.1l12.5-20.5c-22.1-13.4-46.4-23.6-72.2-29.9zm90.5 42.2L393.1 68.8c19.1 14 36 30.9 50.1 50.1l19.4-14.2C447 83.6 428.4 65 407.3 49.5zm67.5 73.6l-20.5 12.5c12.2 20 21.4 42 27.1 65.4l23.3-5.7c-6.3-25.8-16.5-50.1-29.9-72.2zM509 216.9l-23.7 3.7c1.8 11.5 2.7 23.4 2.7 35.4s-.9 23.9-2.7 35.4l23.7 3.7c1.9-12.7 3-25.8 3-39.1s-1-26.3-3-39.1zM454.3 376.5c12.2-20 21.4-42 27.1-65.4l23.3 5.7c-6.3 25.8-16.5 50.1-29.9 72.2l-20.5-12.5zm-11.1 16.6l19.4 14.2c-15.5 21.1-34.1 39.8-55.2 55.2l-14.2-19.4c19.1-14 36-30.9 50.1-50.1zm-66.7 61.2l12.5 20.5c-22.1 13.4-46.4 23.6-72.2 29.9l-5.7-23.3c23.4-5.7 45.4-14.9 65.4-27.1zm-85.1 31l3.7 23.7c-12.7 1.9-25.8 3-39.1 3s-26.3-1-39.1-3l3.7-23.7c11.5 1.8 23.4 2.7 35.4 2.7s23.9-.9 35.4-2.7zm-90.5-3.9l-5.7 23.3c-19.4-4.7-37.9-11.6-55.3-20.5l-24.3 5.7-5.5-23.4 32.8-7.7 7.8 4c15.7 8 32.5 14.3 50.1 18.6zM90 471.3l5.5 23.4-41.6 9.7C26 510.8 1.2 486 7.6 458.2l9.7-41.6L40.7 422 31 463.7c-2.4 10.4 6.9 19.7 17.3 17.3L90 471.3zM45.5 401.8l-23.4-5.5L27.8 372C18.9 354.7 12 336.1 7.3 316.7l23.3-5.7c4.3 17.6 10.6 34.4 18.6 50.1l4 7.8-7.7 32.8zM26.7 291.4L3 295.1C1 282.3 0 269.3 0 256s1-26.3 3-39.1l23.7 3.7C24.9 232.1 24 244 24 256s.9 23.9 2.7 35.4zm3.9-90.5L7.3 195.2c6.3-25.8 16.5-50.1 29.9-72.2l20.5 12.5c-12.2 20-21.4 42-27.1 65.4zm38.3-82.1L49.5 104.7C65 83.6 83.6 65 104.7 49.5l14.2 19.4c-19.1 14-36 30.9-50.1 50.1zm66.7-61.2L123.1 37.2c22.1-13.4 46.4-23.6 72.2-29.9l5.7 23.3c-23.4 5.7-45.4 14.9-65.4 27.1zM464 256c0 114.9-93.1 208-208 208c-36.4 0-70.7-9.4-100.5-25.8c-2.9-1.6-6.2-2.1-9.4-1.4L53.6 458.4l21.6-92.5c.7-3.2 .2-6.5-1.4-9.4C57.4 326.7 48 292.4 48 256C48 141.1 141.1 48 256 48s208 93.1 208 208z"/></svg>
|
||||||
|
After Width: | Height: | Size: 2.0 KiB |
@@ -0,0 +1,5 @@
|
|||||||
|
<svg width="592" height="592" viewBox="0 0 592 592" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M46 260.286L292.269 46L546 260.286" stroke="currentColor" stroke-width="91" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M46 447.786L292.269 233.5L546 447.786" stroke="currentColor" stroke-width="91" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path d="M293.619 407.607V546" stroke="currentColor" stroke-width="91" stroke-linecap="round"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 486 B |
@@ -0,0 +1,170 @@
|
|||||||
|
window.A11yPanel = (() => {
|
||||||
|
const FEATURES = {
|
||||||
|
disableBlur: {
|
||||||
|
default: false,
|
||||||
|
apply: (enabled) => {
|
||||||
|
document.querySelectorAll("script[data-blur-id]").forEach((script) => {
|
||||||
|
const targetId = script.getAttribute("data-blur-id");
|
||||||
|
const scrollDivisor = Number(script.getAttribute("data-scroll-divisor") || 300);
|
||||||
|
if (typeof setBackgroundBlur === "function") {
|
||||||
|
setBackgroundBlur(targetId, scrollDivisor, enabled, targetId === "menu-blur");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
disableImages: {
|
||||||
|
default: false,
|
||||||
|
apply: (enabled) => {
|
||||||
|
const image = document.getElementById("background-image");
|
||||||
|
if (image) {
|
||||||
|
image.style.display = enabled ? "none" : "";
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
fontSize: {
|
||||||
|
default: "default",
|
||||||
|
apply: (size) => {
|
||||||
|
document.documentElement.style.fontSize = size === "default" ? "" : size;
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
underlineLinks: {
|
||||||
|
default: false,
|
||||||
|
apply: (enabled) => {
|
||||||
|
const existing = document.getElementById("a11y-underline-links");
|
||||||
|
if (enabled && !existing) {
|
||||||
|
const style = document.createElement("style");
|
||||||
|
style.id = "a11y-underline-links";
|
||||||
|
style.textContent = `
|
||||||
|
a { text-decoration: underline !important; }
|
||||||
|
.group-hover-card-title { text-decoration: underline !important; }
|
||||||
|
.group-hover-card:hover .group-hover-card-title { text-decoration: underline !important; }`;
|
||||||
|
document.head.appendChild(style);
|
||||||
|
} else if (!enabled && existing) {
|
||||||
|
existing.remove();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
zenMode: {
|
||||||
|
default: false,
|
||||||
|
apply: (enabled) => {
|
||||||
|
const isActive = document.body?.classList.contains("zen-mode-enable");
|
||||||
|
if (enabled !== isActive) {
|
||||||
|
const checkbox = document.querySelector('[id$="zen-mode"]');
|
||||||
|
if (checkbox && typeof _toggleZenMode === "function") {
|
||||||
|
_toggleZenMode(checkbox, { scrollToHeader: false });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
let settings = null;
|
||||||
|
|
||||||
|
const getSettings = () => {
|
||||||
|
if (settings) return settings;
|
||||||
|
const defaults = Object.fromEntries(Object.entries(FEATURES).map(([key, config]) => [key, config.default]));
|
||||||
|
try {
|
||||||
|
const saved = localStorage.getItem("a11ySettings");
|
||||||
|
settings = { ...defaults, ...JSON.parse(saved || "{}") };
|
||||||
|
} catch {
|
||||||
|
settings = defaults;
|
||||||
|
}
|
||||||
|
return settings;
|
||||||
|
};
|
||||||
|
|
||||||
|
const updateSetting = (key, value) => {
|
||||||
|
const current = getSettings();
|
||||||
|
current[key] = value;
|
||||||
|
try {
|
||||||
|
localStorage.setItem("a11ySettings", JSON.stringify(current));
|
||||||
|
} catch (e) {
|
||||||
|
console.warn(`a11y.js: can not store settings: ${e}`);
|
||||||
|
}
|
||||||
|
FEATURES[key]?.apply(value);
|
||||||
|
};
|
||||||
|
|
||||||
|
const initPanel = (panelId) => {
|
||||||
|
const prefix = panelId.replace("a11y-panel", "");
|
||||||
|
const current = getSettings();
|
||||||
|
|
||||||
|
Object.entries(FEATURES).forEach(([key, config]) => {
|
||||||
|
const elementId = `${prefix}${key.replace(/([A-Z])/g, "-$1").toLowerCase()}`;
|
||||||
|
const element = document.getElementById(elementId) || document.getElementById(`${elementId}-select`);
|
||||||
|
|
||||||
|
if (element) {
|
||||||
|
if (element.type === "checkbox") {
|
||||||
|
element.checked = current[key];
|
||||||
|
element.onchange = (e) => updateSetting(key, e.target.checked);
|
||||||
|
} else if (element.tagName === "SELECT") {
|
||||||
|
element.value = current[key];
|
||||||
|
element.onchange = (e) => updateSetting(key, e.target.value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
const togglePanel = () => {
|
||||||
|
const panel = document.getElementById(panelId);
|
||||||
|
const overlay = document.getElementById(`${prefix}a11y-overlay`);
|
||||||
|
const toggle = document.getElementById(`${prefix}a11y-toggle`);
|
||||||
|
|
||||||
|
if (!panel || !overlay) return;
|
||||||
|
|
||||||
|
const isHidden = overlay.classList.contains("hidden");
|
||||||
|
overlay.classList.toggle("hidden");
|
||||||
|
panel.classList.toggle("hidden");
|
||||||
|
|
||||||
|
if (toggle) {
|
||||||
|
toggle.setAttribute("aria-pressed", String(isHidden));
|
||||||
|
toggle.setAttribute("aria-expanded", String(isHidden));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const toggle = document.getElementById(`${prefix}a11y-toggle`);
|
||||||
|
const close = document.getElementById(`${prefix}a11y-close`);
|
||||||
|
const overlay = document.getElementById(`${prefix}a11y-overlay`);
|
||||||
|
|
||||||
|
if (toggle) toggle.onclick = togglePanel;
|
||||||
|
if (close) close.onclick = togglePanel;
|
||||||
|
if (overlay) overlay.onclick = (e) => e.target === overlay && togglePanel();
|
||||||
|
};
|
||||||
|
|
||||||
|
const applyAll = () => {
|
||||||
|
const current = getSettings();
|
||||||
|
Object.entries(current).forEach(([key, value]) => {
|
||||||
|
FEATURES[key]?.apply(value);
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
const init = () => {
|
||||||
|
applyAll();
|
||||||
|
document.querySelectorAll('[id$="a11y-panel"]').forEach((panel) => {
|
||||||
|
initPanel(panel.id);
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
if (getSettings().disableImages) {
|
||||||
|
new MutationObserver(() => {
|
||||||
|
const img = document.getElementById("background-image");
|
||||||
|
if (img) img.style.display = "none";
|
||||||
|
}).observe(document, { childList: true, subtree: true });
|
||||||
|
}
|
||||||
|
|
||||||
|
if (document.readyState === "loading") {
|
||||||
|
document.addEventListener("DOMContentLoaded", init);
|
||||||
|
} else {
|
||||||
|
init();
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
getSettings,
|
||||||
|
updateSetting,
|
||||||
|
addFeature: (name, config) => {
|
||||||
|
FEATURES[name] = config;
|
||||||
|
FEATURES[name].apply(getSettings()[name] || config.default);
|
||||||
|
},
|
||||||
|
};
|
||||||
|
})();
|
||||||
@@ -22,6 +22,34 @@ if (document.documentElement.getAttribute("data-auto-appearance") === "true") {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Mermaid dark mode support
|
||||||
|
var updateMermaidTheme = () => {
|
||||||
|
if (typeof mermaid !== 'undefined') {
|
||||||
|
const isDark = document.documentElement.classList.contains("dark");
|
||||||
|
|
||||||
|
const mermaids = document.querySelectorAll('pre.mermaid');
|
||||||
|
mermaids.forEach(e => {
|
||||||
|
if (e.getAttribute('data-processed')) {
|
||||||
|
// Already rendered, clean the processed attributes
|
||||||
|
e.removeAttribute('data-processed');
|
||||||
|
// Replace the rendered HTML with the stored text
|
||||||
|
e.innerHTML = e.getAttribute('data-graph');
|
||||||
|
} else {
|
||||||
|
// First time, store the text
|
||||||
|
e.setAttribute('data-graph', e.textContent);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
if (isDark) {
|
||||||
|
initMermaidDark();
|
||||||
|
mermaid.run();
|
||||||
|
} else {
|
||||||
|
initMermaidLight();
|
||||||
|
mermaid.run();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
window.addEventListener("DOMContentLoaded", (event) => {
|
window.addEventListener("DOMContentLoaded", (event) => {
|
||||||
const switcher = document.getElementById("appearance-switcher");
|
const switcher = document.getElementById("appearance-switcher");
|
||||||
const switcherMobile = document.getElementById("appearance-switcher-mobile");
|
const switcherMobile = document.getElementById("appearance-switcher-mobile");
|
||||||
@@ -29,6 +57,9 @@ window.addEventListener("DOMContentLoaded", (event) => {
|
|||||||
updateMeta();
|
updateMeta();
|
||||||
this.updateLogo?.(getTargetAppearance());
|
this.updateLogo?.(getTargetAppearance());
|
||||||
|
|
||||||
|
// Initialize mermaid theme on page load
|
||||||
|
updateMermaidTheme();
|
||||||
|
|
||||||
if (switcher) {
|
if (switcher) {
|
||||||
switcher.addEventListener("click", () => {
|
switcher.addEventListener("click", () => {
|
||||||
document.documentElement.classList.toggle("dark");
|
document.documentElement.classList.toggle("dark");
|
||||||
@@ -38,6 +69,7 @@ window.addEventListener("DOMContentLoaded", (event) => {
|
|||||||
targetAppearance
|
targetAppearance
|
||||||
);
|
);
|
||||||
updateMeta();
|
updateMeta();
|
||||||
|
updateMermaidTheme();
|
||||||
this.updateLogo?.(targetAppearance);
|
this.updateLogo?.(targetAppearance);
|
||||||
});
|
});
|
||||||
switcher.addEventListener("contextmenu", (event) => {
|
switcher.addEventListener("contextmenu", (event) => {
|
||||||
@@ -54,6 +86,7 @@ window.addEventListener("DOMContentLoaded", (event) => {
|
|||||||
targetAppearance
|
targetAppearance
|
||||||
);
|
);
|
||||||
updateMeta();
|
updateMeta();
|
||||||
|
updateMermaidTheme();
|
||||||
this.updateLogo?.(targetAppearance);
|
this.updateLogo?.(targetAppearance);
|
||||||
});
|
});
|
||||||
switcherMobile.addEventListener("contextmenu", (event) => {
|
switcherMobile.addEventListener("contextmenu", (event) => {
|
||||||
|
|||||||
@@ -0,0 +1,39 @@
|
|||||||
|
function setBackgroundBlur(targetId, scrollDivisor = 300, disableBlur = false, isMenuBlur = false) {
|
||||||
|
if (!targetId) {
|
||||||
|
console.error("data-blur-id is null");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
const blurElement = document.getElementById(targetId);
|
||||||
|
if (!blurElement) return;
|
||||||
|
if (disableBlur) {
|
||||||
|
blurElement.setAttribute("aria-hidden", "true");
|
||||||
|
if (!isMenuBlur) {
|
||||||
|
blurElement.style.display = "none";
|
||||||
|
blurElement.style.opacity = "0";
|
||||||
|
} else {
|
||||||
|
blurElement.style.display = "";
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
blurElement.style.display = "";
|
||||||
|
blurElement.removeAttribute("aria-hidden");
|
||||||
|
}
|
||||||
|
const updateBlur = () => {
|
||||||
|
if (!disableBlur || isMenuBlur) {
|
||||||
|
const scroll = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;
|
||||||
|
blurElement.style.opacity = scroll / scrollDivisor;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
blurElement.setAttribute("role", "presentation");
|
||||||
|
blurElement.setAttribute("tabindex", "-1");
|
||||||
|
window.addEventListener("scroll", updateBlur);
|
||||||
|
updateBlur();
|
||||||
|
}
|
||||||
|
|
||||||
|
document.querySelectorAll("script[data-blur-id]").forEach((script) => {
|
||||||
|
const targetId = script.getAttribute("data-blur-id");
|
||||||
|
const scrollDivisor = Number(script.getAttribute("data-scroll-divisor") || 300);
|
||||||
|
const isMenuBlur = targetId === "menu-blur";
|
||||||
|
const settings = JSON.parse(localStorage.getItem("a11ySettings") || "{}");
|
||||||
|
const disableBlur = settings.disableBlur || false;
|
||||||
|
setBackgroundBlur(targetId, scrollDivisor, disableBlur, isMenuBlur);
|
||||||
|
});
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
document.getElementById("button_likes") &&
|
||||||
|
document.getElementById("button_likes").addEventListener("click", () => {
|
||||||
|
process_article();
|
||||||
|
});
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
var scriptBundle = document.getElementById("script-bundle");
|
var scriptBundle = document.getElementById("script-bundle");
|
||||||
var copyText = scriptBundle && scriptBundle.getAttribute("data-copy")? scriptBundle.getAttribute("data-copy") : "Copy";
|
var copyText = scriptBundle?.getAttribute("data-copy") || "Copy";
|
||||||
var copiedText = scriptBundle && scriptBundle.getAttribute("data-copied")? scriptBundle.getAttribute("data-copied") : "Copied";
|
var copiedText = scriptBundle?.getAttribute("data-copied") || "Copied";
|
||||||
|
|
||||||
function createCopyButton(highlightDiv) {
|
function createCopyButton(highlightDiv) {
|
||||||
const button = document.createElement("button");
|
const button = document.createElement("button");
|
||||||
@@ -9,26 +9,18 @@ function createCopyButton(highlightDiv) {
|
|||||||
button.ariaLabel = copyText;
|
button.ariaLabel = copyText;
|
||||||
button.innerText = copyText;
|
button.innerText = copyText;
|
||||||
button.addEventListener("click", () => copyCodeToClipboard(button, highlightDiv));
|
button.addEventListener("click", () => copyCodeToClipboard(button, highlightDiv));
|
||||||
addCopyButtonToDom(button, highlightDiv);
|
|
||||||
|
highlightDiv.insertBefore(button, highlightDiv.firstChild);
|
||||||
|
const wrapper = document.createElement("div");
|
||||||
|
wrapper.className = "highlight-wrapper";
|
||||||
|
highlightDiv.parentNode.insertBefore(wrapper, highlightDiv);
|
||||||
|
wrapper.appendChild(highlightDiv);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function copyCodeToClipboard(button, highlightDiv) {
|
async function copyCodeToClipboard(button, highlightDiv) {
|
||||||
const codeToCopy = highlightDiv.querySelector(":last-child").innerText;
|
const codeToCopy = getCodeText(highlightDiv);
|
||||||
try {
|
|
||||||
result = await navigator.permissions.query({ name: "clipboard-write" });
|
|
||||||
if (result.state == "granted" || result.state == "prompt") {
|
|
||||||
await navigator.clipboard.writeText(codeToCopy);
|
|
||||||
} else {
|
|
||||||
copyCodeBlockExecCommand(codeToCopy, highlightDiv);
|
|
||||||
}
|
|
||||||
} catch (_) {
|
|
||||||
copyCodeBlockExecCommand(codeToCopy, highlightDiv);
|
|
||||||
} finally {
|
|
||||||
codeWasCopied(button);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function copyCodeBlockExecCommand(codeToCopy, highlightDiv) {
|
function fallback(codeToCopy, highlightDiv) {
|
||||||
const textArea = document.createElement("textArea");
|
const textArea = document.createElement("textArea");
|
||||||
textArea.contentEditable = "true";
|
textArea.contentEditable = "true";
|
||||||
textArea.readOnly = "false";
|
textArea.readOnly = "false";
|
||||||
@@ -45,20 +37,41 @@ function copyCodeBlockExecCommand(codeToCopy, highlightDiv) {
|
|||||||
highlightDiv.removeChild(textArea);
|
highlightDiv.removeChild(textArea);
|
||||||
}
|
}
|
||||||
|
|
||||||
function codeWasCopied(button) {
|
try {
|
||||||
|
result = await navigator.permissions.query({ name: "clipboard-write" });
|
||||||
|
if (result.state == "granted" || result.state == "prompt") {
|
||||||
|
await navigator.clipboard.writeText(codeToCopy);
|
||||||
|
} else {
|
||||||
|
fallback(codeToCopy, highlightDiv);
|
||||||
|
}
|
||||||
|
} catch (_) {
|
||||||
|
fallback(codeToCopy, highlightDiv);
|
||||||
|
} finally {
|
||||||
button.blur();
|
button.blur();
|
||||||
button.innerText = copiedText;
|
button.innerText = copiedText;
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
button.innerText = copyText;
|
button.innerText = copyText;
|
||||||
}, 2000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function addCopyButtonToDom(button, highlightDiv) {
|
function getCodeText(highlightDiv) {
|
||||||
highlightDiv.insertBefore(button, highlightDiv.firstChild);
|
const codeBlock = highlightDiv.querySelector("code");
|
||||||
const wrapper = document.createElement("div");
|
const inlineLines = codeBlock?.querySelectorAll(".cl"); // linenos=inline
|
||||||
wrapper.className = "highlight-wrapper";
|
const tableCodeCell = highlightDiv?.querySelector(".lntable .lntd:last-child code"); // linenos=table
|
||||||
highlightDiv.parentNode.insertBefore(wrapper, highlightDiv);
|
|
||||||
wrapper.appendChild(highlightDiv);
|
if (!codeBlock) return "";
|
||||||
|
|
||||||
|
if (inlineLines.length > 0) {
|
||||||
|
const cleanedLines = Array.from(inlineLines).map((line) => line.textContent.replace(/\n$/, ""));
|
||||||
|
return cleanedLines.join("\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (tableCodeCell) {
|
||||||
|
return tableCodeCell.textContent.trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
return codeBlock.textContent.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
window.addEventListener("DOMContentLoaded", (event) => {
|
window.addEventListener("DOMContentLoaded", (event) => {
|
||||||
|
|||||||
@@ -0,0 +1,92 @@
|
|||||||
|
(async () => {
|
||||||
|
const script = document.currentScript;
|
||||||
|
const repoURL = script?.getAttribute("data-repo-url");
|
||||||
|
const repoId = script?.getAttribute("data-repo-id");
|
||||||
|
|
||||||
|
if (!repoURL || !repoId) return;
|
||||||
|
if (repoId.startsWith("forgejo")) {
|
||||||
|
console.log(
|
||||||
|
"fetch-repo.js: Forgejo server blocks cross-origin requests. Live JavaScript updates are not supported.",
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const platforms = {
|
||||||
|
github: {
|
||||||
|
full_name: "full_name",
|
||||||
|
description: "description",
|
||||||
|
stargazers_count: "stargazers",
|
||||||
|
forks: "forks",
|
||||||
|
},
|
||||||
|
gitlab: {
|
||||||
|
name_with_namespace: "name_with_namespace",
|
||||||
|
description: "description",
|
||||||
|
star_count: "star_count",
|
||||||
|
forks_count: "forks_count",
|
||||||
|
},
|
||||||
|
gitea: {
|
||||||
|
full_name: "full_name",
|
||||||
|
description: "description",
|
||||||
|
stars_count: "stars_count",
|
||||||
|
forks_count: "forks_count",
|
||||||
|
},
|
||||||
|
codeberg: {
|
||||||
|
full_name: "full_name",
|
||||||
|
description: "description",
|
||||||
|
stars_count: "stars_count",
|
||||||
|
forks_count: "forks_count",
|
||||||
|
},
|
||||||
|
forgejo: {
|
||||||
|
full_name: "full_name",
|
||||||
|
description: "description",
|
||||||
|
stars_count: "stars_count",
|
||||||
|
forks_count: "forks_count",
|
||||||
|
},
|
||||||
|
huggingface: {
|
||||||
|
description: "description",
|
||||||
|
likes: "likes",
|
||||||
|
downloads: "downloads",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
const processors = {
|
||||||
|
huggingface: {
|
||||||
|
description: (value) => value?.replace(/Dataset Card for .+?\s+Dataset Summary\s+/, "").trim() || value,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
const platform = Object.keys(platforms).find((p) => repoId.startsWith(p)) || "github";
|
||||||
|
const mapping = platforms[platform];
|
||||||
|
|
||||||
|
try {
|
||||||
|
const response = await fetch(repoURL, {
|
||||||
|
headers: { "User-agent": "Mozilla/4.0 Custom User Agent" },
|
||||||
|
});
|
||||||
|
const data = await response.json();
|
||||||
|
|
||||||
|
if (!response.ok) {
|
||||||
|
console.error(`fetch-repo.js: HTTP Error: ${response.status} ${response.statusText}`);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!data || typeof data !== "object") {
|
||||||
|
console.error("fetch-repo.js: Invalid or empty data received from remote");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
Object.entries(mapping).forEach(([dataField, elementSuffix]) => {
|
||||||
|
const element = document.getElementById(`${repoId}-${elementSuffix}`);
|
||||||
|
if (element) {
|
||||||
|
let value = data[dataField];
|
||||||
|
if (processors[platform]?.[dataField]) {
|
||||||
|
value = processors[platform][dataField](value);
|
||||||
|
}
|
||||||
|
if (value != null && value !== "") {
|
||||||
|
element.innerHTML = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
} catch (error) {
|
||||||
|
console.error(`fetch-repo.js: ${error}`);
|
||||||
|
}
|
||||||
|
})();
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
document.getElementById("katex-render") &&
|
||||||
|
document.getElementById("katex-render").addEventListener("load", () => {
|
||||||
|
renderMathInElement(document.body);
|
||||||
|
});
|
||||||
@@ -2,6 +2,7 @@ function css(name) {
|
|||||||
return "rgb(" + getComputedStyle(document.documentElement).getPropertyValue(name) + ")";
|
return "rgb(" + getComputedStyle(document.documentElement).getPropertyValue(name) + ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function initMermaidLight() {
|
||||||
mermaid.initialize({
|
mermaid.initialize({
|
||||||
theme: "base",
|
theme: "base",
|
||||||
themeVariables: {
|
themeVariables: {
|
||||||
@@ -18,3 +19,15 @@ mermaid.initialize({
|
|||||||
fontSize: "16px",
|
fontSize: "16px",
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function initMermaidDark() {
|
||||||
|
mermaid.initialize({
|
||||||
|
theme: "dark",
|
||||||
|
themeVariables: {
|
||||||
|
fontFamily:
|
||||||
|
"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,noto sans,sans-serif",
|
||||||
|
fontSize: "16px",
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -4,16 +4,16 @@ var menuWrapper = document.getElementById("menu-wrapper");
|
|||||||
|
|
||||||
var menuOpen = false;
|
var menuOpen = false;
|
||||||
|
|
||||||
var openMenu = function (e) {
|
var openMenu = function () {
|
||||||
if (!menuOpen) {
|
if (!menuOpen) {
|
||||||
menuOpen = true;
|
menuOpen = true;
|
||||||
document.body.style.overflowY = "hidden";
|
document.body.style.overflowY = "hidden";
|
||||||
menuButton.style.visibility = "hidden";
|
menuButton.style.visibility = "hidden";
|
||||||
menuWrapper.style.visibility = "visible";
|
menuWrapper.style.visibility = "visible";
|
||||||
menuWrapper.style.opacity = "1";
|
menuWrapper.style.opacity = "1";
|
||||||
window.onbeforeunload = function (event) {
|
window.onbeforeunload = function () {
|
||||||
closeMenu()
|
closeMenu();
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -24,10 +24,10 @@ var closeMenu = function (e) {
|
|||||||
menuButton.style.visibility = "visible";
|
menuButton.style.visibility = "visible";
|
||||||
menuWrapper.style.visibility = "hidden";
|
menuWrapper.style.visibility = "hidden";
|
||||||
menuWrapper.style.opacity = "0";
|
menuWrapper.style.opacity = "0";
|
||||||
window.onbeforeunload = function (event) { }
|
window.onbeforeunload = function () {};
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
menuButton.addEventListener("click", openMenu);
|
menuButton && menuButton.addEventListener("click", openMenu);
|
||||||
menuCloseButton.addEventListener("click", closeMenu);
|
menuCloseButton && menuCloseButton.addEventListener("click", closeMenu);
|
||||||
@@ -1,106 +1,131 @@
|
|||||||
var liked_page = false
|
const pageScriptElement = document.currentScript;
|
||||||
var id = oid ? oid.replaceAll("/", "-") : oid
|
const oid =
|
||||||
var id_likes = oid_likes ? oid_likes.replaceAll("/", "-") : oid_likes
|
pageScriptElement && pageScriptElement.getAttribute("data-oid")
|
||||||
|
? pageScriptElement.getAttribute("data-oid")
|
||||||
|
: (console.error("data-oid is null"), null);
|
||||||
|
const oid_likes =
|
||||||
|
pageScriptElement && pageScriptElement.getAttribute("data-oid-likes")
|
||||||
|
? pageScriptElement.getAttribute("data-oid-likes")
|
||||||
|
: (console.error("data-oid-likes is null"), null);
|
||||||
|
let liked_page = false;
|
||||||
|
const id = oid ? oid.replaceAll("/", "-") : oid;
|
||||||
|
const id_likes = oid_likes ? oid_likes.replaceAll("/", "-") : oid_likes;
|
||||||
|
|
||||||
if (typeof auth !== 'undefined') {
|
if (typeof auth !== "undefined") {
|
||||||
|
const viewed = localStorage.getItem(id);
|
||||||
var viewed = localStorage.getItem(id);
|
|
||||||
|
|
||||||
if (!viewed) {
|
if (!viewed) {
|
||||||
auth.signInAnonymously()
|
auth
|
||||||
|
.signInAnonymously()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
var docRef = db.collection('views').doc(id)
|
const docRef = db.collection("views").doc(id);
|
||||||
localStorage.setItem(id, true);
|
localStorage.setItem(id, true);
|
||||||
docRef.get().then((doc) => {
|
docRef
|
||||||
|
.get()
|
||||||
|
.then((doc) => {
|
||||||
if (doc.exists) {
|
if (doc.exists) {
|
||||||
db.collection('views').doc(id).update({
|
db.collection("views")
|
||||||
views: firebase.firestore.FieldValue.increment(1)
|
.doc(id)
|
||||||
|
.update({
|
||||||
|
views: firebase.firestore.FieldValue.increment(1),
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
db.collection('views').doc(id).set({ views: 1 })
|
db.collection("views").doc(id).set({ views: 1 });
|
||||||
}
|
}
|
||||||
}).catch((error) => {
|
})
|
||||||
|
.catch((error) => {
|
||||||
console.log("Error getting document:", error);
|
console.log("Error getting document:", error);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
var errorCode = error.code;
|
const errorCode = error.code;
|
||||||
var errorMessage = error.message;
|
const errorMessage = error.message;
|
||||||
console.error(errorCode, errorMessage)
|
console.error(errorCode, errorMessage);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
var liked = localStorage.getItem(id_likes);
|
const liked = localStorage.getItem(id_likes);
|
||||||
|
|
||||||
if (liked) {
|
if (liked) {
|
||||||
liked_page = true
|
liked_page = true;
|
||||||
document.querySelectorAll("span[id='button_likes_heart']")[0].style.display = ""
|
document.querySelectorAll("span[id='button_likes_heart']")[0].style.display = "";
|
||||||
document.querySelectorAll("span[id='button_likes_emtpty_heart']")[0].style.display = "none"
|
document.querySelectorAll("span[id='button_likes_emtpty_heart']")[0].style.display = "none";
|
||||||
document.querySelectorAll("span[id='button_likes_text']")[0].innerText = ""
|
document.querySelectorAll("span[id='button_likes_text']")[0].innerText = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function like_article(id_likes) {
|
function like_article(id_likes) {
|
||||||
auth.signInAnonymously()
|
auth
|
||||||
|
.signInAnonymously()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
var docRef = db.collection('likes').doc(id_likes)
|
const docRef = db.collection("likes").doc(id_likes);
|
||||||
docRef.get().then((doc) => {
|
docRef
|
||||||
liked_page = true
|
.get()
|
||||||
|
.then((doc) => {
|
||||||
|
liked_page = true;
|
||||||
localStorage.setItem(id_likes, true);
|
localStorage.setItem(id_likes, true);
|
||||||
document.querySelectorAll("span[id='button_likes_heart']")[0].style.display = ""
|
document.querySelectorAll("span[id='button_likes_heart']")[0].style.display = "";
|
||||||
document.querySelectorAll("span[id='button_likes_emtpty_heart']")[0].style.display = "none"
|
document.querySelectorAll("span[id='button_likes_emtpty_heart']")[0].style.display = "none";
|
||||||
document.querySelectorAll("span[id='button_likes_text']")[0].innerText = ""
|
document.querySelectorAll("span[id='button_likes_text']")[0].innerText = "";
|
||||||
if (doc.exists) {
|
if (doc.exists) {
|
||||||
db.collection('likes').doc(id_likes).update({
|
db.collection("likes")
|
||||||
likes: firebase.firestore.FieldValue.increment(1)
|
.doc(id_likes)
|
||||||
|
.update({
|
||||||
|
likes: firebase.firestore.FieldValue.increment(1),
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
db.collection('likes').doc(id_likes).set({ likes: 1 })
|
db.collection("likes").doc(id_likes).set({ likes: 1 });
|
||||||
}
|
}
|
||||||
}).catch((error) => {
|
})
|
||||||
|
.catch((error) => {
|
||||||
console.log("Error getting document:", error);
|
console.log("Error getting document:", error);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
var errorCode = error.code;
|
const errorCode = error.code;
|
||||||
var errorMessage = error.message;
|
const errorMessage = error.message;
|
||||||
console.error(errorCode, errorMessage)
|
console.error(errorCode, errorMessage);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function remove_like_article(id_likes) {
|
function remove_like_article(id_likes) {
|
||||||
auth.signInAnonymously()
|
auth
|
||||||
|
.signInAnonymously()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
var docRef = db.collection('likes').doc(id_likes)
|
const docRef = db.collection("likes").doc(id_likes);
|
||||||
docRef.get().then((doc) => {
|
docRef
|
||||||
liked_page = false
|
.get()
|
||||||
|
.then((doc) => {
|
||||||
|
liked_page = false;
|
||||||
localStorage.removeItem(id_likes);
|
localStorage.removeItem(id_likes);
|
||||||
document.querySelectorAll("span[id='button_likes_heart']")[0].style.display = "none"
|
document.querySelectorAll("span[id='button_likes_heart']")[0].style.display = "none";
|
||||||
document.querySelectorAll("span[id='button_likes_emtpty_heart']")[0].style.display = ""
|
document.querySelectorAll("span[id='button_likes_emtpty_heart']")[0].style.display = "";
|
||||||
document.querySelectorAll("span[id='button_likes_text']")[0].innerText = "\xa0Like"
|
document.querySelectorAll("span[id='button_likes_text']")[0].innerText = "\xa0Like";
|
||||||
if (doc.exists) {
|
if (doc.exists) {
|
||||||
db.collection('likes').doc(id_likes).update({
|
db.collection("likes")
|
||||||
likes: firebase.firestore.FieldValue.increment(-1)
|
.doc(id_likes)
|
||||||
|
.update({
|
||||||
|
likes: firebase.firestore.FieldValue.increment(-1),
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
db.collection('likes').doc(id_likes).set({ likes: 0 })
|
db.collection("likes").doc(id_likes).set({ likes: 0 });
|
||||||
}
|
}
|
||||||
}).catch((error) => {
|
})
|
||||||
|
.catch((error) => {
|
||||||
console.log("Error getting document:", error);
|
console.log("Error getting document:", error);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
var errorCode = error.code;
|
const errorCode = error.code;
|
||||||
var errorMessage = error.message;
|
const errorMessage = error.message;
|
||||||
console.error(errorCode, errorMessage)
|
console.error(errorCode, errorMessage);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function process_article() {
|
function process_article() {
|
||||||
if (!liked_page) {
|
if (!liked_page) {
|
||||||
like_article(id_likes)
|
like_article(id_likes);
|
||||||
} else {
|
} else {
|
||||||
remove_like_article(id_likes)
|
remove_like_article(id_likes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,71 +1,70 @@
|
|||||||
if (typeof auth !== 'undefined') {
|
if (typeof auth !== "undefined") {
|
||||||
var viewsCollection = db.collection('views');
|
var viewsCollection = db.collection("views");
|
||||||
var likesCollection = db.collection('likes');
|
var likesCollection = db.collection("likes");
|
||||||
|
|
||||||
function numberWithCommas(x) {
|
function numberWithCommas(x) {
|
||||||
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleLoaders(node) {
|
function toggleLoaders(node) {
|
||||||
var classesString = node.className;
|
var classesString = node.className;
|
||||||
if(classesString == "") return
|
if (classesString == "") return;
|
||||||
var classes = classesString.split(" ");
|
var classes = classesString.split(" ");
|
||||||
for (var i in classes) {
|
for (var i in classes) {
|
||||||
node.classList.toggle(classes[i])
|
node.classList.toggle(classes[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var update_views = function (node, id) {
|
var update_views = function (node, id) {
|
||||||
viewsCollection.doc(id).onSnapshot(doc => {
|
viewsCollection.doc(id).onSnapshot((doc) => {
|
||||||
var data = doc.data();
|
var data = doc.data();
|
||||||
if (data) {
|
if (data) {
|
||||||
node.innerText = numberWithCommas(data.views)
|
node.innerText = numberWithCommas(data.views);
|
||||||
} else {
|
} else {
|
||||||
node.innerText = 0
|
node.innerText = 0;
|
||||||
}
|
|
||||||
toggleLoaders(node)
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
toggleLoaders(node);
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
var update_likes = function (node, id) {
|
var update_likes = function (node, id) {
|
||||||
likesCollection.doc(id).onSnapshot(doc => {
|
likesCollection.doc(id).onSnapshot((doc) => {
|
||||||
var data = doc.data();
|
var data = doc.data();
|
||||||
if (data) {
|
if (data) {
|
||||||
node.innerText = numberWithCommas(data.likes)
|
node.innerText = numberWithCommas(data.likes);
|
||||||
} else {
|
} else {
|
||||||
node.innerText = 0
|
node.innerText = 0;
|
||||||
}
|
}
|
||||||
toggleLoaders(node)
|
toggleLoaders(node);
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
})
|
auth
|
||||||
}
|
.signInAnonymously()
|
||||||
|
|
||||||
|
|
||||||
auth.signInAnonymously()
|
|
||||||
.then(() => {
|
.then(() => {
|
||||||
var views_nodes = document.querySelectorAll("span[id^='views_']")
|
var views_nodes = document.querySelectorAll("span[id^='views_']");
|
||||||
|
|
||||||
for (var i in views_nodes) {
|
for (var i in views_nodes) {
|
||||||
var node = views_nodes[i]
|
var node = views_nodes[i];
|
||||||
var id = node.id ? node.id.replaceAll("/", "-") : node.id
|
var id = node.id ? node.id.replaceAll("/", "-") : node.id;
|
||||||
if (id) {
|
if (id) {
|
||||||
update_views(node, id)
|
update_views(node, id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var likes_nodes = document.querySelectorAll("span[id^='likes_']")
|
var likes_nodes = document.querySelectorAll("span[id^='likes_']");
|
||||||
|
|
||||||
for (var i in likes_nodes) {
|
for (var i in likes_nodes) {
|
||||||
var node = likes_nodes[i]
|
var node = likes_nodes[i];
|
||||||
var id = node.id ? node.id.replaceAll("/", "-") : node.id
|
var id = node.id ? node.id.replaceAll("/", "-") : node.id;
|
||||||
if (id) {
|
if (id) {
|
||||||
update_likes(node, id)
|
update_likes(node, id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
var errorCode = error.code;
|
var errorCode = error.code;
|
||||||
var errorMessage = error.message;
|
var errorMessage = error.message;
|
||||||
console.error(errorCode, errorMessage)
|
console.error(errorCode, errorMessage);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
function scrollToTop() {
|
||||||
|
const scrollToTop = document.getElementById("scroll-to-top");
|
||||||
|
if (window.scrollY > window.innerHeight * 0.5) {
|
||||||
|
scrollToTop.classList.remove("translate-y-4", "opacity-0");
|
||||||
|
scrollToTop.classList.add("translate-y-0", "opacity-100");
|
||||||
|
} else {
|
||||||
|
scrollToTop.classList.remove("translate-y-0", "opacity-100");
|
||||||
|
scrollToTop.classList.add("translate-y-4", "opacity-0");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
window.addEventListener("scroll", scrollToTop);
|
||||||
|
window.addEventListener("load", scrollToTop);
|
||||||
@@ -25,7 +25,11 @@ modal.addEventListener("click", function (event) {
|
|||||||
document.addEventListener("keydown", function (event) {
|
document.addEventListener("keydown", function (event) {
|
||||||
// Forward slash to open search wrapper
|
// Forward slash to open search wrapper
|
||||||
if (event.key == "/") {
|
if (event.key == "/") {
|
||||||
if (!searchVisible) {
|
const active = document.activeElement;
|
||||||
|
const tag = active.tagName;
|
||||||
|
const isInputField = tag === "INPUT" || tag === "TEXTAREA" || active.isContentEditable;
|
||||||
|
|
||||||
|
if (!searchVisible && !isInputField) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
displaySearch();
|
displaySearch();
|
||||||
}
|
}
|
||||||
@@ -75,7 +79,6 @@ document.addEventListener("keydown", function (event) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update search on each keypress
|
// Update search on each keypress
|
||||||
@@ -122,7 +125,7 @@ function fetchJSON(path, callback) {
|
|||||||
|
|
||||||
function buildIndex() {
|
function buildIndex() {
|
||||||
var baseURL = wrapper.getAttribute("data-url");
|
var baseURL = wrapper.getAttribute("data-url");
|
||||||
baseURL = baseURL.replace(/\/?$/, '/');
|
baseURL = baseURL.replace(/\/?$/, "/");
|
||||||
fetchJSON(baseURL + "index.json", function (data) {
|
fetchJSON(baseURL + "index.json", function (data) {
|
||||||
var options = {
|
var options = {
|
||||||
shouldSort: true,
|
shouldSort: true,
|
||||||
@@ -153,13 +156,19 @@ function executeQuery(term) {
|
|||||||
|
|
||||||
if (results.length > 0) {
|
if (results.length > 0) {
|
||||||
results.forEach(function (value, key) {
|
results.forEach(function (value, key) {
|
||||||
console.log(value.item.summary);
|
|
||||||
var html = value.item.summary;
|
var html = value.item.summary;
|
||||||
var div = document.createElement("div");
|
var div = document.createElement("div");
|
||||||
div.innerHTML = html;
|
div.innerHTML = html;
|
||||||
value.item.summary = div.textContent || div.innerText || "";
|
value.item.summary = div.textContent || div.innerText || "";
|
||||||
var title = value.item.externalUrl? value.item.title + '<span class="text-xs ml-2 align-center cursor-default text-neutral-400 dark:text-neutral-500">'+value.item.externalUrl+'</span>' : value.item.title;
|
var title = value.item.externalUrl
|
||||||
var linkconfig = value.item.externalUrl? 'target="_blank" rel="noopener" href="'+value.item.externalUrl+'"' : 'href="'+value.item.permalink+'"';
|
? value.item.title +
|
||||||
|
'<span class="text-xs ml-2 align-center cursor-default text-neutral-400 dark:text-neutral-500">' +
|
||||||
|
value.item.externalUrl +
|
||||||
|
"</span>"
|
||||||
|
: value.item.title;
|
||||||
|
var linkconfig = value.item.externalUrl
|
||||||
|
? 'target="_blank" rel="noopener" href="' + value.item.externalUrl + '"'
|
||||||
|
: 'href="' + value.item.permalink + '"';
|
||||||
resultsHTML =
|
resultsHTML =
|
||||||
resultsHTML +
|
resultsHTML +
|
||||||
`<li class="mb-2">
|
`<li class="mb-2">
|
||||||
|
|||||||
@@ -2,19 +2,37 @@ function _getDefaultPackeryOptions() {
|
|||||||
return {
|
return {
|
||||||
percentPosition: true,
|
percentPosition: true,
|
||||||
gutter: 5,
|
gutter: 5,
|
||||||
resize: true
|
resize: true,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
function _getPackeryOptions(nodeGallery) {
|
||||||
|
const defaults = _getDefaultPackeryOptions();
|
||||||
|
const {
|
||||||
|
packeryGutter,
|
||||||
|
packeryPercentPosition,
|
||||||
|
packeryResize,
|
||||||
|
} = nodeGallery.dataset;
|
||||||
|
|
||||||
|
return {
|
||||||
|
percentPosition:
|
||||||
|
packeryPercentPosition !== undefined
|
||||||
|
? packeryPercentPosition === "true"
|
||||||
|
: defaults.percentPosition,
|
||||||
|
gutter:
|
||||||
|
packeryGutter !== undefined ? parseInt(packeryGutter, 10) : defaults.gutter,
|
||||||
|
resize:
|
||||||
|
packeryResize !== undefined ? packeryResize === "true" : defaults.resize,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
(function init() {
|
(function init() {
|
||||||
|
|
||||||
$(window).on("load", function () {
|
$(window).on("load", function () {
|
||||||
let packeries = [];
|
let packeries = [];
|
||||||
let nodeGalleries = document.querySelectorAll('.gallery');
|
let nodeGalleries = document.querySelectorAll(".gallery");
|
||||||
|
|
||||||
nodeGalleries.forEach(nodeGallery => {
|
nodeGalleries.forEach((nodeGallery) => {
|
||||||
// TODO : implement a reader of Packery configuration _getPackeryOptions; for example by reading data-attribute
|
let packery = new Packery(nodeGallery, _getPackeryOptions(nodeGallery));
|
||||||
let packery = new Packery(nodeGallery, _getDefaultPackeryOptions());
|
|
||||||
packeries.push(packery);
|
packeries.push(packery);
|
||||||
});
|
});
|
||||||
console.groupEnd();
|
console.groupEnd();
|
||||||
|
|||||||
@@ -1,61 +1,65 @@
|
|||||||
function _toogleZenMode(zendModeButton) {
|
function _toggleZenMode(zendModeButton, options = { scrollToHeader: true }) {
|
||||||
// Nodes selection
|
// Nodes selection
|
||||||
const body = document.querySelector('body');
|
const body = document.querySelector("body");
|
||||||
const tocRight = document.querySelector('.toc-right');
|
const footer = document.querySelector("footer");
|
||||||
const tocInside = document.querySelector('.toc-inside');
|
const tocRight = document.querySelector(".toc-right");
|
||||||
const articleContent = document.querySelector('.article-content');
|
const tocInside = document.querySelector(".toc-inside");
|
||||||
const header = document.querySelector('#single_header');
|
const articleContent = document.querySelector(".article-content");
|
||||||
|
const header = document.querySelector("#single_header");
|
||||||
|
|
||||||
// Add semantic class into body tag
|
// Add semantic class into body tag
|
||||||
body.classList.toggle('zen-mode-enable');
|
body.classList.toggle("zen-mode-enable");
|
||||||
|
|
||||||
// Show/Hide 'toc right' and 'toc inside'
|
// Show/Hide 'toc right' and 'toc inside'
|
||||||
if (tocRight)
|
if (tocRight) tocRight.classList.toggle("lg:block");
|
||||||
tocRight.classList.toggle('lg:block');
|
if (tocInside) tocInside.classList.toggle("lg:hidden");
|
||||||
if (tocInside)
|
|
||||||
tocInside.classList.toggle('lg:hidden');
|
|
||||||
|
|
||||||
// Change width of article content
|
// Change width of article content
|
||||||
articleContent.classList.toggle('max-w-fit');
|
articleContent.classList.toggle("max-w-fit");
|
||||||
articleContent.classList.toggle('max-w-prose');
|
articleContent.classList.toggle("max-w-prose");
|
||||||
|
|
||||||
// Change width of article title
|
// Change width of article title and footer
|
||||||
header.classList.toggle('max-w-full');
|
header.classList.toggle("max-w-full");
|
||||||
header.classList.toggle('max-w-prose');
|
header.classList.toggle("max-w-prose");
|
||||||
|
footer.classList.toggle("max-w-full");
|
||||||
|
footer.classList.toggle("max-w-prose");
|
||||||
|
|
||||||
// Read i18n title from data-attributes
|
// Read i18n title from data-attributes
|
||||||
const titleI18nDisable = zendModeButton.getAttribute('data-title-i18n-disable');
|
const titleI18nDisable = zendModeButton.getAttribute("data-title-i18n-disable");
|
||||||
const titleI18nEnable = zendModeButton.getAttribute('data-title-i18n-enable');
|
const titleI18nEnable = zendModeButton.getAttribute("data-title-i18n-enable");
|
||||||
|
|
||||||
if (body.classList.contains('zen-mode-enable')) {
|
if (body.classList.contains("zen-mode-enable")) {
|
||||||
// Persist configuration
|
// Persist configuration
|
||||||
//localStorage.setItem('blowfish-zen-mode-enabled', 'true');
|
//localStorage.setItem('blowfish-zen-mode-enabled', 'true');
|
||||||
|
|
||||||
// Change title to enable
|
// Change title to enable
|
||||||
zendModeButton.setAttribute('title', titleI18nEnable)
|
zendModeButton.setAttribute("title", titleI18nEnable);
|
||||||
// Auto-scroll to title article
|
// Auto-scroll to title article
|
||||||
|
if (options.scrollToHeader) {
|
||||||
window.scrollTo(window.scrollX, header.getBoundingClientRect().top - 90);
|
window.scrollTo(window.scrollX, header.getBoundingClientRect().top - 90);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
//localStorage.setItem('blowfish-zen-mode-enabled', 'false');
|
//localStorage.setItem('blowfish-zen-mode-enabled', 'false');
|
||||||
zendModeButton.setAttribute('title', titleI18nDisable);
|
zendModeButton.setAttribute("title", titleI18nDisable);
|
||||||
document.querySelector('body').scrollIntoView();
|
if (options.scrollToHeader) {
|
||||||
|
document.querySelector("body").scrollIntoView();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function _registerZendModeButtonClick(zendModeButton) {
|
function _registerZendModeButtonClick(zendModeButton) {
|
||||||
zendModeButton.addEventListener('click', function (event) {
|
zendModeButton.addEventListener("click", function (event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
// Toggle zen-mode
|
// Toggle zen-mode
|
||||||
_toogleZenMode(zendModeButton);
|
_toggleZenMode(zendModeButton);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
(function init() {
|
(function init() {
|
||||||
window.addEventListener("DOMContentLoaded", (event) => {
|
window.addEventListener("DOMContentLoaded", (event) => {
|
||||||
// Register click on 'zen-mode-button' node element
|
// Register click on 'zen-mode-button' node element
|
||||||
const zendModeButton = document.getElementById('zen-mode-button');
|
const zendModeButton = document.getElementById("zen-mode-button");
|
||||||
if (zendModeButton !== null && zendModeButton !== undefined) {
|
if (zendModeButton !== null && zendModeButton !== undefined) {
|
||||||
_registerZendModeButtonClick(zendModeButton);
|
_registerZendModeButtonClick(zendModeButton);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
/*!
|
/*!
|
||||||
* Chart.js v4.4.8
|
* Chart.js v4.5.1
|
||||||
* https://www.chartjs.org
|
* https://www.chartjs.org
|
||||||
* (c) 2025 Chart.js Contributors
|
* (c) 2025 Chart.js Contributors
|
||||||
* Released under the MIT License
|
* Released under the MIT License
|
||||||
*/
|
*/
|
||||||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Chart=e()}(this,(function(){"use strict";var t=Object.freeze({__proto__:null,get Colors(){return Go},get Decimation(){return Qo},get Filler(){return ma},get Legend(){return ya},get SubTitle(){return ka},get Title(){return Ma},get Tooltip(){return Ba}});function e(){}const i=(()=>{let t=0;return()=>t++})();function s(t){return null==t}function n(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function o(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function r(t,e){return a(t)?t:e}function l(t,e){return void 0===t?e:t}const h=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/e,c=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function d(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function u(t,e,i,s){let a,r,l;if(n(t))if(r=t.length,s)for(a=r-1;a>=0;a--)e.call(i,t[a],a);else for(a=0;a<r;a++)e.call(i,t[a],a);else if(o(t))for(l=Object.keys(t),r=l.length,a=0;a<r;a++)e.call(i,t[l[a]],l[a])}function f(t,e){let i,s,n,o;if(!t||!e||t.length!==e.length)return!1;for(i=0,s=t.length;i<s;++i)if(n=t[i],o=e[i],n.datasetIndex!==o.datasetIndex||n.index!==o.index)return!1;return!0}function g(t){if(n(t))return t.map(g);if(o(t)){const e=Object.create(null),i=Object.keys(t),s=i.length;let n=0;for(;n<s;++n)e[i[n]]=g(t[i[n]]);return e}return t}function p(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function m(t,e,i,s){if(!p(t))return;const n=e[t],a=i[t];o(n)&&o(a)?x(n,a,s):e[t]=g(a)}function x(t,e,i){const s=n(e)?e:[e],a=s.length;if(!o(t))return t;const r=(i=i||{}).merger||m;let l;for(let e=0;e<a;++e){if(l=s[e],!o(l))continue;const n=Object.keys(l);for(let e=0,s=n.length;e<s;++e)r(n[e],t,l,i)}return t}function b(t,e){return x(t,e,{merger:_})}function _(t,e,i){if(!p(t))return;const s=e[t],n=i[t];o(s)&&o(n)?b(s,n):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=g(n))}const y={"":t=>t,x:t=>t.x,y:t=>t.y};function v(t){const e=t.split("."),i=[];let s="";for(const t of e)s+=t,s.endsWith("\\")?s=s.slice(0,-1)+".":(i.push(s),s="");return i}function M(t,e){const i=y[e]||(y[e]=function(t){const e=v(t);return t=>{for(const i of e){if(""===i)break;t=t&&t[i]}return t}}(e));return i(t)}function w(t){return t.charAt(0).toUpperCase()+t.slice(1)}const k=t=>void 0!==t,S=t=>"function"==typeof t,P=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0};function D(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const C=Math.PI,O=2*C,A=O+C,T=Number.POSITIVE_INFINITY,L=C/180,E=C/2,R=C/4,I=2*C/3,z=Math.log10,F=Math.sign;function V(t,e,i){return Math.abs(t-e)<i}function B(t){const e=Math.round(t);t=V(t,e,t/1e3)?e:t;const i=Math.pow(10,Math.floor(z(t))),s=t/i;return(s<=1?1:s<=2?2:s<=5?5:10)*i}function W(t){const e=[],i=Math.sqrt(t);let s;for(s=1;s<i;s++)t%s==0&&(e.push(s),e.push(t/s));return i===(0|i)&&e.push(i),e.sort(((t,e)=>t-e)).pop(),e}function N(t){return!function(t){return"symbol"==typeof t||"object"==typeof t&&null!==t&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function H(t,e){const i=Math.round(t);return i-e<=t&&i+e>=t}function j(t,e,i){let s,n,o;for(s=0,n=t.length;s<n;s++)o=t[s][i],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function $(t){return t*(C/180)}function Y(t){return t*(180/C)}function U(t){if(!a(t))return;let e=1,i=0;for(;Math.round(t*e)/e!==t;)e*=10,i++;return i}function X(t,e){const i=e.x-t.x,s=e.y-t.y,n=Math.sqrt(i*i+s*s);let o=Math.atan2(s,i);return o<-.5*C&&(o+=O),{angle:o,distance:n}}function q(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function K(t,e){return(t-e+A)%O-C}function G(t){return(t%O+O)%O}function Z(t,e,i,s){const n=G(t),o=G(e),a=G(i),r=G(o-n),l=G(a-n),h=G(n-o),c=G(n-a);return n===o||n===a||s&&o===a||r>l&&h<c}function J(t,e,i){return Math.max(e,Math.min(i,t))}function Q(t){return J(t,-32768,32767)}function tt(t,e,i,s=1e-6){return t>=Math.min(e,i)-s&&t<=Math.max(e,i)+s}function et(t,e,i){i=i||(i=>t[i]<e);let s,n=t.length-1,o=0;for(;n-o>1;)s=o+n>>1,i(s)?o=s:n=s;return{lo:o,hi:n}}const it=(t,e,i,s)=>et(t,i,s?s=>{const n=t[s][e];return n<i||n===i&&t[s+1][e]===i}:s=>t[s][e]<i),st=(t,e,i)=>et(t,i,(s=>t[s][e]>=i));function nt(t,e,i){let s=0,n=t.length;for(;s<n&&t[s]<e;)s++;for(;n>s&&t[n-1]>i;)n--;return s>0||n<t.length?t.slice(s,n):t}const ot=["push","pop","shift","splice","unshift"];function at(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),ot.forEach((e=>{const i="_onData"+w(e),s=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...eLine truncated
|
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Chart=e()}(this,(function(){"use strict";var t=Object.freeze({__proto__:null,get Colors(){return Jo},get Decimation(){return ta},get Filler(){return ba},get Legend(){return Ma},get SubTitle(){return Pa},get Title(){return ka},get Tooltip(){return Na}});function e(){}const i=(()=>{let t=0;return()=>t++})();function s(t){return null==t}function n(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function o(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function a(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function r(t,e){return a(t)?t:e}function l(t,e){return void 0===t?e:t}const h=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/e,c=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function d(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function u(t,e,i,s){let a,r,l;if(n(t))if(r=t.length,s)for(a=r-1;a>=0;a--)e.call(i,t[a],a);else for(a=0;a<r;a++)e.call(i,t[a],a);else if(o(t))for(l=Object.keys(t),r=l.length,a=0;a<r;a++)e.call(i,t[l[a]],l[a])}function f(t,e){let i,s,n,o;if(!t||!e||t.length!==e.length)return!1;for(i=0,s=t.length;i<s;++i)if(n=t[i],o=e[i],n.datasetIndex!==o.datasetIndex||n.index!==o.index)return!1;return!0}function g(t){if(n(t))return t.map(g);if(o(t)){const e=Object.create(null),i=Object.keys(t),s=i.length;let n=0;for(;n<s;++n)e[i[n]]=g(t[i[n]]);return e}return t}function p(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function m(t,e,i,s){if(!p(t))return;const n=e[t],a=i[t];o(n)&&o(a)?x(n,a,s):e[t]=g(a)}function x(t,e,i){const s=n(e)?e:[e],a=s.length;if(!o(t))return t;const r=(i=i||{}).merger||m;let l;for(let e=0;e<a;++e){if(l=s[e],!o(l))continue;const n=Object.keys(l);for(let e=0,s=n.length;e<s;++e)r(n[e],t,l,i)}return t}function b(t,e){return x(t,e,{merger:_})}function _(t,e,i){if(!p(t))return;const s=e[t],n=i[t];o(s)&&o(n)?b(s,n):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=g(n))}const y={"":t=>t,x:t=>t.x,y:t=>t.y};function v(t){const e=t.split("."),i=[];let s="";for(const t of e)s+=t,s.endsWith("\\")?s=s.slice(0,-1)+".":(i.push(s),s="");return i}function M(t,e){const i=y[e]||(y[e]=function(t){const e=v(t);return t=>{for(const i of e){if(""===i)break;t=t&&t[i]}return t}}(e));return i(t)}function w(t){return t.charAt(0).toUpperCase()+t.slice(1)}const k=t=>void 0!==t,S=t=>"function"==typeof t,P=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0};function D(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}const C=Math.PI,O=2*C,A=O+C,T=Number.POSITIVE_INFINITY,L=C/180,E=C/2,R=C/4,I=2*C/3,z=Math.log10,F=Math.sign;function V(t,e,i){return Math.abs(t-e)<i}function B(t){const e=Math.round(t);t=V(t,e,t/1e3)?e:t;const i=Math.pow(10,Math.floor(z(t))),s=t/i;return(s<=1?1:s<=2?2:s<=5?5:10)*i}function W(t){const e=[],i=Math.sqrt(t);let s;for(s=1;s<i;s++)t%s==0&&(e.push(s),e.push(t/s));return i===(0|i)&&e.push(i),e.sort(((t,e)=>t-e)).pop(),e}function N(t){return!function(t){return"symbol"==typeof t||"object"==typeof t&&null!==t&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function H(t,e){const i=Math.round(t);return i-e<=t&&i+e>=t}function j(t,e,i){let s,n,o;for(s=0,n=t.length;s<n;s++)o=t[s][i],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function $(t){return t*(C/180)}function Y(t){return t*(180/C)}function U(t){if(!a(t))return;let e=1,i=0;for(;Math.round(t*e)/e!==t;)e*=10,i++;return i}function X(t,e){const i=e.x-t.x,s=e.y-t.y,n=Math.sqrt(i*i+s*s);let o=Math.atan2(s,i);return o<-.5*C&&(o+=O),{angle:o,distance:n}}function q(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function K(t,e){return(t-e+A)%O-C}function G(t){return(t%O+O)%O}function J(t,e,i,s){const n=G(t),o=G(e),a=G(i),r=G(o-n),l=G(a-n),h=G(n-o),c=G(n-a);return n===o||n===a||s&&o===a||r>l&&h<c}function Z(t,e,i){return Math.max(e,Math.min(i,t))}function Q(t){return Z(t,-32768,32767)}function tt(t,e,i,s=1e-6){return t>=Math.min(e,i)-s&&t<=Math.max(e,i)+s}function et(t,e,i){i=i||(i=>t[i]<e);let s,n=t.length-1,o=0;for(;n-o>1;)s=o+n>>1,i(s)?o=s:n=s;return{lo:o,hi:n}}const it=(t,e,i,s)=>et(t,i,s?s=>{const n=t[s][e];return n<i||n===i&&t[s+1][e]===i}:s=>t[s][e]<i),st=(t,e,i)=>et(t,i,(s=>t[s][e]>=i));function nt(t,e,i){let s=0,n=t.length;for(;s<n&&t[s]<e;)s++;for(;n>s&&t[n-1]>i;)n--;return s>0||n<t.length?t.slice(s,n):t}const ot=["push","pop","shift","splice","unshift"];function at(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),ot.forEach((e=>{const i="_onData"+w(e),s=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...eLine truncated
|
||||||
/*!
|
/*!
|
||||||
* @kurkle/color v0.3.2
|
* @kurkle/color v0.3.2
|
||||||
* https://github.com/kurkle/color#readme
|
* https://github.com/kurkle/color#readme
|
||||||
* (c) 2023 Jukka Kurkela
|
* (c) 2023 Jukka Kurkela
|
||||||
* Released under the MIT License
|
* Released under the MIT License
|
||||||
*/function _t(t){return t+.5|0}const yt=(t,e,i)=>Math.max(Math.min(t,i),e);function vt(t){return yt(_t(2.55*t),0,255)}function Mt(t){return yt(_t(255*t),0,255)}function wt(t){return yt(_t(t/2.55)/100,0,1)}function kt(t){return yt(_t(100*t),0,100)}const St={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Pt=[..."0123456789ABCDEF"],Dt=t=>Pt[15&t],Ct=t=>Pt[(240&t)>>4]+Pt[15&t],Ot=t=>(240&t)>>4==(15&t);function At(t){var e=(t=>Ot(t.r)&&Ot(t.g)&&Ot(t.b)&&Ot(t.a))(t)?Dt:Ct;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const Tt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Lt(t,e,i){const s=e*Math.min(i,1-i),n=(e,n=(e+t/30)%12)=>i-s*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function Et(t,e,i){const s=(s,n=(s+t/60)%6)=>i-i*e*Math.max(Math.min(n,4-n,1),0);return[s(5),s(3),s(1)]}function Rt(t,e,i){const s=Lt(t,1,.5);let n;for(e+i>1&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)s[n]*=1-e-i,s[n]+=e;return s}function It(t){const e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),o=Math.min(e,i,s),a=(n+o)/2;let r,l,h;return n!==o&&(h=n-o,l=a>.5?h/(2-n-o):h/(n+o),r=function(t,e,i,s,n){return t===n?(e-i)/s+(e<i?6:0):e===n?(i-t)/s+2:(t-e)/s+4}(e,i,s,h,n),r=60*r+.5),[0|r,l||0,a]}function zt(t,e,i,s){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,i,s)).map(Mt)}function Ft(t,e,i){return zt(Lt,t,e,i)}function Vt(t){return(t%360+360)%360}function Bt(t){const e=Tt.exec(t);let i,s=255;if(!e)return;e[5]!==i&&(s=e[6]?vt(+e[5]):Mt(+e[5]));const n=Vt(+e[2]),o=+e[3]/100,a=+e[4]/100;return i="hwb"===e[1]?function(t,e,i){return zt(Rt,t,e,i)}(n,o,a):"hsv"===e[1]?function(t,e,i){return zt(Et,t,e,i)}(n,o,a):Ft(n,o,a),{r:i[0],g:i[1],b:i[2],a:s}}const Wt={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Nt={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let Ht;function jt(t){Ht||(Ht=function(){const t={},e=Object.keys(Nt),i=Object.keys(Wt);let s,n,o,a,r;for(s=0;s<e.length;s++){for(a=r=e[s],n=0;n<i.length;n++)o=i[n],r=r.replace(o,Wt[o]);o=parseInt(Nt[a],16),t[r]=[o>>16&255,o>>8&255,255&o]}return t}(),Ht.transparent=[0,0,0,0]);const e=Ht[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const $t=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const Yt=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,Ut=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Xt(t,e,i){if(t){let s=It(t);s[e]=Math.max(0,Math.min(s[e]+s[e]*i,0===e?360:1)),Line truncated
|
*/function _t(t){return t+.5|0}const yt=(t,e,i)=>Math.max(Math.min(t,i),e);function vt(t){return yt(_t(2.55*t),0,255)}function Mt(t){return yt(_t(255*t),0,255)}function wt(t){return yt(_t(t/2.55)/100,0,1)}function kt(t){return yt(_t(100*t),0,100)}const St={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},Pt=[..."0123456789ABCDEF"],Dt=t=>Pt[15&t],Ct=t=>Pt[(240&t)>>4]+Pt[15&t],Ot=t=>(240&t)>>4==(15&t);function At(t){var e=(t=>Ot(t.r)&&Ot(t.g)&&Ot(t.b)&&Ot(t.a))(t)?Dt:Ct;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const Tt=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Lt(t,e,i){const s=e*Math.min(i,1-i),n=(e,n=(e+t/30)%12)=>i-s*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function Et(t,e,i){const s=(s,n=(s+t/60)%6)=>i-i*e*Math.max(Math.min(n,4-n,1),0);return[s(5),s(3),s(1)]}function Rt(t,e,i){const s=Lt(t,1,.5);let n;for(e+i>1&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)s[n]*=1-e-i,s[n]+=e;return s}function It(t){const e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),o=Math.min(e,i,s),a=(n+o)/2;let r,l,h;return n!==o&&(h=n-o,l=a>.5?h/(2-n-o):h/(n+o),r=function(t,e,i,s,n){return t===n?(e-i)/s+(e<i?6:0):e===n?(i-t)/s+2:(t-e)/s+4}(e,i,s,h,n),r=60*r+.5),[0|r,l||0,a]}function zt(t,e,i,s){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,i,s)).map(Mt)}function Ft(t,e,i){return zt(Lt,t,e,i)}function Vt(t){return(t%360+360)%360}function Bt(t){const e=Tt.exec(t);let i,s=255;if(!e)return;e[5]!==i&&(s=e[6]?vt(+e[5]):Mt(+e[5]));const n=Vt(+e[2]),o=+e[3]/100,a=+e[4]/100;return i="hwb"===e[1]?function(t,e,i){return zt(Rt,t,e,i)}(n,o,a):"hsv"===e[1]?function(t,e,i){return zt(Et,t,e,i)}(n,o,a):Ft(n,o,a),{r:i[0],g:i[1],b:i[2],a:s}}const Wt={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Nt={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let Ht;function jt(t){Ht||(Ht=function(){const t={},e=Object.keys(Nt),i=Object.keys(Wt);let s,n,o,a,r;for(s=0;s<e.length;s++){for(a=r=e[s],n=0;n<i.length;n++)o=i[n],r=r.replace(o,Wt[o]);o=parseInt(Nt[a],16),t[r]=[o>>16&255,o>>8&255,255&o]}return t}(),Ht.transparent=[0,0,0,0]);const e=Ht[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const $t=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const Yt=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,Ut=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function Xt(t,e,i){if(t){let s=It(t);s[e]=Math.max(0,Math.min(s[e]+s[e]*i,0===e?360:1)),Line truncated
|
||||||
//# sourceMappingURL=chart.umd.js.map
|
//# sourceMappingURL=chart.umd.js.map
|
||||||
@@ -1 +1 @@
|
|||||||
@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(fonts/KaTeX_AMS-Regular.woff2) format("woff2"),url(fonts/KaTeX_AMS-Regular.woff) format("woff"),url(fonts/KaTeX_AMS-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Bold.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Regular.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Bold.woff) format("woff"),url(fonts/KaTeX_Fraktur-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Regular.woff) format("woff"),url(fonts/KaTeX_Fraktur-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Main-Bold.woff2) format("woff2"),url(fonts/KaTeX_Main-Bold.woff) format("woff"),url(fonts/KaTeX_Main-Bold.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Main-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Main-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Main-Italic.woff2) format("woff2"),url(fonts/KaTeX_Main-Italic.woff) format("woff"),url(fonts/KaTeX_Main-Italic.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Main-Regular.woff2) format("woff2"),url(fonts/KaTeX_Main-Regular.woff) format("woff"),url(fonts/KaTeX_Main-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Math-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Math-BoldItalic.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Math-Italic.woff2) format("woff2"),url(fonts/KaTeX_Math-Italic.woff) format("woff"),url(fonts/KaTeX_Math-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Bold.woff) format("woff"),url(fonts/KaTeX_SansSerif-Bold.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Italic.woff) format("woff"),url(fonts/KaTeX_SansSerif-Italic.ttf) format("truetype")}@font-face{font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Regular.woff) format("woff"),url(fonts/KaTeX_SansSerif-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Script-Regular.woff2) format("woff2"),url(fonts/KaTeX_Script-Regular.woff) format("woff"),url(fonts/KaTeX_Script-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size1-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size1-Regular.woff) format("woff"),url(fonts/KaTeX_Size1-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size2-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size2-Regular.woff) format("woff"),url(fonts/KaTeX_Size2-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size3-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size3-Regular.woff) format("woff"),url(fonts/KaTeX_Size3-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size4-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size4-Regular.woff) format("woff"),url(fonts/KaTeX_Size4-Regular.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(fonts/KaTeX_Typewriter-Regular.woff) format("woff"),url(fonts/KaTeX_Typewriter-Regular.ttf) format("truetype")}.katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.21"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1pLine truncated
|
@font-face{font-display:block;font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(fonts/KaTeX_AMS-Regular.woff2) format("woff2"),url(fonts/KaTeX_AMS-Regular.woff) format("woff"),url(fonts/KaTeX_AMS-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Bold.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Bold.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(fonts/KaTeX_Caligraphic-Regular.woff) format("woff"),url(fonts/KaTeX_Caligraphic-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Bold.woff) format("woff"),url(fonts/KaTeX_Fraktur-Bold.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(fonts/KaTeX_Fraktur-Regular.woff) format("woff"),url(fonts/KaTeX_Fraktur-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(fonts/KaTeX_Main-Bold.woff2) format("woff2"),url(fonts/KaTeX_Main-Bold.woff) format("woff"),url(fonts/KaTeX_Main-Bold.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Main-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Main-BoldItalic.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Main-Italic.woff2) format("woff2"),url(fonts/KaTeX_Main-Italic.woff) format("woff"),url(fonts/KaTeX_Main-Italic.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Main-Regular.woff2) format("woff2"),url(fonts/KaTeX_Main-Regular.woff) format("woff"),url(fonts/KaTeX_Main-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(fonts/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(fonts/KaTeX_Math-BoldItalic.woff) format("woff"),url(fonts/KaTeX_Math-BoldItalic.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(fonts/KaTeX_Math-Italic.woff2) format("woff2"),url(fonts/KaTeX_Math-Italic.woff) format("woff"),url(fonts/KaTeX_Math-Italic.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:normal;font-weight:700;src:url(fonts/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Bold.woff) format("woff"),url(fonts/KaTeX_SansSerif-Bold.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:italic;font-weight:400;src:url(fonts/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Italic.woff) format("woff"),url(fonts/KaTeX_SansSerif-Italic.ttf) format("truetype")}@font-face{font-display:block;font-family:"KaTeX_SansSerif";font-style:normal;font-weight:400;src:url(fonts/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(fonts/KaTeX_SansSerif-Regular.woff) format("woff"),url(fonts/KaTeX_SansSerif-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Script-Regular.woff2) format("woff2"),url(fonts/KaTeX_Script-Regular.woff) format("woff"),url(fonts/KaTeX_Script-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size1-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size1-Regular.woff) format("woff"),url(fonts/KaTeX_Size1-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size2-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size2-Regular.woff) format("woff"),url(fonts/KaTeX_Size2-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size3-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size3-Regular.woff) format("woff"),url(fonts/KaTeX_Size3-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Size4-Regular.woff2) format("woff2"),url(fonts/KaTeX_Size4-Regular.woff) format("woff"),url(fonts/KaTeX_Size4-Regular.ttf) format("truetype")}@font-face{font-display:block;font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(fonts/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(fonts/KaTeX_Typewriter-ReguLine truncated
|
||||||
@@ -1 +1 @@
|
|||||||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.katex=t():e.katex=t()}("undefined"!=typeof self?self:this,(function(){return function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t={};e.d(t,{default:function(){return Wn}});class r{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;let n,o,s="KaTeX parse error: "+e;const i=t&&t.loc;if(i&&i.start<=i.end){const e=i.lexer.input;n=i.start,o=i.end,n===e.length?s+=" at end of input: ":s+=" at position "+(n+1)+": ";const t=e.slice(n,o).replace(/[^]/g,"$&\u0332");let r,a;r=n>15?"\u2026"+e.slice(n-15,n):e.slice(0,n),a=o+15<e.length?e.slice(o,o+15)+"\u2026":e.slice(o),s+=r+t+a}const a=new Error(s);return a.name="ParseError",a.__proto__=r.prototype,a.position=n,null!=n&&null!=o&&(a.length=o-n),a.rawMessage=e,a}}r.prototype.__proto__=Error.prototype;var n=r;const o=/([A-Z])/g,s={"&":"&",">":">","<":"<",'"':""","'":"'"},i=/[&><"']/g;const a=function(e){return"ordgroup"===e.type||"color"===e.type?1===e.body.length?a(e.body[0]):e:"font"===e.type?a(e.body):e};var l={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(i,(e=>s[e]))},hyphenate:function(e){return e.replace(o,"-$1").toLowerCase()},getBaseElem:a,isCharacterBox:function(e){const t=a(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){const t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"!==t[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"}};const h={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function c(e){if(e.default)return e.default;const t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class m{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0Line truncated
|
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.katex=t():e.katex=t()}("undefined"!=typeof self?self:this,(function(){return function(){"use strict";var e={d:function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t={};e.d(t,{default:function(){return Wn}});class r{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;let n,o,s="KaTeX parse error: "+e;const i=t&&t.loc;if(i&&i.start<=i.end){const e=i.lexer.input;n=i.start,o=i.end,n===e.length?s+=" at end of input: ":s+=" at position "+(n+1)+": ";const t=e.slice(n,o).replace(/[^]/g,"$&\u0332");let r,a;r=n>15?"\u2026"+e.slice(n-15,n):e.slice(0,n),a=o+15<e.length?e.slice(o,o+15)+"\u2026":e.slice(o),s+=r+t+a}const a=new Error(s);return a.name="ParseError",a.__proto__=r.prototype,a.position=n,null!=n&&null!=o&&(a.length=o-n),a.rawMessage=e,a}}r.prototype.__proto__=Error.prototype;var n=r;const o=/([A-Z])/g,s={"&":"&",">":">","<":"<",'"':""","'":"'"},i=/[&><"']/g;const a=function(e){return"ordgroup"===e.type||"color"===e.type?1===e.body.length?a(e.body[0]):e:"font"===e.type?a(e.body):e};var l={deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(i,(e=>s[e]))},hyphenate:function(e){return e.replace(o,"-$1").toLowerCase()},getBaseElem:a,isCharacterBox:function(e){const t=a(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){const t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"!==t[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"}};const h={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function c(e){if(e.default)return e.default;const t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class m{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.Line truncated
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */
|
|
||||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).mediumZoom=t()}(this,(function(){"use strict";var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},t=function(e){return"IMG"===e.tagName},o=function(e){return e&&1===e.nodeType},n=function(e){return".svg"===(e.currentSrc||e.src).substr(-4).toLowerCase()},i=function(e){try{return Array.isArray(e)?e.filter(t):function(e){return NodeList.prototype.isPrototypeOf(e)}(e)?[].slice.call(e).filter(t):o(e)?[e].filter(t):"string"==typeof e?[].slice.call(document.querySelectorAll(e)).filter(t):[]}catch(e){throw new TypeError("The provided selector is invalid.\nExpects a CSS selector, a Node element, a NodeList or an array.\nSee: https://github.com/francoischalifour/medium-zoom")}},r=function(e){var t=document.createElement("div");return t.classList.add("medium-zoom-overlay"),t.style.background=e,t},d=function(e){var t=e.getBoundingClientRect(),o=t.top,n=t.left,i=t.width,r=t.height,d=e.cloneNode(),a=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,m=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return d.removeAttribute("id"),d.style.position="absolute",d.style.top=o+a+"px",d.style.left=n+m+"px",d.style.width=i+"px",d.style.height=r+"px",d.style.transform="",d},a=function(t,o){var n=e({bubbles:!1,cancelable:!1,detail:void 0},o);if("function"==typeof window.CustomEvent)return new CustomEvent(t,n);var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),i};return function(e,t){void 0===t&&(t={});var o=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===o&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}(".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}"),function t(m){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=window.Promise||function(e){function t(){}e(t,t)},u=function(e){var t=e.target;t!==N?-1!==x.indexOf(t)&&w({target:t}):E()},s=function(){if(!A&&k.original){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(S-e)>T.scrollOffset&&setTimeout(E,150)}},f=function(e){var t=e.key||e.keyCode;"Escape"!==t&&"Esc"!==t&&27!==t||E()},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t;if(t.background&&(N.style.background=t.background),t.container&&t.container instanceof Object&&(n.container=e({},T.container,t.container)),t.template){var i=o(t.template)?t.template:document.querySelector(t.template);n.template=i}return T=e({},T,n),x.forEach((function(e){e.dispatchEvent(a("medium-zoom:update",{detail:{zoom:j}}))})),j},g=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t(e({},T,o))},v=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];var n=t.reduce((function(e,t){return[].concat(e,i(t))}),[]);return n.filter((function(e){return-1===x.indexOf(e)})).forEach((function(e){x.push(e),e.classList.add("medium-zoom-image")})),O.forEach((function(e){var t=e.type,o=e.listener,i=e.options;n.forEach((function(e){e.addEventListener(t,o,i)}))})),j},h=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];k.zoomed&&E();var n=t.length>0?t.reduce((function(e,t){return[].concat(e,i(t))}),[]):x;return n.forEach((function(e){e.classList.remove("medium-zoom-image"),e.dispatchEvent(a("medium-zoom:detach",{detail:{zoom:j}}))})),x=x.filter((function(e){return-1===n.indexOf(e)})),j},z=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return x.forEach((function(n){n.addEventListener("medium-zoom:"+e,t,o)})),O.push({type:"medium-zoom:"+e,listener:t,options:o}),j},y=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return x.forEach((function(n){n.removeEventListener("medium-zoom:"+e,t,o)})),O=O.filter((function(o){return!(o.type==="medium-zoom:"+e&&o.listener.toString()===t.toString())})),j},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.target,r=function(){var t={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},i=void 0,r=void 0;if(T.container)if(TLine truncated
|
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */
|
||||||
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).mediumZoom=t()}(this,(function(){"use strict";var e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},t=function(e){return"IMG"===e.tagName},o=function(e){return e&&1===e.nodeType},n=function(e){return".svg"===(e.currentSrc||e.src).substr(-4).toLowerCase()},i=function(e){try{return Array.isArray(e)?e.filter(t):function(e){return NodeList.prototype.isPrototypeOf(e)}(e)?[].slice.call(e).filter(t):o(e)?[e].filter(t):"string"==typeof e?[].slice.call(document.querySelectorAll(e)).filter(t):[]}catch(e){throw new TypeError("The provided selector is invalid.\nExpects a CSS selector, a Node element, a NodeList or an array.\nSee: https://github.com/francoischalifour/medium-zoom")}},r=function(e){var t=document.createElement("div");return t.classList.add("medium-zoom-overlay"),t.style.background=e,t},d=function(e){var t=e.getBoundingClientRect(),o=t.top,n=t.left,i=t.width,r=t.height,d=e.cloneNode(),a=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,m=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return d.removeAttribute("id"),d.style.position="absolute",d.style.top=o+a+"px",d.style.left=n+m+"px",d.style.width=i+"px",d.style.height=r+"px",d.style.transform="",d},a=function(t,o){var n=e({bubbles:!1,cancelable:!1,detail:void 0},o);if("function"==typeof window.CustomEvent)return new CustomEvent(t,n);var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),i};return function t(m){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=window.Promise||function(e){function t(){}e(t,t)},u=function(e){var t=e.target;t!==N?-1!==O.indexOf(t)&&w({target:t}):E()},s=function(){if(!A&&T.original){var e=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(k-e)>S.scrollOffset&&setTimeout(E,150)}},f=function(e){var t=e.key||e.keyCode;"Escape"!==t&&"Esc"!==t&&27!==t||E()},p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t;if(t.background&&(N.style.background=t.background),t.container&&t.container instanceof Object&&(n.container=e({},S.container,t.container)),t.template){var i=o(t.template)?t.template:document.querySelector(t.template);n.template=i}return S=e({},S,n),O.forEach((function(e){e.dispatchEvent(a("medium-zoom:update",{detail:{zoom:j}}))})),j},g=function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t(e({},S,o))},v=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];var n=t.reduce((function(e,t){return[].concat(e,i(t))}),[]);return n.filter((function(e){return-1===O.indexOf(e)})).forEach((function(e){O.push(e),e.classList.add("medium-zoom-image")})),x.forEach((function(e){var t=e.type,o=e.listener,i=e.options;n.forEach((function(e){e.addEventListener(t,o,i)}))})),j},h=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];T.zoomed&&E();var n=t.length>0?t.reduce((function(e,t){return[].concat(e,i(t))}),[]):O;return n.forEach((function(e){e.classList.remove("medium-zoom-image"),e.dispatchEvent(a("medium-zoom:detach",{detail:{zoom:j}}))})),O=O.filter((function(e){return-1===n.indexOf(e)})),j},z=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return O.forEach((function(n){n.addEventListener("medium-zoom:"+e,t,o)})),x.push({type:"medium-zoom:"+e,listener:t,options:o}),j},y=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return O.forEach((function(n){n.removeEventListener("medium-zoom:"+e,t,o)})),x=x.filter((function(o){return!(o.type==="medium-zoom:"+e&&o.listener.toString()===t.toString())})),j},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.target,r=function(){var t={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},i=void 0,r=void 0;if(S.container)if(S.container instanceof Object)i=(t=e({},t,S.container)).width-t.left-t.right-2*S.margin,r=t.height-t.top-t.bottom-2*S.margin;else{var d=(o(S.container)?S.container:document.querySelector(S.container)).getBoundingClientRect(),a=d.width,m=d.height,l=d.left,c=d.top;t=e({},t,{width:a,height:m,left:l,top:c})}i=i||t.width-2*S.margin,r=r||t.height-2*S.margin;var u=T.zoomedHd||T.original,s=n(u)?i:u.naturalWidth||i,f=n(u)?r:u.naturalHeight||r,p=u.getBoundingClientRect(),g=p.top,v=p.left,h=p.width,z=p.height,y=Math.min(Math.max(h,s),i)/h,b=Math.min(Math.max(z,f),r)/z,E=Math.min(y,b),w="scale("+E+") translate3d("+((i-h)/2-v+S.margin+t.left)/E+"px, "+((r-z)/2-g+S.margin+t.top)/E+"px, 0)";T.zoomed.style.transform=w,T.zoomedHd&&(T.zoomedHd.style.transform=w)};return new c((function(e){if(i&&-1===O.indexOf(i))e(j)Line truncated
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
[module]
|
[module]
|
||||||
[module.hugoVersion]
|
[module.hugoVersion]
|
||||||
extended = true
|
extended = true
|
||||||
min = "0.87.0"
|
min = "0.141.0"
|
||||||
max = "0.145.0"
|
max = "0.152.2"
|
||||||
@@ -42,10 +42,12 @@ title = "Blowfish"
|
|||||||
# { instagram = "https://instagram.com/username" },
|
# { instagram = "https://instagram.com/username" },
|
||||||
# { itch-io = "https://username.itch.io" },
|
# { itch-io = "https://username.itch.io" },
|
||||||
# { keybase = "https://keybase.io/username" },
|
# { keybase = "https://keybase.io/username" },
|
||||||
|
# { keyoxide = "https://keyoxide.org/URI" },
|
||||||
# { kickstarter = "https://www.kickstarter.com/profile/username" },
|
# { kickstarter = "https://www.kickstarter.com/profile/username" },
|
||||||
# { lastfm = "https://lastfm.com/user/username" },
|
# { lastfm = "https://lastfm.com/user/username" },
|
||||||
# { linkedin = "https://linkedin.com/in/username" },
|
# { linkedin = "https://linkedin.com/in/username" },
|
||||||
# { mastodon = "https://mastodon.instance/@username" },
|
# { mastodon = "https://mastodon.instance/@username" },
|
||||||
|
# { matrix = "https://matrix.to/#/URI" },
|
||||||
# { medium = "https://medium.com/username" },
|
# { medium = "https://medium.com/username" },
|
||||||
# { microsoft = "https://www.microsoft.com/" },
|
# { microsoft = "https://www.microsoft.com/" },
|
||||||
# { orcid = "https://orcid.org/userid" },
|
# { orcid = "https://orcid.org/userid" },
|
||||||
@@ -53,6 +55,7 @@ title = "Blowfish"
|
|||||||
# { pinterest = "https://pinterest.com/username" },
|
# { pinterest = "https://pinterest.com/username" },
|
||||||
# { reddit = "https://reddit.com/user/username" },
|
# { reddit = "https://reddit.com/user/username" },
|
||||||
# { researchgate = "https://www.researchgate.net/profile/username" },
|
# { researchgate = "https://www.researchgate.net/profile/username" },
|
||||||
|
# { signal = "https://signal.me/#eu/userid" },
|
||||||
# { slack = "https://workspace.url/team/userid" },
|
# { slack = "https://workspace.url/team/userid" },
|
||||||
# { snapchat = "https://snapchat.com/add/username" },
|
# { snapchat = "https://snapchat.com/add/username" },
|
||||||
# { soundcloud = "https://soundcloud.com/username" },
|
# { soundcloud = "https://soundcloud.com/username" },
|
||||||
|
|||||||
@@ -2,9 +2,22 @@
|
|||||||
# These settings are required for the theme to function.
|
# These settings are required for the theme to function.
|
||||||
|
|
||||||
[goldmark]
|
[goldmark]
|
||||||
|
[goldmark.parser]
|
||||||
|
wrapStandAloneImageWithinParagraph = false
|
||||||
|
|
||||||
|
[goldmark.parser.attribute]
|
||||||
|
block = true
|
||||||
|
|
||||||
[goldmark.renderer]
|
[goldmark.renderer]
|
||||||
unsafe = true
|
unsafe = true
|
||||||
|
|
||||||
|
[goldmark.extensions]
|
||||||
|
[goldmark.extensions.passthrough]
|
||||||
|
enable = true
|
||||||
|
[goldmark.extensions.passthrough.delimiters]
|
||||||
|
block = [['\[', '\]'], ['$$', '$$']]
|
||||||
|
inline = [['\(', '\)']]
|
||||||
|
|
||||||
[highlight]
|
[highlight]
|
||||||
noClasses = false
|
noClasses = false
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
[hugoVersion]
|
|
||||||
extended = false
|
|
||||||
min = "0.87.0"
|
|
||||||
@@ -9,6 +9,7 @@ colorScheme = "blowfish"
|
|||||||
defaultAppearance = "light" # valid options: light or dark
|
defaultAppearance = "light" # valid options: light or dark
|
||||||
autoSwitchAppearance = true
|
autoSwitchAppearance = true
|
||||||
|
|
||||||
|
enableA11y = false
|
||||||
enableSearch = true
|
enableSearch = true
|
||||||
enableCodeCopy = false
|
enableCodeCopy = false
|
||||||
|
|
||||||
@@ -18,18 +19,24 @@ replyByEmail = false
|
|||||||
# robots = ""
|
# robots = ""
|
||||||
|
|
||||||
disableImageOptimization = false
|
disableImageOptimization = false
|
||||||
|
disableImageOptimizationMD = false
|
||||||
disableTextInHeader = false
|
disableTextInHeader = false
|
||||||
# backgroundImageWidth = 1200
|
# backgroundImageWidth = 1200
|
||||||
|
|
||||||
# defaultBackgroundImage = "IMAGE.jpg" # used as default for background images
|
# defaultBackgroundImage = "IMAGE.jpg" # used as default for background images
|
||||||
# defaultFeaturedImage = "IMAGE.jpg" # used as default for featured images in all articles
|
# defaultFeaturedImage = "IMAGE.jpg" # used as default for featured images in all articles
|
||||||
|
# defaultSocialImage = "/android-chrome-512x512.png" # used as default for social media sharing (Open Graph and Twitter)
|
||||||
|
hotlinkFeatureImage = false
|
||||||
|
# imagePosition = "50% 50%"
|
||||||
|
|
||||||
# highlightCurrentMenuArea = true
|
# highlightCurrentMenuArea = true
|
||||||
# smartTOC = true
|
# smartTOC = true
|
||||||
# smartTOCHideUnfocusedChildren = true
|
# smartTOCHideUnfocusedChildren = true
|
||||||
|
|
||||||
|
fingerprintAlgorithm = "sha512" # Valid values are "sha512" (default), "sha384", "sha256"
|
||||||
|
|
||||||
giteaDefaultServer = "https://git.fsfe.org"
|
giteaDefaultServer = "https://git.fsfe.org"
|
||||||
forgejoDefaultServer = "https://v8.next.forgejo.org"
|
forgejoDefaultServer = "https://v11.next.forgejo.org"
|
||||||
|
|
||||||
[header]
|
[header]
|
||||||
layout = "basic" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
|
layout = "basic" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
|
||||||
@@ -51,6 +58,7 @@ forgejoDefaultServer = "https://v8.next.forgejo.org"
|
|||||||
cardView = false
|
cardView = false
|
||||||
cardViewScreenWidth = false
|
cardViewScreenWidth = false
|
||||||
layoutBackgroundBlur = false # only used when layout equals background
|
layoutBackgroundBlur = false # only used when layout equals background
|
||||||
|
disableHeroImageFilter = false # only used when layout equals hero
|
||||||
|
|
||||||
[article]
|
[article]
|
||||||
showDate = true
|
showDate = true
|
||||||
@@ -77,10 +85,11 @@ forgejoDefaultServer = "https://v8.next.forgejo.org"
|
|||||||
showTableOfContents = false
|
showTableOfContents = false
|
||||||
# showRelatedContent = false
|
# showRelatedContent = false
|
||||||
# relatedContentLimit = 3
|
# relatedContentLimit = 3
|
||||||
showTaxonomies = false
|
showTaxonomies = false # use showTaxonomies OR showCategoryOnly, not both
|
||||||
|
showCategoryOnly = false # use showTaxonomies OR showCategoryOnly, not both
|
||||||
showAuthorsBadges = false
|
showAuthorsBadges = false
|
||||||
showWordCount = true
|
showWordCount = true
|
||||||
# sharingLinks = [ "linkedin", "twitter", "bluesky", "mastodon", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram"]
|
# sharingLinks = [ "linkedin", "twitter", "bluesky", "mastodon", "reddit", "pinterest", "facebook", "email", "whatsapp", "telegram", "line"]
|
||||||
showZenMode = false
|
showZenMode = false
|
||||||
|
|
||||||
[list]
|
[list]
|
||||||
@@ -153,7 +162,7 @@ forgejoDefaultServer = "https://v8.next.forgejo.org"
|
|||||||
# globalWidget = true
|
# globalWidget = true
|
||||||
# globalWidgetMessage = "Hello"
|
# globalWidgetMessage = "Hello"
|
||||||
# globalWidgetColor = "#FFDD00"
|
# globalWidgetColor = "#FFDD00"
|
||||||
# globalWidgetPosition = "Right"
|
# globalWidgetPosition = "right"
|
||||||
|
|
||||||
[verification]
|
[verification]
|
||||||
# google = ""
|
# google = ""
|
||||||
@@ -165,3 +174,6 @@ forgejoDefaultServer = "https://v8.next.forgejo.org"
|
|||||||
[rssnext]
|
[rssnext]
|
||||||
# feedId = ""
|
# feedId = ""
|
||||||
# userId = ""
|
# userId = ""
|
||||||
|
|
||||||
|
[advertisement]
|
||||||
|
# adsense = ""
|
||||||
@@ -1,533 +0,0 @@
|
|||||||
{
|
|
||||||
"1C Enterprise": "#814CCC",
|
|
||||||
"4D": "#004289",
|
|
||||||
"ABAP": "#E8274B",
|
|
||||||
"ABAP CDS": "#555e25",
|
|
||||||
"ActionScript": "#882B0F",
|
|
||||||
"Ada": "#02f88c",
|
|
||||||
"Adobe Font Metrics": "#fa0f00",
|
|
||||||
"Agda": "#315665",
|
|
||||||
"AGS Script": "#B9D9FF",
|
|
||||||
"AIDL": "#34EB6B",
|
|
||||||
"AL": "#3AA2B5",
|
|
||||||
"Alloy": "#64C800",
|
|
||||||
"Alpine Abuild": "#0D597F",
|
|
||||||
"Altium Designer": "#A89663",
|
|
||||||
"AMPL": "#E6EFBB",
|
|
||||||
"AngelScript": "#C7D7DC",
|
|
||||||
"Ant Build System": "#A9157E",
|
|
||||||
"ANTLR": "#9DC3FF",
|
|
||||||
"ApacheConf": "#d12127",
|
|
||||||
"Apex": "#1797c0",
|
|
||||||
"API Blueprint": "#2ACCA8",
|
|
||||||
"APL": "#5A8164",
|
|
||||||
"Apollo Guidance Computer": "#0B3D91",
|
|
||||||
"AppleScript": "#101F1F",
|
|
||||||
"Arc": "#aa2afe",
|
|
||||||
"AsciiDoc": "#73a0c5",
|
|
||||||
"ASL": null,
|
|
||||||
"ASP.NET": "#9400ff",
|
|
||||||
"AspectJ": "#a957b0",
|
|
||||||
"Assembly": "#6E4C13",
|
|
||||||
"Astro": "#ff5a03",
|
|
||||||
"Asymptote": "#ff0000",
|
|
||||||
"ATS": "#1ac620",
|
|
||||||
"Augeas": "#9CC134",
|
|
||||||
"AutoHotkey": "#6594b9",
|
|
||||||
"AutoIt": "#1C3552",
|
|
||||||
"Avro IDL": "#0040FF",
|
|
||||||
"Awk": "#c30e9b",
|
|
||||||
"Ballerina": "#FF5000",
|
|
||||||
"BASIC": "#ff0000",
|
|
||||||
"Batchfile": "#C1F12E",
|
|
||||||
"Beef": "#a52f4e",
|
|
||||||
"Befunge": null,
|
|
||||||
"BibTeX": "#778899",
|
|
||||||
"Bicep": "#519aba",
|
|
||||||
"Bison": "#6A463F",
|
|
||||||
"BitBake": "#00bce4",
|
|
||||||
"Blade": "#f7523f",
|
|
||||||
"BlitzBasic": "#00FFAE",
|
|
||||||
"BlitzMax": "#cd6400",
|
|
||||||
"Bluespec": "#12223c",
|
|
||||||
"Boo": "#d4bec1",
|
|
||||||
"Boogie": "#c80fa0",
|
|
||||||
"Brainfuck": "#2F2530",
|
|
||||||
"Brightscript": "#662D91",
|
|
||||||
"Browserslist": "#ffd539",
|
|
||||||
"C": "#555555",
|
|
||||||
"C#": "#178600",
|
|
||||||
"C++": "#f34b7d",
|
|
||||||
"C2hs Haskell": null,
|
|
||||||
"Cabal Config": "#483465",
|
|
||||||
"Cap'n Proto": "#c42727",
|
|
||||||
"CartoCSS": null,
|
|
||||||
"Ceylon": "#dfa535",
|
|
||||||
"Chapel": "#8dc63f",
|
|
||||||
"Charity": null,
|
|
||||||
"ChucK": "#3f8000",
|
|
||||||
"Cirru": "#ccccff",
|
|
||||||
"Clarion": "#db901e",
|
|
||||||
"Classic ASP": "#6a40fd",
|
|
||||||
"Clean": "#3F85AF",
|
|
||||||
"Click": "#E4E6F3",
|
|
||||||
"CLIPS": "#00A300",
|
|
||||||
"Clojure": "#db5855",
|
|
||||||
"Closure Templates": "#0d948f",
|
|
||||||
"Cloud Firestore Security Rules": "#FFA000",
|
|
||||||
"CMake": "#DA3434",
|
|
||||||
"COBOL": null,
|
|
||||||
"CodeQL": "#140f46",
|
|
||||||
"CoffeeScript": "#244776",
|
|
||||||
"ColdFusion": "#ed2cd6",
|
|
||||||
"ColdFusion CFC": "#ed2cd6",
|
|
||||||
"COLLADA": "#F1A42B",
|
|
||||||
"Common Lisp": "#3fb68b",
|
|
||||||
"Common Workflow Language": "#B5314C",
|
|
||||||
"Component Pascal": "#B0CE4E",
|
|
||||||
"Cool": null,
|
|
||||||
"Coq": "#d0b68c",
|
|
||||||
"Crystal": "#000100",
|
|
||||||
"CSON": "#244776",
|
|
||||||
"Csound": "#1a1a1a",
|
|
||||||
"Csound Document": "#1a1a1a",
|
|
||||||
"Csound Score": "#1a1a1a",
|
|
||||||
"CSS": "#563d7c",
|
|
||||||
"CSV": "#237346",
|
|
||||||
"Cuda": "#3A4E3A",
|
|
||||||
"CUE": "#5886E1",
|
|
||||||
"CWeb": "#00007a",
|
|
||||||
"Cycript": null,
|
|
||||||
"Cython": "#fedf5b",
|
|
||||||
"D": "#ba595e",
|
|
||||||
"Dafny": "#FFEC25",
|
|
||||||
"Darcs Patch": "#8eff23",
|
|
||||||
"Dart": "#00B4AB",
|
|
||||||
"DataWeave": "#003a52",
|
|
||||||
"Dhall": "#dfafff",
|
|
||||||
"DIGITAL Command Language": null,
|
|
||||||
"DirectX 3D File": "#aace60",
|
|
||||||
"DM": "#447265",
|
|
||||||
"Dockerfile": "#384d54",
|
|
||||||
"Dogescript": "#cca760",
|
|
||||||
"DTrace": null,
|
|
||||||
"Dylan": "#6c616e",
|
|
||||||
"E": "#ccce35",
|
|
||||||
"Easybuild": "#069406",
|
|
||||||
"eC": "#913960",
|
|
||||||
"Ecere Projects": "#913960",
|
|
||||||
"ECL": "#8a1267",
|
|
||||||
"ECLiPSe": "#001d9d",
|
|
||||||
"EditorConfig": "#fff1f2",
|
|
||||||
"Eiffel": "#4d6977",
|
|
||||||
"EJS": "#a91e50",
|
|
||||||
"Elixir": "#6e4a7e",
|
|
||||||
"Elm": "#60B5CC",
|
|
||||||
"Emacs Lisp": "#c065db",
|
|
||||||
"EmberScript": "#FFF4F3",
|
|
||||||
"EQ": "#a78649",
|
|
||||||
"Erlang": "#B83998",
|
|
||||||
"F#": "#b845fc",
|
|
||||||
"F*": "#572e30",
|
|
||||||
"Factor": "#636746",
|
|
||||||
"Fancy": "#7b9db4",
|
|
||||||
"Fantom": "#14253c",
|
|
||||||
"Faust": "#c37240",
|
|
||||||
"Fennel": "#fff3d7",
|
|
||||||
"FIGlet Font": "#FFDDBB",
|
|
||||||
"Filebench WML": "#F6B900",
|
|
||||||
"Filterscript": null,
|
|
||||||
"fish": "#4aae47",
|
|
||||||
"Fluent": "#ffcc33",
|
|
||||||
"FLUX": "#88ccff",
|
|
||||||
"Forth": "#341708",
|
|
||||||
"Fortran": "#4d41b1",
|
|
||||||
"Fortran Free Form": "#4d41b1",
|
|
||||||
"FreeBasic": "#867db1",
|
|
||||||
"FreeMarker": "#0050b2",
|
|
||||||
"Frege": "#00cafe",
|
|
||||||
"Futhark": "#5f021f",
|
|
||||||
"G-code": "#D08CF2",
|
|
||||||
"Game Maker Language": "#71b417",
|
|
||||||
"GAML": "#FFC766",
|
|
||||||
"GAMS": "#f49a22",
|
|
||||||
"GAP": "#0000cc",
|
|
||||||
"GCC Machine Description": "#FFCFAB",
|
|
||||||
"GDB": null,
|
|
||||||
"GDScript": "#355570",
|
|
||||||
"GEDCOM": "#003058",
|
|
||||||
"Gemfile.lock": "#701516",
|
|
||||||
"Genie": "#fb855d",
|
|
||||||
"Genshi": "#951531",
|
|
||||||
"Gentoo Ebuild": "#9400ff",
|
|
||||||
"Gentoo Eclass": "#9400ff",
|
|
||||||
"Gerber Image": "#d20b00",
|
|
||||||
"Gherkin": "#5B2063",
|
|
||||||
"Git Attributes": "#F44D27",
|
|
||||||
"Git Config": "#F44D27",
|
|
||||||
"GLSL": "#5686a5",
|
|
||||||
"Glyph": "#c1ac7f",
|
|
||||||
"Gnuplot": "#f0a9f0",
|
|
||||||
"Go": "#00ADD8",
|
|
||||||
"Go Checksums": "#00ADD8",
|
|
||||||
"Go Module": "#00ADD8",
|
|
||||||
"Golo": "#88562A",
|
|
||||||
"Gosu": "#82937f",
|
|
||||||
"Grace": "#615f8b",
|
|
||||||
"Gradle": "#02303a",
|
|
||||||
"Grammatical Framework": "#ff0000",
|
|
||||||
"GraphQL": "#e10098",
|
|
||||||
"Graphviz (DOT)": "#2596be",
|
|
||||||
"Groovy": "#4298b8",
|
|
||||||
"Groovy Server Pages": "#4298b8",
|
|
||||||
"Hack": "#878787",
|
|
||||||
"Haml": "#ece2a9",
|
|
||||||
"Handlebars": "#f7931e",
|
|
||||||
"HAProxy": "#106da9",
|
|
||||||
"Harbour": "#0e60e3",
|
|
||||||
"Haskell": "#5e5086",
|
|
||||||
"Haxe": "#df7900",
|
|
||||||
"HCL": null,
|
|
||||||
"HiveQL": "#dce200",
|
|
||||||
"HLSL": "#aace60",
|
|
||||||
"HolyC": "#ffefaf",
|
|
||||||
"HTML": "#e34c26",
|
|
||||||
"HTML+ECR": "#2e1052",
|
|
||||||
"HTML+EEX": "#6e4a7e",
|
|
||||||
"HTML+ERB": "#701516",
|
|
||||||
"HTML+PHP": "#4f5d95",
|
|
||||||
"HTML+Razor": "#512be4",
|
|
||||||
"HTTP": "#005C9C",
|
|
||||||
"HXML": "#f68712",
|
|
||||||
"Hy": "#7790B2",
|
|
||||||
"HyPhy": null,
|
|
||||||
"IDL": "#a3522f",
|
|
||||||
"Idris": "#b30000",
|
|
||||||
"Ignore List": "#000000",
|
|
||||||
"IGOR Pro": "#0000cc",
|
|
||||||
"ImageJ Macro": "#99AAFF",
|
|
||||||
"Inform 7": null,
|
|
||||||
"INI": "#d1dbe0",
|
|
||||||
"Inno Setup": "#264b99",
|
|
||||||
"Io": "#a9188d",
|
|
||||||
"Ioke": "#078193",
|
|
||||||
"Isabelle": "#FEFE00",
|
|
||||||
"Isabelle ROOT": "#FEFE00",
|
|
||||||
"J": "#9EEDFF",
|
|
||||||
"JAR Manifest": "#b07219",
|
|
||||||
"Jasmin": "#d03600",
|
|
||||||
"Java": "#b07219",
|
|
||||||
"Java Properties": "#2A6277",
|
|
||||||
"Java Server Pages": "#2A6277",
|
|
||||||
"JavaScript": "#f1e05a",
|
|
||||||
"JavaScript+ERB": "#f1e05a",
|
|
||||||
"Jest Snapshot": "#15c213",
|
|
||||||
"JFlex": "#DBCA00",
|
|
||||||
"Jinja": "#a52a22",
|
|
||||||
"Jison": "#56b3cb",
|
|
||||||
"Jison Lex": "#56b3cb",
|
|
||||||
"Jolie": "#843179",
|
|
||||||
"jq": "#c7254e",
|
|
||||||
"JSON": "#292929",
|
|
||||||
"JSON with Comments": "#292929",
|
|
||||||
"JSON5": "#267CB9",
|
|
||||||
"JSONiq": "#40d47e",
|
|
||||||
"JSONLD": "#0c479c",
|
|
||||||
"Jsonnet": "#0064bd",
|
|
||||||
"Julia": "#a270ba",
|
|
||||||
"Jupyter Notebook": "#DA5B0B",
|
|
||||||
"Kaitai Struct": "#773b37",
|
|
||||||
"KakouneScript": "#6f8042",
|
|
||||||
"KiCad Layout": "#2f4aab",
|
|
||||||
"KiCad Legacy Layout": "#2f4aab",
|
|
||||||
"KiCad Schematic": "#2f4aab",
|
|
||||||
"Kotlin": "#A97BFF",
|
|
||||||
"KRL": "#28430A",
|
|
||||||
"LabVIEW": "#fede06",
|
|
||||||
"Lark": "#2980B9",
|
|
||||||
"Lasso": "#999999",
|
|
||||||
"Latte": "#f2a542",
|
|
||||||
"Lean": null,
|
|
||||||
"Less": "#1d365d",
|
|
||||||
"Lex": "#DBCA00",
|
|
||||||
"LFE": "#4C3023",
|
|
||||||
"LilyPond": "#9ccc7c",
|
|
||||||
"Limbo": null,
|
|
||||||
"Liquid": "#67b8de",
|
|
||||||
"Literate Agda": "#315665",
|
|
||||||
"Literate CoffeeScript": "#244776",
|
|
||||||
"Literate Haskell": "#5e5086",
|
|
||||||
"LiveScript": "#499886",
|
|
||||||
"LLVM": "#185619",
|
|
||||||
"Logos": null,
|
|
||||||
"Logtalk": "#295b9a",
|
|
||||||
"LOLCODE": "#cc9900",
|
|
||||||
"LookML": "#652B81",
|
|
||||||
"LoomScript": null,
|
|
||||||
"LSL": "#3d9970",
|
|
||||||
"Lua": "#000080",
|
|
||||||
"M": null,
|
|
||||||
"M4": null,
|
|
||||||
"M4Sugar": null,
|
|
||||||
"Macaulay2": "#d8ffff",
|
|
||||||
"Makefile": "#427819",
|
|
||||||
"Mako": "#7e858d",
|
|
||||||
"Markdown": "#083fa1",
|
|
||||||
"Marko": "#42bff2",
|
|
||||||
"Mask": "#f97732",
|
|
||||||
"Mathematica": "#dd1100",
|
|
||||||
"MATLAB": "#e16737",
|
|
||||||
"Max": "#c4a79c",
|
|
||||||
"MAXScript": "#00a6a6",
|
|
||||||
"mcfunction": "#E22837",
|
|
||||||
"Mercury": "#ff2b2b",
|
|
||||||
"Meson": "#007800",
|
|
||||||
"Metal": "#8f14e9",
|
|
||||||
"MiniD": null,
|
|
||||||
"Mirah": "#c7a938",
|
|
||||||
"mIRC Script": "#3d57c3",
|
|
||||||
"MLIR": "#5EC8DB",
|
|
||||||
"Modelica": "#de1d31",
|
|
||||||
"Modula-2": "#10253f",
|
|
||||||
"Modula-3": "#223388",
|
|
||||||
"Module Management System": null,
|
|
||||||
"Monkey": null,
|
|
||||||
"Moocode": null,
|
|
||||||
"MoonScript": "#ff4585",
|
|
||||||
"Motorola 68K Assembly": "#005daa",
|
|
||||||
"MQL4": "#62A8D6",
|
|
||||||
"MQL5": "#4A76B8",
|
|
||||||
"MTML": "#b7e1f4",
|
|
||||||
"MUF": null,
|
|
||||||
"mupad": "#244963",
|
|
||||||
"Mustache": "#724b3b",
|
|
||||||
"Myghty": null,
|
|
||||||
"nanorc": "#2d004d",
|
|
||||||
"NASL": null,
|
|
||||||
"NCL": "#28431f",
|
|
||||||
"Nearley": "#990000",
|
|
||||||
"Nemerle": "#3d3c6e",
|
|
||||||
"nesC": "#94B0C7",
|
|
||||||
"NetLinx": "#0aa0ff",
|
|
||||||
"NetLinx+ERB": "#747faa",
|
|
||||||
"NetLogo": "#ff6375",
|
|
||||||
"NewLisp": "#87AED7",
|
|
||||||
"Nextflow": "#3ac486",
|
|
||||||
"Nginx": "#009639",
|
|
||||||
"Nim": "#ffc200",
|
|
||||||
"Nit": "#009917",
|
|
||||||
"Nix": "#7e7eff",
|
|
||||||
"NPM Config": "#cb3837",
|
|
||||||
"NSIS": null,
|
|
||||||
"Nu": "#c9df40",
|
|
||||||
"NumPy": "#9C8AF9",
|
|
||||||
"Nunjucks": "#3d8137",
|
|
||||||
"NWScript": "#111522",
|
|
||||||
"Objective-C": "#438eff",
|
|
||||||
"Objective-C++": "#6866fb",
|
|
||||||
"Objective-J": "#ff0c5a",
|
|
||||||
"ObjectScript": "#424893",
|
|
||||||
"OCaml": "#3be133",
|
|
||||||
"Odin": "#60AFFE",
|
|
||||||
"Omgrofl": "#cabbff",
|
|
||||||
"ooc": "#b0b77e",
|
|
||||||
"Opa": null,
|
|
||||||
"Opal": "#f7ede0",
|
|
||||||
"Open Policy Agent": "#7d9199",
|
|
||||||
"OpenCL": "#ed2e2d",
|
|
||||||
"OpenEdge ABL": "#5ce600",
|
|
||||||
"OpenQASM": "#AA70FF",
|
|
||||||
"OpenRC runscript": null,
|
|
||||||
"OpenSCAD": "#e5cd45",
|
|
||||||
"Org": "#77aa99",
|
|
||||||
"Ox": null,
|
|
||||||
"Oxygene": "#cdd0e3",
|
|
||||||
"Oz": "#fab738",
|
|
||||||
"P4": "#7055b5",
|
|
||||||
"Pan": "#cc0000",
|
|
||||||
"Papyrus": "#6600cc",
|
|
||||||
"Parrot": "#f3ca0a",
|
|
||||||
"Parrot Assembly": null,
|
|
||||||
"Parrot Internal Representation": null,
|
|
||||||
"Pascal": "#E3F171",
|
|
||||||
"Pawn": "#dbb284",
|
|
||||||
"PEG.js": "#234d6b",
|
|
||||||
"Pep8": "#C76F5B",
|
|
||||||
"Perl": "#0298c3",
|
|
||||||
"PHP": "#4F5D95",
|
|
||||||
"PicoLisp": "#6067af",
|
|
||||||
"PigLatin": "#fcd7de",
|
|
||||||
"Pike": "#005390",
|
|
||||||
"PLpgSQL": "#336790",
|
|
||||||
"PLSQL": "#dad8d8",
|
|
||||||
"PogoScript": "#d80074",
|
|
||||||
"Pony": null,
|
|
||||||
"PostCSS": "#dc3a0c",
|
|
||||||
"PostScript": "#da291c",
|
|
||||||
"POV-Ray SDL": "#6bac65",
|
|
||||||
"PowerBuilder": "#8f0f8d",
|
|
||||||
"PowerShell": "#012456",
|
|
||||||
"Prisma": "#0c344b",
|
|
||||||
"Processing": "#0096D8",
|
|
||||||
"Prolog": "#74283c",
|
|
||||||
"Propeller Spin": "#7fa2a7",
|
|
||||||
"Pug": "#a86454",
|
|
||||||
"Puppet": "#302B6D",
|
|
||||||
"PureBasic": "#5a6986",
|
|
||||||
"PureScript": "#1D222D",
|
|
||||||
"Python": "#3572A5",
|
|
||||||
"Python console": "#3572A5",
|
|
||||||
"Python traceback": "#3572A5",
|
|
||||||
"q": "#0040cd",
|
|
||||||
"Q#": "#fed659",
|
|
||||||
"QMake": null,
|
|
||||||
"QML": "#44a51c",
|
|
||||||
"Qt Script": "#00b841",
|
|
||||||
"Quake": "#882233",
|
|
||||||
"R": "#198CE7",
|
|
||||||
"Racket": "#3c5caa",
|
|
||||||
"Ragel": "#9d5200",
|
|
||||||
"Raku": "#0000fb",
|
|
||||||
"RAML": "#77d9fb",
|
|
||||||
"Rascal": "#fffaa0",
|
|
||||||
"RDoc": "#701516",
|
|
||||||
"REALbasic": null,
|
|
||||||
"Reason": "#ff5847",
|
|
||||||
"Rebol": "#358a5b",
|
|
||||||
"Record Jar": "#0673ba",
|
|
||||||
"Red": "#f50000",
|
|
||||||
"Redcode": null,
|
|
||||||
"Regular Expression": "#009a00",
|
|
||||||
"Ren'Py": "#ff7f7f",
|
|
||||||
"RenderScript": null,
|
|
||||||
"ReScript": "#ed5051",
|
|
||||||
"reStructuredText": "#141414",
|
|
||||||
"REXX": "#d90e09",
|
|
||||||
"Ring": "#2D54CB",
|
|
||||||
"Riot": "#A71E49",
|
|
||||||
"RMarkdown": "#198ce7",
|
|
||||||
"RobotFramework": "#00c0b5",
|
|
||||||
"Roff": "#ecdebe",
|
|
||||||
"Roff Manpage": "#ecdebe",
|
|
||||||
"Rouge": "#cc0088",
|
|
||||||
"RPC": null,
|
|
||||||
"Ruby": "#701516",
|
|
||||||
"RUNOFF": "#665a4e",
|
|
||||||
"Rust": "#dea584",
|
|
||||||
"Sage": null,
|
|
||||||
"SaltStack": "#646464",
|
|
||||||
"SAS": "#B34936",
|
|
||||||
"Sass": "#a53b70",
|
|
||||||
"Scala": "#c22d40",
|
|
||||||
"Scaml": "#bd181a",
|
|
||||||
"Scheme": "#1e4aec",
|
|
||||||
"Scilab": "#ca0f21",
|
|
||||||
"SCSS": "#c6538c",
|
|
||||||
"sed": "#64b970",
|
|
||||||
"Self": "#0579aa",
|
|
||||||
"ShaderLab": "#222c37",
|
|
||||||
"Shell": "#89e051",
|
|
||||||
"ShellSession": null,
|
|
||||||
"Shen": "#120F14",
|
|
||||||
"Sieve": null,
|
|
||||||
"Singularity": "#64E6AD",
|
|
||||||
"Slash": "#007eff",
|
|
||||||
"Slice": "#003fa2",
|
|
||||||
"Slim": "#2b2b2b",
|
|
||||||
"Smali": null,
|
|
||||||
"Smalltalk": "#596706",
|
|
||||||
"Smarty": "#f0c040",
|
|
||||||
"SmPL": "#c94949",
|
|
||||||
"SMT": null,
|
|
||||||
"Solidity": "#AA6746",
|
|
||||||
"SourcePawn": "#f69e1d",
|
|
||||||
"SPARQL": "#0C4597",
|
|
||||||
"SQF": "#3F3F3F",
|
|
||||||
"SQL": "#e38c00",
|
|
||||||
"SQLPL": "#e38c00",
|
|
||||||
"Squirrel": "#800000",
|
|
||||||
"SRecode Template": "#348a34",
|
|
||||||
"Stan": "#b2011d",
|
|
||||||
"Standard ML": "#dc566d",
|
|
||||||
"Starlark": "#76d275",
|
|
||||||
"Stata": "#1a5f91",
|
|
||||||
"StringTemplate": "#3fb34f",
|
|
||||||
"Stylus": "#ff6347",
|
|
||||||
"SubRip Text": "#9e0101",
|
|
||||||
"SugarSS": "#2fcc9f",
|
|
||||||
"SuperCollider": "#46390b",
|
|
||||||
"Svelte": "#ff3e00",
|
|
||||||
"SVG": "#ff9900",
|
|
||||||
"Swift": "#F05138",
|
|
||||||
"SWIG": null,
|
|
||||||
"SystemVerilog": "#DAE1C2",
|
|
||||||
"Tcl": "#e4cc98",
|
|
||||||
"Tcsh": null,
|
|
||||||
"Terra": "#00004c",
|
|
||||||
"TeX": "#3D6117",
|
|
||||||
"Textile": "#ffe7ac",
|
|
||||||
"TextMate Properties": "#df66e4",
|
|
||||||
"Thrift": "#D12127",
|
|
||||||
"TI Program": "#A0AA87",
|
|
||||||
"TLA": "#4b0079",
|
|
||||||
"TOML": "#9c4221",
|
|
||||||
"TSQL": "#e38c00",
|
|
||||||
"TSV": "#237346",
|
|
||||||
"TSX": "#2b7489",
|
|
||||||
"Turing": "#cf142b",
|
|
||||||
"Twig": "#c1d026",
|
|
||||||
"TXL": "#0178b8",
|
|
||||||
"TypeScript": "#2b7489",
|
|
||||||
"Unified Parallel C": "#4e3617",
|
|
||||||
"Unity3D Asset": "#222c37",
|
|
||||||
"Unix Assembly": null,
|
|
||||||
"Uno": "#9933cc",
|
|
||||||
"UnrealScript": "#a54c4d",
|
|
||||||
"UrWeb": "#ccccee",
|
|
||||||
"V": "#4f87c4",
|
|
||||||
"Vala": "#fbe5cd",
|
|
||||||
"Valve Data Format": "#f26025",
|
|
||||||
"VBA": "#867db1",
|
|
||||||
"VBScript": "#15dcdc",
|
|
||||||
"VCL": "#148AA8",
|
|
||||||
"Verilog": "#b2b7f8",
|
|
||||||
"VHDL": "#adb2cb",
|
|
||||||
"Vim Help File": "#199f4b",
|
|
||||||
"Vim Script": "#199f4b",
|
|
||||||
"Vim Snippet": "#199f4b",
|
|
||||||
"Visual Basic .NET": "#945db7",
|
|
||||||
"Volt": "#1F1F1F",
|
|
||||||
"Vue": "#41b883",
|
|
||||||
"wdl": "#42f1f4",
|
|
||||||
"Web Ontology Language": "#5b70bd",
|
|
||||||
"WebAssembly": "#04133b",
|
|
||||||
"WebIDL": null,
|
|
||||||
"Wikitext": "#fc5757",
|
|
||||||
"Windows Registry Entries": "#52d5ff",
|
|
||||||
"wisp": "#7582D1",
|
|
||||||
"Wollok": "#a23738",
|
|
||||||
"World of Warcraft Addon Data": "#f7e43f",
|
|
||||||
"X10": "#4B6BEF",
|
|
||||||
"xBase": "#403a40",
|
|
||||||
"XC": "#99DA07",
|
|
||||||
"XML": "#0060ac",
|
|
||||||
"XML Property List": "#0060ac",
|
|
||||||
"Xojo": "#81bd41",
|
|
||||||
"Xonsh": "#285EEF",
|
|
||||||
"XProc": null,
|
|
||||||
"XQuery": "#5232e7",
|
|
||||||
"XS": null,
|
|
||||||
"XSLT": "#EB8CEB",
|
|
||||||
"Xtend": "#24255d",
|
|
||||||
"Yacc": "#4B6C4B",
|
|
||||||
"YAML": "#cb171e",
|
|
||||||
"YARA": "#220000",
|
|
||||||
"YASnippet": "#32AB90",
|
|
||||||
"ZAP": "#0d665e",
|
|
||||||
"Zeek": null,
|
|
||||||
"ZenScript": "#00BCD1",
|
|
||||||
"Zephir": "#118f9e",
|
|
||||||
"Zig": "#ec915c",
|
|
||||||
"ZIL": "#dc75e5",
|
|
||||||
"Zimpl": "#d67711"
|
|
||||||
}
|
|
||||||
@@ -1,533 +0,0 @@
|
|||||||
{
|
|
||||||
"1C Enterprise": "#814CCC",
|
|
||||||
"4D": "#004289",
|
|
||||||
"ABAP": "#E8274B",
|
|
||||||
"ABAP CDS": "#555e25",
|
|
||||||
"ActionScript": "#882B0F",
|
|
||||||
"Ada": "#02f88c",
|
|
||||||
"Adobe Font Metrics": "#fa0f00",
|
|
||||||
"Agda": "#315665",
|
|
||||||
"AGS Script": "#B9D9FF",
|
|
||||||
"AIDL": "#34EB6B",
|
|
||||||
"AL": "#3AA2B5",
|
|
||||||
"Alloy": "#64C800",
|
|
||||||
"Alpine Abuild": "#0D597F",
|
|
||||||
"Altium Designer": "#A89663",
|
|
||||||
"AMPL": "#E6EFBB",
|
|
||||||
"AngelScript": "#C7D7DC",
|
|
||||||
"Ant Build System": "#A9157E",
|
|
||||||
"ANTLR": "#9DC3FF",
|
|
||||||
"ApacheConf": "#d12127",
|
|
||||||
"Apex": "#1797c0",
|
|
||||||
"API Blueprint": "#2ACCA8",
|
|
||||||
"APL": "#5A8164",
|
|
||||||
"Apollo Guidance Computer": "#0B3D91",
|
|
||||||
"AppleScript": "#101F1F",
|
|
||||||
"Arc": "#aa2afe",
|
|
||||||
"AsciiDoc": "#73a0c5",
|
|
||||||
"ASL": null,
|
|
||||||
"ASP.NET": "#9400ff",
|
|
||||||
"AspectJ": "#a957b0",
|
|
||||||
"Assembly": "#6E4C13",
|
|
||||||
"Astro": "#ff5a03",
|
|
||||||
"Asymptote": "#ff0000",
|
|
||||||
"ATS": "#1ac620",
|
|
||||||
"Augeas": "#9CC134",
|
|
||||||
"AutoHotkey": "#6594b9",
|
|
||||||
"AutoIt": "#1C3552",
|
|
||||||
"Avro IDL": "#0040FF",
|
|
||||||
"Awk": "#c30e9b",
|
|
||||||
"Ballerina": "#FF5000",
|
|
||||||
"BASIC": "#ff0000",
|
|
||||||
"Batchfile": "#C1F12E",
|
|
||||||
"Beef": "#a52f4e",
|
|
||||||
"Befunge": null,
|
|
||||||
"BibTeX": "#778899",
|
|
||||||
"Bicep": "#519aba",
|
|
||||||
"Bison": "#6A463F",
|
|
||||||
"BitBake": "#00bce4",
|
|
||||||
"Blade": "#f7523f",
|
|
||||||
"BlitzBasic": "#00FFAE",
|
|
||||||
"BlitzMax": "#cd6400",
|
|
||||||
"Bluespec": "#12223c",
|
|
||||||
"Boo": "#d4bec1",
|
|
||||||
"Boogie": "#c80fa0",
|
|
||||||
"Brainfuck": "#2F2530",
|
|
||||||
"Brightscript": "#662D91",
|
|
||||||
"Browserslist": "#ffd539",
|
|
||||||
"C": "#555555",
|
|
||||||
"C#": "#178600",
|
|
||||||
"C++": "#f34b7d",
|
|
||||||
"C2hs Haskell": null,
|
|
||||||
"Cabal Config": "#483465",
|
|
||||||
"Cap'n Proto": "#c42727",
|
|
||||||
"CartoCSS": null,
|
|
||||||
"Ceylon": "#dfa535",
|
|
||||||
"Chapel": "#8dc63f",
|
|
||||||
"Charity": null,
|
|
||||||
"ChucK": "#3f8000",
|
|
||||||
"Cirru": "#ccccff",
|
|
||||||
"Clarion": "#db901e",
|
|
||||||
"Classic ASP": "#6a40fd",
|
|
||||||
"Clean": "#3F85AF",
|
|
||||||
"Click": "#E4E6F3",
|
|
||||||
"CLIPS": "#00A300",
|
|
||||||
"Clojure": "#db5855",
|
|
||||||
"Closure Templates": "#0d948f",
|
|
||||||
"Cloud Firestore Security Rules": "#FFA000",
|
|
||||||
"CMake": "#DA3434",
|
|
||||||
"COBOL": null,
|
|
||||||
"CodeQL": "#140f46",
|
|
||||||
"CoffeeScript": "#244776",
|
|
||||||
"ColdFusion": "#ed2cd6",
|
|
||||||
"ColdFusion CFC": "#ed2cd6",
|
|
||||||
"COLLADA": "#F1A42B",
|
|
||||||
"Common Lisp": "#3fb68b",
|
|
||||||
"Common Workflow Language": "#B5314C",
|
|
||||||
"Component Pascal": "#B0CE4E",
|
|
||||||
"Cool": null,
|
|
||||||
"Coq": "#d0b68c",
|
|
||||||
"Crystal": "#000100",
|
|
||||||
"CSON": "#244776",
|
|
||||||
"Csound": "#1a1a1a",
|
|
||||||
"Csound Document": "#1a1a1a",
|
|
||||||
"Csound Score": "#1a1a1a",
|
|
||||||
"CSS": "#563d7c",
|
|
||||||
"CSV": "#237346",
|
|
||||||
"Cuda": "#3A4E3A",
|
|
||||||
"CUE": "#5886E1",
|
|
||||||
"CWeb": "#00007a",
|
|
||||||
"Cycript": null,
|
|
||||||
"Cython": "#fedf5b",
|
|
||||||
"D": "#ba595e",
|
|
||||||
"Dafny": "#FFEC25",
|
|
||||||
"Darcs Patch": "#8eff23",
|
|
||||||
"Dart": "#00B4AB",
|
|
||||||
"DataWeave": "#003a52",
|
|
||||||
"Dhall": "#dfafff",
|
|
||||||
"DIGITAL Command Language": null,
|
|
||||||
"DirectX 3D File": "#aace60",
|
|
||||||
"DM": "#447265",
|
|
||||||
"Dockerfile": "#384d54",
|
|
||||||
"Dogescript": "#cca760",
|
|
||||||
"DTrace": null,
|
|
||||||
"Dylan": "#6c616e",
|
|
||||||
"E": "#ccce35",
|
|
||||||
"Easybuild": "#069406",
|
|
||||||
"eC": "#913960",
|
|
||||||
"Ecere Projects": "#913960",
|
|
||||||
"ECL": "#8a1267",
|
|
||||||
"ECLiPSe": "#001d9d",
|
|
||||||
"EditorConfig": "#fff1f2",
|
|
||||||
"Eiffel": "#4d6977",
|
|
||||||
"EJS": "#a91e50",
|
|
||||||
"Elixir": "#6e4a7e",
|
|
||||||
"Elm": "#60B5CC",
|
|
||||||
"Emacs Lisp": "#c065db",
|
|
||||||
"EmberScript": "#FFF4F3",
|
|
||||||
"EQ": "#a78649",
|
|
||||||
"Erlang": "#B83998",
|
|
||||||
"F#": "#b845fc",
|
|
||||||
"F*": "#572e30",
|
|
||||||
"Factor": "#636746",
|
|
||||||
"Fancy": "#7b9db4",
|
|
||||||
"Fantom": "#14253c",
|
|
||||||
"Faust": "#c37240",
|
|
||||||
"Fennel": "#fff3d7",
|
|
||||||
"FIGlet Font": "#FFDDBB",
|
|
||||||
"Filebench WML": "#F6B900",
|
|
||||||
"Filterscript": null,
|
|
||||||
"fish": "#4aae47",
|
|
||||||
"Fluent": "#ffcc33",
|
|
||||||
"FLUX": "#88ccff",
|
|
||||||
"Forth": "#341708",
|
|
||||||
"Fortran": "#4d41b1",
|
|
||||||
"Fortran Free Form": "#4d41b1",
|
|
||||||
"FreeBasic": "#867db1",
|
|
||||||
"FreeMarker": "#0050b2",
|
|
||||||
"Frege": "#00cafe",
|
|
||||||
"Futhark": "#5f021f",
|
|
||||||
"G-code": "#D08CF2",
|
|
||||||
"Game Maker Language": "#71b417",
|
|
||||||
"GAML": "#FFC766",
|
|
||||||
"GAMS": "#f49a22",
|
|
||||||
"GAP": "#0000cc",
|
|
||||||
"GCC Machine Description": "#FFCFAB",
|
|
||||||
"GDB": null,
|
|
||||||
"GDScript": "#355570",
|
|
||||||
"GEDCOM": "#003058",
|
|
||||||
"Gemfile.lock": "#701516",
|
|
||||||
"Genie": "#fb855d",
|
|
||||||
"Genshi": "#951531",
|
|
||||||
"Gentoo Ebuild": "#9400ff",
|
|
||||||
"Gentoo Eclass": "#9400ff",
|
|
||||||
"Gerber Image": "#d20b00",
|
|
||||||
"Gherkin": "#5B2063",
|
|
||||||
"Git Attributes": "#F44D27",
|
|
||||||
"Git Config": "#F44D27",
|
|
||||||
"GLSL": "#5686a5",
|
|
||||||
"Glyph": "#c1ac7f",
|
|
||||||
"Gnuplot": "#f0a9f0",
|
|
||||||
"Go": "#00ADD8",
|
|
||||||
"Go Checksums": "#00ADD8",
|
|
||||||
"Go Module": "#00ADD8",
|
|
||||||
"Golo": "#88562A",
|
|
||||||
"Gosu": "#82937f",
|
|
||||||
"Grace": "#615f8b",
|
|
||||||
"Gradle": "#02303a",
|
|
||||||
"Grammatical Framework": "#ff0000",
|
|
||||||
"GraphQL": "#e10098",
|
|
||||||
"Graphviz (DOT)": "#2596be",
|
|
||||||
"Groovy": "#4298b8",
|
|
||||||
"Groovy Server Pages": "#4298b8",
|
|
||||||
"Hack": "#878787",
|
|
||||||
"Haml": "#ece2a9",
|
|
||||||
"Handlebars": "#f7931e",
|
|
||||||
"HAProxy": "#106da9",
|
|
||||||
"Harbour": "#0e60e3",
|
|
||||||
"Haskell": "#5e5086",
|
|
||||||
"Haxe": "#df7900",
|
|
||||||
"HCL": null,
|
|
||||||
"HiveQL": "#dce200",
|
|
||||||
"HLSL": "#aace60",
|
|
||||||
"HolyC": "#ffefaf",
|
|
||||||
"HTML": "#e34c26",
|
|
||||||
"HTML+ECR": "#2e1052",
|
|
||||||
"HTML+EEX": "#6e4a7e",
|
|
||||||
"HTML+ERB": "#701516",
|
|
||||||
"HTML+PHP": "#4f5d95",
|
|
||||||
"HTML+Razor": "#512be4",
|
|
||||||
"HTTP": "#005C9C",
|
|
||||||
"HXML": "#f68712",
|
|
||||||
"Hy": "#7790B2",
|
|
||||||
"HyPhy": null,
|
|
||||||
"IDL": "#a3522f",
|
|
||||||
"Idris": "#b30000",
|
|
||||||
"Ignore List": "#000000",
|
|
||||||
"IGOR Pro": "#0000cc",
|
|
||||||
"ImageJ Macro": "#99AAFF",
|
|
||||||
"Inform 7": null,
|
|
||||||
"INI": "#d1dbe0",
|
|
||||||
"Inno Setup": "#264b99",
|
|
||||||
"Io": "#a9188d",
|
|
||||||
"Ioke": "#078193",
|
|
||||||
"Isabelle": "#FEFE00",
|
|
||||||
"Isabelle ROOT": "#FEFE00",
|
|
||||||
"J": "#9EEDFF",
|
|
||||||
"JAR Manifest": "#b07219",
|
|
||||||
"Jasmin": "#d03600",
|
|
||||||
"Java": "#b07219",
|
|
||||||
"Java Properties": "#2A6277",
|
|
||||||
"Java Server Pages": "#2A6277",
|
|
||||||
"JavaScript": "#f1e05a",
|
|
||||||
"JavaScript+ERB": "#f1e05a",
|
|
||||||
"Jest Snapshot": "#15c213",
|
|
||||||
"JFlex": "#DBCA00",
|
|
||||||
"Jinja": "#a52a22",
|
|
||||||
"Jison": "#56b3cb",
|
|
||||||
"Jison Lex": "#56b3cb",
|
|
||||||
"Jolie": "#843179",
|
|
||||||
"jq": "#c7254e",
|
|
||||||
"JSON": "#292929",
|
|
||||||
"JSON with Comments": "#292929",
|
|
||||||
"JSON5": "#267CB9",
|
|
||||||
"JSONiq": "#40d47e",
|
|
||||||
"JSONLD": "#0c479c",
|
|
||||||
"Jsonnet": "#0064bd",
|
|
||||||
"Julia": "#a270ba",
|
|
||||||
"Jupyter Notebook": "#DA5B0B",
|
|
||||||
"Kaitai Struct": "#773b37",
|
|
||||||
"KakouneScript": "#6f8042",
|
|
||||||
"KiCad Layout": "#2f4aab",
|
|
||||||
"KiCad Legacy Layout": "#2f4aab",
|
|
||||||
"KiCad Schematic": "#2f4aab",
|
|
||||||
"Kotlin": "#A97BFF",
|
|
||||||
"KRL": "#28430A",
|
|
||||||
"LabVIEW": "#fede06",
|
|
||||||
"Lark": "#2980B9",
|
|
||||||
"Lasso": "#999999",
|
|
||||||
"Latte": "#f2a542",
|
|
||||||
"Lean": null,
|
|
||||||
"Less": "#1d365d",
|
|
||||||
"Lex": "#DBCA00",
|
|
||||||
"LFE": "#4C3023",
|
|
||||||
"LilyPond": "#9ccc7c",
|
|
||||||
"Limbo": null,
|
|
||||||
"Liquid": "#67b8de",
|
|
||||||
"Literate Agda": "#315665",
|
|
||||||
"Literate CoffeeScript": "#244776",
|
|
||||||
"Literate Haskell": "#5e5086",
|
|
||||||
"LiveScript": "#499886",
|
|
||||||
"LLVM": "#185619",
|
|
||||||
"Logos": null,
|
|
||||||
"Logtalk": "#295b9a",
|
|
||||||
"LOLCODE": "#cc9900",
|
|
||||||
"LookML": "#652B81",
|
|
||||||
"LoomScript": null,
|
|
||||||
"LSL": "#3d9970",
|
|
||||||
"Lua": "#000080",
|
|
||||||
"M": null,
|
|
||||||
"M4": null,
|
|
||||||
"M4Sugar": null,
|
|
||||||
"Macaulay2": "#d8ffff",
|
|
||||||
"Makefile": "#427819",
|
|
||||||
"Mako": "#7e858d",
|
|
||||||
"Markdown": "#083fa1",
|
|
||||||
"Marko": "#42bff2",
|
|
||||||
"Mask": "#f97732",
|
|
||||||
"Mathematica": "#dd1100",
|
|
||||||
"MATLAB": "#e16737",
|
|
||||||
"Max": "#c4a79c",
|
|
||||||
"MAXScript": "#00a6a6",
|
|
||||||
"mcfunction": "#E22837",
|
|
||||||
"Mercury": "#ff2b2b",
|
|
||||||
"Meson": "#007800",
|
|
||||||
"Metal": "#8f14e9",
|
|
||||||
"MiniD": null,
|
|
||||||
"Mirah": "#c7a938",
|
|
||||||
"mIRC Script": "#3d57c3",
|
|
||||||
"MLIR": "#5EC8DB",
|
|
||||||
"Modelica": "#de1d31",
|
|
||||||
"Modula-2": "#10253f",
|
|
||||||
"Modula-3": "#223388",
|
|
||||||
"Module Management System": null,
|
|
||||||
"Monkey": null,
|
|
||||||
"Moocode": null,
|
|
||||||
"MoonScript": "#ff4585",
|
|
||||||
"Motorola 68K Assembly": "#005daa",
|
|
||||||
"MQL4": "#62A8D6",
|
|
||||||
"MQL5": "#4A76B8",
|
|
||||||
"MTML": "#b7e1f4",
|
|
||||||
"MUF": null,
|
|
||||||
"mupad": "#244963",
|
|
||||||
"Mustache": "#724b3b",
|
|
||||||
"Myghty": null,
|
|
||||||
"nanorc": "#2d004d",
|
|
||||||
"NASL": null,
|
|
||||||
"NCL": "#28431f",
|
|
||||||
"Nearley": "#990000",
|
|
||||||
"Nemerle": "#3d3c6e",
|
|
||||||
"nesC": "#94B0C7",
|
|
||||||
"NetLinx": "#0aa0ff",
|
|
||||||
"NetLinx+ERB": "#747faa",
|
|
||||||
"NetLogo": "#ff6375",
|
|
||||||
"NewLisp": "#87AED7",
|
|
||||||
"Nextflow": "#3ac486",
|
|
||||||
"Nginx": "#009639",
|
|
||||||
"Nim": "#ffc200",
|
|
||||||
"Nit": "#009917",
|
|
||||||
"Nix": "#7e7eff",
|
|
||||||
"NPM Config": "#cb3837",
|
|
||||||
"NSIS": null,
|
|
||||||
"Nu": "#c9df40",
|
|
||||||
"NumPy": "#9C8AF9",
|
|
||||||
"Nunjucks": "#3d8137",
|
|
||||||
"NWScript": "#111522",
|
|
||||||
"Objective-C": "#438eff",
|
|
||||||
"Objective-C++": "#6866fb",
|
|
||||||
"Objective-J": "#ff0c5a",
|
|
||||||
"ObjectScript": "#424893",
|
|
||||||
"OCaml": "#3be133",
|
|
||||||
"Odin": "#60AFFE",
|
|
||||||
"Omgrofl": "#cabbff",
|
|
||||||
"ooc": "#b0b77e",
|
|
||||||
"Opa": null,
|
|
||||||
"Opal": "#f7ede0",
|
|
||||||
"Open Policy Agent": "#7d9199",
|
|
||||||
"OpenCL": "#ed2e2d",
|
|
||||||
"OpenEdge ABL": "#5ce600",
|
|
||||||
"OpenQASM": "#AA70FF",
|
|
||||||
"OpenRC runscript": null,
|
|
||||||
"OpenSCAD": "#e5cd45",
|
|
||||||
"Org": "#77aa99",
|
|
||||||
"Ox": null,
|
|
||||||
"Oxygene": "#cdd0e3",
|
|
||||||
"Oz": "#fab738",
|
|
||||||
"P4": "#7055b5",
|
|
||||||
"Pan": "#cc0000",
|
|
||||||
"Papyrus": "#6600cc",
|
|
||||||
"Parrot": "#f3ca0a",
|
|
||||||
"Parrot Assembly": null,
|
|
||||||
"Parrot Internal Representation": null,
|
|
||||||
"Pascal": "#E3F171",
|
|
||||||
"Pawn": "#dbb284",
|
|
||||||
"PEG.js": "#234d6b",
|
|
||||||
"Pep8": "#C76F5B",
|
|
||||||
"Perl": "#0298c3",
|
|
||||||
"PHP": "#4F5D95",
|
|
||||||
"PicoLisp": "#6067af",
|
|
||||||
"PigLatin": "#fcd7de",
|
|
||||||
"Pike": "#005390",
|
|
||||||
"PLpgSQL": "#336790",
|
|
||||||
"PLSQL": "#dad8d8",
|
|
||||||
"PogoScript": "#d80074",
|
|
||||||
"Pony": null,
|
|
||||||
"PostCSS": "#dc3a0c",
|
|
||||||
"PostScript": "#da291c",
|
|
||||||
"POV-Ray SDL": "#6bac65",
|
|
||||||
"PowerBuilder": "#8f0f8d",
|
|
||||||
"PowerShell": "#012456",
|
|
||||||
"Prisma": "#0c344b",
|
|
||||||
"Processing": "#0096D8",
|
|
||||||
"Prolog": "#74283c",
|
|
||||||
"Propeller Spin": "#7fa2a7",
|
|
||||||
"Pug": "#a86454",
|
|
||||||
"Puppet": "#302B6D",
|
|
||||||
"PureBasic": "#5a6986",
|
|
||||||
"PureScript": "#1D222D",
|
|
||||||
"Python": "#3572A5",
|
|
||||||
"Python console": "#3572A5",
|
|
||||||
"Python traceback": "#3572A5",
|
|
||||||
"q": "#0040cd",
|
|
||||||
"Q#": "#fed659",
|
|
||||||
"QMake": null,
|
|
||||||
"QML": "#44a51c",
|
|
||||||
"Qt Script": "#00b841",
|
|
||||||
"Quake": "#882233",
|
|
||||||
"R": "#198CE7",
|
|
||||||
"Racket": "#3c5caa",
|
|
||||||
"Ragel": "#9d5200",
|
|
||||||
"Raku": "#0000fb",
|
|
||||||
"RAML": "#77d9fb",
|
|
||||||
"Rascal": "#fffaa0",
|
|
||||||
"RDoc": "#701516",
|
|
||||||
"REALbasic": null,
|
|
||||||
"Reason": "#ff5847",
|
|
||||||
"Rebol": "#358a5b",
|
|
||||||
"Record Jar": "#0673ba",
|
|
||||||
"Red": "#f50000",
|
|
||||||
"Redcode": null,
|
|
||||||
"Regular Expression": "#009a00",
|
|
||||||
"Ren'Py": "#ff7f7f",
|
|
||||||
"RenderScript": null,
|
|
||||||
"ReScript": "#ed5051",
|
|
||||||
"reStructuredText": "#141414",
|
|
||||||
"REXX": "#d90e09",
|
|
||||||
"Ring": "#2D54CB",
|
|
||||||
"Riot": "#A71E49",
|
|
||||||
"RMarkdown": "#198ce7",
|
|
||||||
"RobotFramework": "#00c0b5",
|
|
||||||
"Roff": "#ecdebe",
|
|
||||||
"Roff Manpage": "#ecdebe",
|
|
||||||
"Rouge": "#cc0088",
|
|
||||||
"RPC": null,
|
|
||||||
"Ruby": "#701516",
|
|
||||||
"RUNOFF": "#665a4e",
|
|
||||||
"Rust": "#dea584",
|
|
||||||
"Sage": null,
|
|
||||||
"SaltStack": "#646464",
|
|
||||||
"SAS": "#B34936",
|
|
||||||
"Sass": "#a53b70",
|
|
||||||
"Scala": "#c22d40",
|
|
||||||
"Scaml": "#bd181a",
|
|
||||||
"Scheme": "#1e4aec",
|
|
||||||
"Scilab": "#ca0f21",
|
|
||||||
"SCSS": "#c6538c",
|
|
||||||
"sed": "#64b970",
|
|
||||||
"Self": "#0579aa",
|
|
||||||
"ShaderLab": "#222c37",
|
|
||||||
"Shell": "#89e051",
|
|
||||||
"ShellSession": null,
|
|
||||||
"Shen": "#120F14",
|
|
||||||
"Sieve": null,
|
|
||||||
"Singularity": "#64E6AD",
|
|
||||||
"Slash": "#007eff",
|
|
||||||
"Slice": "#003fa2",
|
|
||||||
"Slim": "#2b2b2b",
|
|
||||||
"Smali": null,
|
|
||||||
"Smalltalk": "#596706",
|
|
||||||
"Smarty": "#f0c040",
|
|
||||||
"SmPL": "#c94949",
|
|
||||||
"SMT": null,
|
|
||||||
"Solidity": "#AA6746",
|
|
||||||
"SourcePawn": "#f69e1d",
|
|
||||||
"SPARQL": "#0C4597",
|
|
||||||
"SQF": "#3F3F3F",
|
|
||||||
"SQL": "#e38c00",
|
|
||||||
"SQLPL": "#e38c00",
|
|
||||||
"Squirrel": "#800000",
|
|
||||||
"SRecode Template": "#348a34",
|
|
||||||
"Stan": "#b2011d",
|
|
||||||
"Standard ML": "#dc566d",
|
|
||||||
"Starlark": "#76d275",
|
|
||||||
"Stata": "#1a5f91",
|
|
||||||
"StringTemplate": "#3fb34f",
|
|
||||||
"Stylus": "#ff6347",
|
|
||||||
"SubRip Text": "#9e0101",
|
|
||||||
"SugarSS": "#2fcc9f",
|
|
||||||
"SuperCollider": "#46390b",
|
|
||||||
"Svelte": "#ff3e00",
|
|
||||||
"SVG": "#ff9900",
|
|
||||||
"Swift": "#F05138",
|
|
||||||
"SWIG": null,
|
|
||||||
"SystemVerilog": "#DAE1C2",
|
|
||||||
"Tcl": "#e4cc98",
|
|
||||||
"Tcsh": null,
|
|
||||||
"Terra": "#00004c",
|
|
||||||
"TeX": "#3D6117",
|
|
||||||
"Textile": "#ffe7ac",
|
|
||||||
"TextMate Properties": "#df66e4",
|
|
||||||
"Thrift": "#D12127",
|
|
||||||
"TI Program": "#A0AA87",
|
|
||||||
"TLA": "#4b0079",
|
|
||||||
"TOML": "#9c4221",
|
|
||||||
"TSQL": "#e38c00",
|
|
||||||
"TSV": "#237346",
|
|
||||||
"TSX": "#2b7489",
|
|
||||||
"Turing": "#cf142b",
|
|
||||||
"Twig": "#c1d026",
|
|
||||||
"TXL": "#0178b8",
|
|
||||||
"TypeScript": "#2b7489",
|
|
||||||
"Unified Parallel C": "#4e3617",
|
|
||||||
"Unity3D Asset": "#222c37",
|
|
||||||
"Unix Assembly": null,
|
|
||||||
"Uno": "#9933cc",
|
|
||||||
"UnrealScript": "#a54c4d",
|
|
||||||
"UrWeb": "#ccccee",
|
|
||||||
"V": "#4f87c4",
|
|
||||||
"Vala": "#fbe5cd",
|
|
||||||
"Valve Data Format": "#f26025",
|
|
||||||
"VBA": "#867db1",
|
|
||||||
"VBScript": "#15dcdc",
|
|
||||||
"VCL": "#148AA8",
|
|
||||||
"Verilog": "#b2b7f8",
|
|
||||||
"VHDL": "#adb2cb",
|
|
||||||
"Vim Help File": "#199f4b",
|
|
||||||
"Vim Script": "#199f4b",
|
|
||||||
"Vim Snippet": "#199f4b",
|
|
||||||
"Visual Basic .NET": "#945db7",
|
|
||||||
"Volt": "#1F1F1F",
|
|
||||||
"Vue": "#41b883",
|
|
||||||
"wdl": "#42f1f4",
|
|
||||||
"Web Ontology Language": "#5b70bd",
|
|
||||||
"WebAssembly": "#04133b",
|
|
||||||
"WebIDL": null,
|
|
||||||
"Wikitext": "#fc5757",
|
|
||||||
"Windows Registry Entries": "#52d5ff",
|
|
||||||
"wisp": "#7582D1",
|
|
||||||
"Wollok": "#a23738",
|
|
||||||
"World of Warcraft Addon Data": "#f7e43f",
|
|
||||||
"X10": "#4B6BEF",
|
|
||||||
"xBase": "#403a40",
|
|
||||||
"XC": "#99DA07",
|
|
||||||
"XML": "#0060ac",
|
|
||||||
"XML Property List": "#0060ac",
|
|
||||||
"Xojo": "#81bd41",
|
|
||||||
"Xonsh": "#285EEF",
|
|
||||||
"XProc": null,
|
|
||||||
"XQuery": "#5232e7",
|
|
||||||
"XS": null,
|
|
||||||
"XSLT": "#EB8CEB",
|
|
||||||
"Xtend": "#24255d",
|
|
||||||
"Yacc": "#4B6C4B",
|
|
||||||
"YAML": "#cb171e",
|
|
||||||
"YARA": "#220000",
|
|
||||||
"YASnippet": "#32AB90",
|
|
||||||
"ZAP": "#0d665e",
|
|
||||||
"Zeek": null,
|
|
||||||
"ZenScript": "#00BCD1",
|
|
||||||
"Zephir": "#118f9e",
|
|
||||||
"Zig": "#ec915c",
|
|
||||||
"ZIL": "#dc75e5",
|
|
||||||
"Zimpl": "#d67711"
|
|
||||||
}
|
|
||||||
@@ -1,533 +0,0 @@
|
|||||||
{
|
|
||||||
"1C Enterprise": "#814CCC",
|
|
||||||
"4D": "#004289",
|
|
||||||
"ABAP": "#E8274B",
|
|
||||||
"ABAP CDS": "#555e25",
|
|
||||||
"ActionScript": "#882B0F",
|
|
||||||
"Ada": "#02f88c",
|
|
||||||
"Adobe Font Metrics": "#fa0f00",
|
|
||||||
"Agda": "#315665",
|
|
||||||
"AGS Script": "#B9D9FF",
|
|
||||||
"AIDL": "#34EB6B",
|
|
||||||
"AL": "#3AA2B5",
|
|
||||||
"Alloy": "#64C800",
|
|
||||||
"Alpine Abuild": "#0D597F",
|
|
||||||
"Altium Designer": "#A89663",
|
|
||||||
"AMPL": "#E6EFBB",
|
|
||||||
"AngelScript": "#C7D7DC",
|
|
||||||
"Ant Build System": "#A9157E",
|
|
||||||
"ANTLR": "#9DC3FF",
|
|
||||||
"ApacheConf": "#d12127",
|
|
||||||
"Apex": "#1797c0",
|
|
||||||
"API Blueprint": "#2ACCA8",
|
|
||||||
"APL": "#5A8164",
|
|
||||||
"Apollo Guidance Computer": "#0B3D91",
|
|
||||||
"AppleScript": "#101F1F",
|
|
||||||
"Arc": "#aa2afe",
|
|
||||||
"AsciiDoc": "#73a0c5",
|
|
||||||
"ASL": null,
|
|
||||||
"ASP.NET": "#9400ff",
|
|
||||||
"AspectJ": "#a957b0",
|
|
||||||
"Assembly": "#6E4C13",
|
|
||||||
"Astro": "#ff5a03",
|
|
||||||
"Asymptote": "#ff0000",
|
|
||||||
"ATS": "#1ac620",
|
|
||||||
"Augeas": "#9CC134",
|
|
||||||
"AutoHotkey": "#6594b9",
|
|
||||||
"AutoIt": "#1C3552",
|
|
||||||
"Avro IDL": "#0040FF",
|
|
||||||
"Awk": "#c30e9b",
|
|
||||||
"Ballerina": "#FF5000",
|
|
||||||
"BASIC": "#ff0000",
|
|
||||||
"Batchfile": "#C1F12E",
|
|
||||||
"Beef": "#a52f4e",
|
|
||||||
"Befunge": null,
|
|
||||||
"BibTeX": "#778899",
|
|
||||||
"Bicep": "#519aba",
|
|
||||||
"Bison": "#6A463F",
|
|
||||||
"BitBake": "#00bce4",
|
|
||||||
"Blade": "#f7523f",
|
|
||||||
"BlitzBasic": "#00FFAE",
|
|
||||||
"BlitzMax": "#cd6400",
|
|
||||||
"Bluespec": "#12223c",
|
|
||||||
"Boo": "#d4bec1",
|
|
||||||
"Boogie": "#c80fa0",
|
|
||||||
"Brainfuck": "#2F2530",
|
|
||||||
"Brightscript": "#662D91",
|
|
||||||
"Browserslist": "#ffd539",
|
|
||||||
"C": "#555555",
|
|
||||||
"C#": "#178600",
|
|
||||||
"C++": "#f34b7d",
|
|
||||||
"C2hs Haskell": null,
|
|
||||||
"Cabal Config": "#483465",
|
|
||||||
"Cap'n Proto": "#c42727",
|
|
||||||
"CartoCSS": null,
|
|
||||||
"Ceylon": "#dfa535",
|
|
||||||
"Chapel": "#8dc63f",
|
|
||||||
"Charity": null,
|
|
||||||
"ChucK": "#3f8000",
|
|
||||||
"Cirru": "#ccccff",
|
|
||||||
"Clarion": "#db901e",
|
|
||||||
"Classic ASP": "#6a40fd",
|
|
||||||
"Clean": "#3F85AF",
|
|
||||||
"Click": "#E4E6F3",
|
|
||||||
"CLIPS": "#00A300",
|
|
||||||
"Clojure": "#db5855",
|
|
||||||
"Closure Templates": "#0d948f",
|
|
||||||
"Cloud Firestore Security Rules": "#FFA000",
|
|
||||||
"CMake": "#DA3434",
|
|
||||||
"COBOL": null,
|
|
||||||
"CodeQL": "#140f46",
|
|
||||||
"CoffeeScript": "#244776",
|
|
||||||
"ColdFusion": "#ed2cd6",
|
|
||||||
"ColdFusion CFC": "#ed2cd6",
|
|
||||||
"COLLADA": "#F1A42B",
|
|
||||||
"Common Lisp": "#3fb68b",
|
|
||||||
"Common Workflow Language": "#B5314C",
|
|
||||||
"Component Pascal": "#B0CE4E",
|
|
||||||
"Cool": null,
|
|
||||||
"Coq": "#d0b68c",
|
|
||||||
"Crystal": "#000100",
|
|
||||||
"CSON": "#244776",
|
|
||||||
"Csound": "#1a1a1a",
|
|
||||||
"Csound Document": "#1a1a1a",
|
|
||||||
"Csound Score": "#1a1a1a",
|
|
||||||
"CSS": "#563d7c",
|
|
||||||
"CSV": "#237346",
|
|
||||||
"Cuda": "#3A4E3A",
|
|
||||||
"CUE": "#5886E1",
|
|
||||||
"CWeb": "#00007a",
|
|
||||||
"Cycript": null,
|
|
||||||
"Cython": "#fedf5b",
|
|
||||||
"D": "#ba595e",
|
|
||||||
"Dafny": "#FFEC25",
|
|
||||||
"Darcs Patch": "#8eff23",
|
|
||||||
"Dart": "#00B4AB",
|
|
||||||
"DataWeave": "#003a52",
|
|
||||||
"Dhall": "#dfafff",
|
|
||||||
"DIGITAL Command Language": null,
|
|
||||||
"DirectX 3D File": "#aace60",
|
|
||||||
"DM": "#447265",
|
|
||||||
"Dockerfile": "#384d54",
|
|
||||||
"Dogescript": "#cca760",
|
|
||||||
"DTrace": null,
|
|
||||||
"Dylan": "#6c616e",
|
|
||||||
"E": "#ccce35",
|
|
||||||
"Easybuild": "#069406",
|
|
||||||
"eC": "#913960",
|
|
||||||
"Ecere Projects": "#913960",
|
|
||||||
"ECL": "#8a1267",
|
|
||||||
"ECLiPSe": "#001d9d",
|
|
||||||
"EditorConfig": "#fff1f2",
|
|
||||||
"Eiffel": "#4d6977",
|
|
||||||
"EJS": "#a91e50",
|
|
||||||
"Elixir": "#6e4a7e",
|
|
||||||
"Elm": "#60B5CC",
|
|
||||||
"Emacs Lisp": "#c065db",
|
|
||||||
"EmberScript": "#FFF4F3",
|
|
||||||
"EQ": "#a78649",
|
|
||||||
"Erlang": "#B83998",
|
|
||||||
"F#": "#b845fc",
|
|
||||||
"F*": "#572e30",
|
|
||||||
"Factor": "#636746",
|
|
||||||
"Fancy": "#7b9db4",
|
|
||||||
"Fantom": "#14253c",
|
|
||||||
"Faust": "#c37240",
|
|
||||||
"Fennel": "#fff3d7",
|
|
||||||
"FIGlet Font": "#FFDDBB",
|
|
||||||
"Filebench WML": "#F6B900",
|
|
||||||
"Filterscript": null,
|
|
||||||
"fish": "#4aae47",
|
|
||||||
"Fluent": "#ffcc33",
|
|
||||||
"FLUX": "#88ccff",
|
|
||||||
"Forth": "#341708",
|
|
||||||
"Fortran": "#4d41b1",
|
|
||||||
"Fortran Free Form": "#4d41b1",
|
|
||||||
"FreeBasic": "#867db1",
|
|
||||||
"FreeMarker": "#0050b2",
|
|
||||||
"Frege": "#00cafe",
|
|
||||||
"Futhark": "#5f021f",
|
|
||||||
"G-code": "#D08CF2",
|
|
||||||
"Game Maker Language": "#71b417",
|
|
||||||
"GAML": "#FFC766",
|
|
||||||
"GAMS": "#f49a22",
|
|
||||||
"GAP": "#0000cc",
|
|
||||||
"GCC Machine Description": "#FFCFAB",
|
|
||||||
"GDB": null,
|
|
||||||
"GDScript": "#355570",
|
|
||||||
"GEDCOM": "#003058",
|
|
||||||
"Gemfile.lock": "#701516",
|
|
||||||
"Genie": "#fb855d",
|
|
||||||
"Genshi": "#951531",
|
|
||||||
"Gentoo Ebuild": "#9400ff",
|
|
||||||
"Gentoo Eclass": "#9400ff",
|
|
||||||
"Gerber Image": "#d20b00",
|
|
||||||
"Gherkin": "#5B2063",
|
|
||||||
"Git Attributes": "#F44D27",
|
|
||||||
"Git Config": "#F44D27",
|
|
||||||
"GLSL": "#5686a5",
|
|
||||||
"Glyph": "#c1ac7f",
|
|
||||||
"Gnuplot": "#f0a9f0",
|
|
||||||
"Go": "#00ADD8",
|
|
||||||
"Go Checksums": "#00ADD8",
|
|
||||||
"Go Module": "#00ADD8",
|
|
||||||
"Golo": "#88562A",
|
|
||||||
"Gosu": "#82937f",
|
|
||||||
"Grace": "#615f8b",
|
|
||||||
"Gradle": "#02303a",
|
|
||||||
"Grammatical Framework": "#ff0000",
|
|
||||||
"GraphQL": "#e10098",
|
|
||||||
"Graphviz (DOT)": "#2596be",
|
|
||||||
"Groovy": "#4298b8",
|
|
||||||
"Groovy Server Pages": "#4298b8",
|
|
||||||
"Hack": "#878787",
|
|
||||||
"Haml": "#ece2a9",
|
|
||||||
"Handlebars": "#f7931e",
|
|
||||||
"HAProxy": "#106da9",
|
|
||||||
"Harbour": "#0e60e3",
|
|
||||||
"Haskell": "#5e5086",
|
|
||||||
"Haxe": "#df7900",
|
|
||||||
"HCL": null,
|
|
||||||
"HiveQL": "#dce200",
|
|
||||||
"HLSL": "#aace60",
|
|
||||||
"HolyC": "#ffefaf",
|
|
||||||
"HTML": "#e34c26",
|
|
||||||
"HTML+ECR": "#2e1052",
|
|
||||||
"HTML+EEX": "#6e4a7e",
|
|
||||||
"HTML+ERB": "#701516",
|
|
||||||
"HTML+PHP": "#4f5d95",
|
|
||||||
"HTML+Razor": "#512be4",
|
|
||||||
"HTTP": "#005C9C",
|
|
||||||
"HXML": "#f68712",
|
|
||||||
"Hy": "#7790B2",
|
|
||||||
"HyPhy": null,
|
|
||||||
"IDL": "#a3522f",
|
|
||||||
"Idris": "#b30000",
|
|
||||||
"Ignore List": "#000000",
|
|
||||||
"IGOR Pro": "#0000cc",
|
|
||||||
"ImageJ Macro": "#99AAFF",
|
|
||||||
"Inform 7": null,
|
|
||||||
"INI": "#d1dbe0",
|
|
||||||
"Inno Setup": "#264b99",
|
|
||||||
"Io": "#a9188d",
|
|
||||||
"Ioke": "#078193",
|
|
||||||
"Isabelle": "#FEFE00",
|
|
||||||
"Isabelle ROOT": "#FEFE00",
|
|
||||||
"J": "#9EEDFF",
|
|
||||||
"JAR Manifest": "#b07219",
|
|
||||||
"Jasmin": "#d03600",
|
|
||||||
"Java": "#b07219",
|
|
||||||
"Java Properties": "#2A6277",
|
|
||||||
"Java Server Pages": "#2A6277",
|
|
||||||
"JavaScript": "#f1e05a",
|
|
||||||
"JavaScript+ERB": "#f1e05a",
|
|
||||||
"Jest Snapshot": "#15c213",
|
|
||||||
"JFlex": "#DBCA00",
|
|
||||||
"Jinja": "#a52a22",
|
|
||||||
"Jison": "#56b3cb",
|
|
||||||
"Jison Lex": "#56b3cb",
|
|
||||||
"Jolie": "#843179",
|
|
||||||
"jq": "#c7254e",
|
|
||||||
"JSON": "#292929",
|
|
||||||
"JSON with Comments": "#292929",
|
|
||||||
"JSON5": "#267CB9",
|
|
||||||
"JSONiq": "#40d47e",
|
|
||||||
"JSONLD": "#0c479c",
|
|
||||||
"Jsonnet": "#0064bd",
|
|
||||||
"Julia": "#a270ba",
|
|
||||||
"Jupyter Notebook": "#DA5B0B",
|
|
||||||
"Kaitai Struct": "#773b37",
|
|
||||||
"KakouneScript": "#6f8042",
|
|
||||||
"KiCad Layout": "#2f4aab",
|
|
||||||
"KiCad Legacy Layout": "#2f4aab",
|
|
||||||
"KiCad Schematic": "#2f4aab",
|
|
||||||
"Kotlin": "#A97BFF",
|
|
||||||
"KRL": "#28430A",
|
|
||||||
"LabVIEW": "#fede06",
|
|
||||||
"Lark": "#2980B9",
|
|
||||||
"Lasso": "#999999",
|
|
||||||
"Latte": "#f2a542",
|
|
||||||
"Lean": null,
|
|
||||||
"Less": "#1d365d",
|
|
||||||
"Lex": "#DBCA00",
|
|
||||||
"LFE": "#4C3023",
|
|
||||||
"LilyPond": "#9ccc7c",
|
|
||||||
"Limbo": null,
|
|
||||||
"Liquid": "#67b8de",
|
|
||||||
"Literate Agda": "#315665",
|
|
||||||
"Literate CoffeeScript": "#244776",
|
|
||||||
"Literate Haskell": "#5e5086",
|
|
||||||
"LiveScript": "#499886",
|
|
||||||
"LLVM": "#185619",
|
|
||||||
"Logos": null,
|
|
||||||
"Logtalk": "#295b9a",
|
|
||||||
"LOLCODE": "#cc9900",
|
|
||||||
"LookML": "#652B81",
|
|
||||||
"LoomScript": null,
|
|
||||||
"LSL": "#3d9970",
|
|
||||||
"Lua": "#000080",
|
|
||||||
"M": null,
|
|
||||||
"M4": null,
|
|
||||||
"M4Sugar": null,
|
|
||||||
"Macaulay2": "#d8ffff",
|
|
||||||
"Makefile": "#427819",
|
|
||||||
"Mako": "#7e858d",
|
|
||||||
"Markdown": "#083fa1",
|
|
||||||
"Marko": "#42bff2",
|
|
||||||
"Mask": "#f97732",
|
|
||||||
"Mathematica": "#dd1100",
|
|
||||||
"MATLAB": "#e16737",
|
|
||||||
"Max": "#c4a79c",
|
|
||||||
"MAXScript": "#00a6a6",
|
|
||||||
"mcfunction": "#E22837",
|
|
||||||
"Mercury": "#ff2b2b",
|
|
||||||
"Meson": "#007800",
|
|
||||||
"Metal": "#8f14e9",
|
|
||||||
"MiniD": null,
|
|
||||||
"Mirah": "#c7a938",
|
|
||||||
"mIRC Script": "#3d57c3",
|
|
||||||
"MLIR": "#5EC8DB",
|
|
||||||
"Modelica": "#de1d31",
|
|
||||||
"Modula-2": "#10253f",
|
|
||||||
"Modula-3": "#223388",
|
|
||||||
"Module Management System": null,
|
|
||||||
"Monkey": null,
|
|
||||||
"Moocode": null,
|
|
||||||
"MoonScript": "#ff4585",
|
|
||||||
"Motorola 68K Assembly": "#005daa",
|
|
||||||
"MQL4": "#62A8D6",
|
|
||||||
"MQL5": "#4A76B8",
|
|
||||||
"MTML": "#b7e1f4",
|
|
||||||
"MUF": null,
|
|
||||||
"mupad": "#244963",
|
|
||||||
"Mustache": "#724b3b",
|
|
||||||
"Myghty": null,
|
|
||||||
"nanorc": "#2d004d",
|
|
||||||
"NASL": null,
|
|
||||||
"NCL": "#28431f",
|
|
||||||
"Nearley": "#990000",
|
|
||||||
"Nemerle": "#3d3c6e",
|
|
||||||
"nesC": "#94B0C7",
|
|
||||||
"NetLinx": "#0aa0ff",
|
|
||||||
"NetLinx+ERB": "#747faa",
|
|
||||||
"NetLogo": "#ff6375",
|
|
||||||
"NewLisp": "#87AED7",
|
|
||||||
"Nextflow": "#3ac486",
|
|
||||||
"Nginx": "#009639",
|
|
||||||
"Nim": "#ffc200",
|
|
||||||
"Nit": "#009917",
|
|
||||||
"Nix": "#7e7eff",
|
|
||||||
"NPM Config": "#cb3837",
|
|
||||||
"NSIS": null,
|
|
||||||
"Nu": "#c9df40",
|
|
||||||
"NumPy": "#9C8AF9",
|
|
||||||
"Nunjucks": "#3d8137",
|
|
||||||
"NWScript": "#111522",
|
|
||||||
"Objective-C": "#438eff",
|
|
||||||
"Objective-C++": "#6866fb",
|
|
||||||
"Objective-J": "#ff0c5a",
|
|
||||||
"ObjectScript": "#424893",
|
|
||||||
"OCaml": "#3be133",
|
|
||||||
"Odin": "#60AFFE",
|
|
||||||
"Omgrofl": "#cabbff",
|
|
||||||
"ooc": "#b0b77e",
|
|
||||||
"Opa": null,
|
|
||||||
"Opal": "#f7ede0",
|
|
||||||
"Open Policy Agent": "#7d9199",
|
|
||||||
"OpenCL": "#ed2e2d",
|
|
||||||
"OpenEdge ABL": "#5ce600",
|
|
||||||
"OpenQASM": "#AA70FF",
|
|
||||||
"OpenRC runscript": null,
|
|
||||||
"OpenSCAD": "#e5cd45",
|
|
||||||
"Org": "#77aa99",
|
|
||||||
"Ox": null,
|
|
||||||
"Oxygene": "#cdd0e3",
|
|
||||||
"Oz": "#fab738",
|
|
||||||
"P4": "#7055b5",
|
|
||||||
"Pan": "#cc0000",
|
|
||||||
"Papyrus": "#6600cc",
|
|
||||||
"Parrot": "#f3ca0a",
|
|
||||||
"Parrot Assembly": null,
|
|
||||||
"Parrot Internal Representation": null,
|
|
||||||
"Pascal": "#E3F171",
|
|
||||||
"Pawn": "#dbb284",
|
|
||||||
"PEG.js": "#234d6b",
|
|
||||||
"Pep8": "#C76F5B",
|
|
||||||
"Perl": "#0298c3",
|
|
||||||
"PHP": "#4F5D95",
|
|
||||||
"PicoLisp": "#6067af",
|
|
||||||
"PigLatin": "#fcd7de",
|
|
||||||
"Pike": "#005390",
|
|
||||||
"PLpgSQL": "#336790",
|
|
||||||
"PLSQL": "#dad8d8",
|
|
||||||
"PogoScript": "#d80074",
|
|
||||||
"Pony": null,
|
|
||||||
"PostCSS": "#dc3a0c",
|
|
||||||
"PostScript": "#da291c",
|
|
||||||
"POV-Ray SDL": "#6bac65",
|
|
||||||
"PowerBuilder": "#8f0f8d",
|
|
||||||
"PowerShell": "#012456",
|
|
||||||
"Prisma": "#0c344b",
|
|
||||||
"Processing": "#0096D8",
|
|
||||||
"Prolog": "#74283c",
|
|
||||||
"Propeller Spin": "#7fa2a7",
|
|
||||||
"Pug": "#a86454",
|
|
||||||
"Puppet": "#302B6D",
|
|
||||||
"PureBasic": "#5a6986",
|
|
||||||
"PureScript": "#1D222D",
|
|
||||||
"Python": "#3572A5",
|
|
||||||
"Python console": "#3572A5",
|
|
||||||
"Python traceback": "#3572A5",
|
|
||||||
"q": "#0040cd",
|
|
||||||
"Q#": "#fed659",
|
|
||||||
"QMake": null,
|
|
||||||
"QML": "#44a51c",
|
|
||||||
"Qt Script": "#00b841",
|
|
||||||
"Quake": "#882233",
|
|
||||||
"R": "#198CE7",
|
|
||||||
"Racket": "#3c5caa",
|
|
||||||
"Ragel": "#9d5200",
|
|
||||||
"Raku": "#0000fb",
|
|
||||||
"RAML": "#77d9fb",
|
|
||||||
"Rascal": "#fffaa0",
|
|
||||||
"RDoc": "#701516",
|
|
||||||
"REALbasic": null,
|
|
||||||
"Reason": "#ff5847",
|
|
||||||
"Rebol": "#358a5b",
|
|
||||||
"Record Jar": "#0673ba",
|
|
||||||
"Red": "#f50000",
|
|
||||||
"Redcode": null,
|
|
||||||
"Regular Expression": "#009a00",
|
|
||||||
"Ren'Py": "#ff7f7f",
|
|
||||||
"RenderScript": null,
|
|
||||||
"ReScript": "#ed5051",
|
|
||||||
"reStructuredText": "#141414",
|
|
||||||
"REXX": "#d90e09",
|
|
||||||
"Ring": "#2D54CB",
|
|
||||||
"Riot": "#A71E49",
|
|
||||||
"RMarkdown": "#198ce7",
|
|
||||||
"RobotFramework": "#00c0b5",
|
|
||||||
"Roff": "#ecdebe",
|
|
||||||
"Roff Manpage": "#ecdebe",
|
|
||||||
"Rouge": "#cc0088",
|
|
||||||
"RPC": null,
|
|
||||||
"Ruby": "#701516",
|
|
||||||
"RUNOFF": "#665a4e",
|
|
||||||
"Rust": "#dea584",
|
|
||||||
"Sage": null,
|
|
||||||
"SaltStack": "#646464",
|
|
||||||
"SAS": "#B34936",
|
|
||||||
"Sass": "#a53b70",
|
|
||||||
"Scala": "#c22d40",
|
|
||||||
"Scaml": "#bd181a",
|
|
||||||
"Scheme": "#1e4aec",
|
|
||||||
"Scilab": "#ca0f21",
|
|
||||||
"SCSS": "#c6538c",
|
|
||||||
"sed": "#64b970",
|
|
||||||
"Self": "#0579aa",
|
|
||||||
"ShaderLab": "#222c37",
|
|
||||||
"Shell": "#89e051",
|
|
||||||
"ShellSession": null,
|
|
||||||
"Shen": "#120F14",
|
|
||||||
"Sieve": null,
|
|
||||||
"Singularity": "#64E6AD",
|
|
||||||
"Slash": "#007eff",
|
|
||||||
"Slice": "#003fa2",
|
|
||||||
"Slim": "#2b2b2b",
|
|
||||||
"Smali": null,
|
|
||||||
"Smalltalk": "#596706",
|
|
||||||
"Smarty": "#f0c040",
|
|
||||||
"SmPL": "#c94949",
|
|
||||||
"SMT": null,
|
|
||||||
"Solidity": "#AA6746",
|
|
||||||
"SourcePawn": "#f69e1d",
|
|
||||||
"SPARQL": "#0C4597",
|
|
||||||
"SQF": "#3F3F3F",
|
|
||||||
"SQL": "#e38c00",
|
|
||||||
"SQLPL": "#e38c00",
|
|
||||||
"Squirrel": "#800000",
|
|
||||||
"SRecode Template": "#348a34",
|
|
||||||
"Stan": "#b2011d",
|
|
||||||
"Standard ML": "#dc566d",
|
|
||||||
"Starlark": "#76d275",
|
|
||||||
"Stata": "#1a5f91",
|
|
||||||
"StringTemplate": "#3fb34f",
|
|
||||||
"Stylus": "#ff6347",
|
|
||||||
"SubRip Text": "#9e0101",
|
|
||||||
"SugarSS": "#2fcc9f",
|
|
||||||
"SuperCollider": "#46390b",
|
|
||||||
"Svelte": "#ff3e00",
|
|
||||||
"SVG": "#ff9900",
|
|
||||||
"Swift": "#F05138",
|
|
||||||
"SWIG": null,
|
|
||||||
"SystemVerilog": "#DAE1C2",
|
|
||||||
"Tcl": "#e4cc98",
|
|
||||||
"Tcsh": null,
|
|
||||||
"Terra": "#00004c",
|
|
||||||
"TeX": "#3D6117",
|
|
||||||
"Textile": "#ffe7ac",
|
|
||||||
"TextMate Properties": "#df66e4",
|
|
||||||
"Thrift": "#D12127",
|
|
||||||
"TI Program": "#A0AA87",
|
|
||||||
"TLA": "#4b0079",
|
|
||||||
"TOML": "#9c4221",
|
|
||||||
"TSQL": "#e38c00",
|
|
||||||
"TSV": "#237346",
|
|
||||||
"TSX": "#2b7489",
|
|
||||||
"Turing": "#cf142b",
|
|
||||||
"Twig": "#c1d026",
|
|
||||||
"TXL": "#0178b8",
|
|
||||||
"TypeScript": "#2b7489",
|
|
||||||
"Unified Parallel C": "#4e3617",
|
|
||||||
"Unity3D Asset": "#222c37",
|
|
||||||
"Unix Assembly": null,
|
|
||||||
"Uno": "#9933cc",
|
|
||||||
"UnrealScript": "#a54c4d",
|
|
||||||
"UrWeb": "#ccccee",
|
|
||||||
"V": "#4f87c4",
|
|
||||||
"Vala": "#fbe5cd",
|
|
||||||
"Valve Data Format": "#f26025",
|
|
||||||
"VBA": "#867db1",
|
|
||||||
"VBScript": "#15dcdc",
|
|
||||||
"VCL": "#148AA8",
|
|
||||||
"Verilog": "#b2b7f8",
|
|
||||||
"VHDL": "#adb2cb",
|
|
||||||
"Vim Help File": "#199f4b",
|
|
||||||
"Vim Script": "#199f4b",
|
|
||||||
"Vim Snippet": "#199f4b",
|
|
||||||
"Visual Basic .NET": "#945db7",
|
|
||||||
"Volt": "#1F1F1F",
|
|
||||||
"Vue": "#41b883",
|
|
||||||
"wdl": "#42f1f4",
|
|
||||||
"Web Ontology Language": "#5b70bd",
|
|
||||||
"WebAssembly": "#04133b",
|
|
||||||
"WebIDL": null,
|
|
||||||
"Wikitext": "#fc5757",
|
|
||||||
"Windows Registry Entries": "#52d5ff",
|
|
||||||
"wisp": "#7582D1",
|
|
||||||
"Wollok": "#a23738",
|
|
||||||
"World of Warcraft Addon Data": "#f7e43f",
|
|
||||||
"X10": "#4B6BEF",
|
|
||||||
"xBase": "#403a40",
|
|
||||||
"XC": "#99DA07",
|
|
||||||
"XML": "#0060ac",
|
|
||||||
"XML Property List": "#0060ac",
|
|
||||||
"Xojo": "#81bd41",
|
|
||||||
"Xonsh": "#285EEF",
|
|
||||||
"XProc": null,
|
|
||||||
"XQuery": "#5232e7",
|
|
||||||
"XS": null,
|
|
||||||
"XSLT": "#EB8CEB",
|
|
||||||
"Xtend": "#24255d",
|
|
||||||
"Yacc": "#4B6C4B",
|
|
||||||
"YAML": "#cb171e",
|
|
||||||
"YARA": "#220000",
|
|
||||||
"YASnippet": "#32AB90",
|
|
||||||
"ZAP": "#0d665e",
|
|
||||||
"Zeek": null,
|
|
||||||
"ZenScript": "#00BCD1",
|
|
||||||
"Zephir": "#118f9e",
|
|
||||||
"Zig": "#ec915c",
|
|
||||||
"ZIL": "#dc75e5",
|
|
||||||
"Zimpl": "#d67711"
|
|
||||||
}
|
|
||||||
@@ -1,533 +0,0 @@
|
|||||||
{
|
|
||||||
"1C Enterprise": "#814CCC",
|
|
||||||
"4D": "#004289",
|
|
||||||
"ABAP": "#E8274B",
|
|
||||||
"ABAP CDS": "#555e25",
|
|
||||||
"ActionScript": "#882B0F",
|
|
||||||
"Ada": "#02f88c",
|
|
||||||
"Adobe Font Metrics": "#fa0f00",
|
|
||||||
"Agda": "#315665",
|
|
||||||
"AGS Script": "#B9D9FF",
|
|
||||||
"AIDL": "#34EB6B",
|
|
||||||
"AL": "#3AA2B5",
|
|
||||||
"Alloy": "#64C800",
|
|
||||||
"Alpine Abuild": "#0D597F",
|
|
||||||
"Altium Designer": "#A89663",
|
|
||||||
"AMPL": "#E6EFBB",
|
|
||||||
"AngelScript": "#C7D7DC",
|
|
||||||
"Ant Build System": "#A9157E",
|
|
||||||
"ANTLR": "#9DC3FF",
|
|
||||||
"ApacheConf": "#d12127",
|
|
||||||
"Apex": "#1797c0",
|
|
||||||
"API Blueprint": "#2ACCA8",
|
|
||||||
"APL": "#5A8164",
|
|
||||||
"Apollo Guidance Computer": "#0B3D91",
|
|
||||||
"AppleScript": "#101F1F",
|
|
||||||
"Arc": "#aa2afe",
|
|
||||||
"AsciiDoc": "#73a0c5",
|
|
||||||
"ASL": null,
|
|
||||||
"ASP.NET": "#9400ff",
|
|
||||||
"AspectJ": "#a957b0",
|
|
||||||
"Assembly": "#6E4C13",
|
|
||||||
"Astro": "#ff5a03",
|
|
||||||
"Asymptote": "#ff0000",
|
|
||||||
"ATS": "#1ac620",
|
|
||||||
"Augeas": "#9CC134",
|
|
||||||
"AutoHotkey": "#6594b9",
|
|
||||||
"AutoIt": "#1C3552",
|
|
||||||
"Avro IDL": "#0040FF",
|
|
||||||
"Awk": "#c30e9b",
|
|
||||||
"Ballerina": "#FF5000",
|
|
||||||
"BASIC": "#ff0000",
|
|
||||||
"Batchfile": "#C1F12E",
|
|
||||||
"Beef": "#a52f4e",
|
|
||||||
"Befunge": null,
|
|
||||||
"BibTeX": "#778899",
|
|
||||||
"Bicep": "#519aba",
|
|
||||||
"Bison": "#6A463F",
|
|
||||||
"BitBake": "#00bce4",
|
|
||||||
"Blade": "#f7523f",
|
|
||||||
"BlitzBasic": "#00FFAE",
|
|
||||||
"BlitzMax": "#cd6400",
|
|
||||||
"Bluespec": "#12223c",
|
|
||||||
"Boo": "#d4bec1",
|
|
||||||
"Boogie": "#c80fa0",
|
|
||||||
"Brainfuck": "#2F2530",
|
|
||||||
"Brightscript": "#662D91",
|
|
||||||
"Browserslist": "#ffd539",
|
|
||||||
"C": "#555555",
|
|
||||||
"C#": "#178600",
|
|
||||||
"C++": "#f34b7d",
|
|
||||||
"C2hs Haskell": null,
|
|
||||||
"Cabal Config": "#483465",
|
|
||||||
"Cap'n Proto": "#c42727",
|
|
||||||
"CartoCSS": null,
|
|
||||||
"Ceylon": "#dfa535",
|
|
||||||
"Chapel": "#8dc63f",
|
|
||||||
"Charity": null,
|
|
||||||
"ChucK": "#3f8000",
|
|
||||||
"Cirru": "#ccccff",
|
|
||||||
"Clarion": "#db901e",
|
|
||||||
"Classic ASP": "#6a40fd",
|
|
||||||
"Clean": "#3F85AF",
|
|
||||||
"Click": "#E4E6F3",
|
|
||||||
"CLIPS": "#00A300",
|
|
||||||
"Clojure": "#db5855",
|
|
||||||
"Closure Templates": "#0d948f",
|
|
||||||
"Cloud Firestore Security Rules": "#FFA000",
|
|
||||||
"CMake": "#DA3434",
|
|
||||||
"COBOL": null,
|
|
||||||
"CodeQL": "#140f46",
|
|
||||||
"CoffeeScript": "#244776",
|
|
||||||
"ColdFusion": "#ed2cd6",
|
|
||||||
"ColdFusion CFC": "#ed2cd6",
|
|
||||||
"COLLADA": "#F1A42B",
|
|
||||||
"Common Lisp": "#3fb68b",
|
|
||||||
"Common Workflow Language": "#B5314C",
|
|
||||||
"Component Pascal": "#B0CE4E",
|
|
||||||
"Cool": null,
|
|
||||||
"Coq": "#d0b68c",
|
|
||||||
"Crystal": "#000100",
|
|
||||||
"CSON": "#244776",
|
|
||||||
"Csound": "#1a1a1a",
|
|
||||||
"Csound Document": "#1a1a1a",
|
|
||||||
"Csound Score": "#1a1a1a",
|
|
||||||
"CSS": "#563d7c",
|
|
||||||
"CSV": "#237346",
|
|
||||||
"Cuda": "#3A4E3A",
|
|
||||||
"CUE": "#5886E1",
|
|
||||||
"CWeb": "#00007a",
|
|
||||||
"Cycript": null,
|
|
||||||
"Cython": "#fedf5b",
|
|
||||||
"D": "#ba595e",
|
|
||||||
"Dafny": "#FFEC25",
|
|
||||||
"Darcs Patch": "#8eff23",
|
|
||||||
"Dart": "#00B4AB",
|
|
||||||
"DataWeave": "#003a52",
|
|
||||||
"Dhall": "#dfafff",
|
|
||||||
"DIGITAL Command Language": null,
|
|
||||||
"DirectX 3D File": "#aace60",
|
|
||||||
"DM": "#447265",
|
|
||||||
"Dockerfile": "#384d54",
|
|
||||||
"Dogescript": "#cca760",
|
|
||||||
"DTrace": null,
|
|
||||||
"Dylan": "#6c616e",
|
|
||||||
"E": "#ccce35",
|
|
||||||
"Easybuild": "#069406",
|
|
||||||
"eC": "#913960",
|
|
||||||
"Ecere Projects": "#913960",
|
|
||||||
"ECL": "#8a1267",
|
|
||||||
"ECLiPSe": "#001d9d",
|
|
||||||
"EditorConfig": "#fff1f2",
|
|
||||||
"Eiffel": "#4d6977",
|
|
||||||
"EJS": "#a91e50",
|
|
||||||
"Elixir": "#6e4a7e",
|
|
||||||
"Elm": "#60B5CC",
|
|
||||||
"Emacs Lisp": "#c065db",
|
|
||||||
"EmberScript": "#FFF4F3",
|
|
||||||
"EQ": "#a78649",
|
|
||||||
"Erlang": "#B83998",
|
|
||||||
"F#": "#b845fc",
|
|
||||||
"F*": "#572e30",
|
|
||||||
"Factor": "#636746",
|
|
||||||
"Fancy": "#7b9db4",
|
|
||||||
"Fantom": "#14253c",
|
|
||||||
"Faust": "#c37240",
|
|
||||||
"Fennel": "#fff3d7",
|
|
||||||
"FIGlet Font": "#FFDDBB",
|
|
||||||
"Filebench WML": "#F6B900",
|
|
||||||
"Filterscript": null,
|
|
||||||
"fish": "#4aae47",
|
|
||||||
"Fluent": "#ffcc33",
|
|
||||||
"FLUX": "#88ccff",
|
|
||||||
"Forth": "#341708",
|
|
||||||
"Fortran": "#4d41b1",
|
|
||||||
"Fortran Free Form": "#4d41b1",
|
|
||||||
"FreeBasic": "#867db1",
|
|
||||||
"FreeMarker": "#0050b2",
|
|
||||||
"Frege": "#00cafe",
|
|
||||||
"Futhark": "#5f021f",
|
|
||||||
"G-code": "#D08CF2",
|
|
||||||
"Game Maker Language": "#71b417",
|
|
||||||
"GAML": "#FFC766",
|
|
||||||
"GAMS": "#f49a22",
|
|
||||||
"GAP": "#0000cc",
|
|
||||||
"GCC Machine Description": "#FFCFAB",
|
|
||||||
"GDB": null,
|
|
||||||
"GDScript": "#355570",
|
|
||||||
"GEDCOM": "#003058",
|
|
||||||
"Gemfile.lock": "#701516",
|
|
||||||
"Genie": "#fb855d",
|
|
||||||
"Genshi": "#951531",
|
|
||||||
"Gentoo Ebuild": "#9400ff",
|
|
||||||
"Gentoo Eclass": "#9400ff",
|
|
||||||
"Gerber Image": "#d20b00",
|
|
||||||
"Gherkin": "#5B2063",
|
|
||||||
"Git Attributes": "#F44D27",
|
|
||||||
"Git Config": "#F44D27",
|
|
||||||
"GLSL": "#5686a5",
|
|
||||||
"Glyph": "#c1ac7f",
|
|
||||||
"Gnuplot": "#f0a9f0",
|
|
||||||
"Go": "#00ADD8",
|
|
||||||
"Go Checksums": "#00ADD8",
|
|
||||||
"Go Module": "#00ADD8",
|
|
||||||
"Golo": "#88562A",
|
|
||||||
"Gosu": "#82937f",
|
|
||||||
"Grace": "#615f8b",
|
|
||||||
"Gradle": "#02303a",
|
|
||||||
"Grammatical Framework": "#ff0000",
|
|
||||||
"GraphQL": "#e10098",
|
|
||||||
"Graphviz (DOT)": "#2596be",
|
|
||||||
"Groovy": "#4298b8",
|
|
||||||
"Groovy Server Pages": "#4298b8",
|
|
||||||
"Hack": "#878787",
|
|
||||||
"Haml": "#ece2a9",
|
|
||||||
"Handlebars": "#f7931e",
|
|
||||||
"HAProxy": "#106da9",
|
|
||||||
"Harbour": "#0e60e3",
|
|
||||||
"Haskell": "#5e5086",
|
|
||||||
"Haxe": "#df7900",
|
|
||||||
"HCL": null,
|
|
||||||
"HiveQL": "#dce200",
|
|
||||||
"HLSL": "#aace60",
|
|
||||||
"HolyC": "#ffefaf",
|
|
||||||
"HTML": "#e34c26",
|
|
||||||
"HTML+ECR": "#2e1052",
|
|
||||||
"HTML+EEX": "#6e4a7e",
|
|
||||||
"HTML+ERB": "#701516",
|
|
||||||
"HTML+PHP": "#4f5d95",
|
|
||||||
"HTML+Razor": "#512be4",
|
|
||||||
"HTTP": "#005C9C",
|
|
||||||
"HXML": "#f68712",
|
|
||||||
"Hy": "#7790B2",
|
|
||||||
"HyPhy": null,
|
|
||||||
"IDL": "#a3522f",
|
|
||||||
"Idris": "#b30000",
|
|
||||||
"Ignore List": "#000000",
|
|
||||||
"IGOR Pro": "#0000cc",
|
|
||||||
"ImageJ Macro": "#99AAFF",
|
|
||||||
"Inform 7": null,
|
|
||||||
"INI": "#d1dbe0",
|
|
||||||
"Inno Setup": "#264b99",
|
|
||||||
"Io": "#a9188d",
|
|
||||||
"Ioke": "#078193",
|
|
||||||
"Isabelle": "#FEFE00",
|
|
||||||
"Isabelle ROOT": "#FEFE00",
|
|
||||||
"J": "#9EEDFF",
|
|
||||||
"JAR Manifest": "#b07219",
|
|
||||||
"Jasmin": "#d03600",
|
|
||||||
"Java": "#b07219",
|
|
||||||
"Java Properties": "#2A6277",
|
|
||||||
"Java Server Pages": "#2A6277",
|
|
||||||
"JavaScript": "#f1e05a",
|
|
||||||
"JavaScript+ERB": "#f1e05a",
|
|
||||||
"Jest Snapshot": "#15c213",
|
|
||||||
"JFlex": "#DBCA00",
|
|
||||||
"Jinja": "#a52a22",
|
|
||||||
"Jison": "#56b3cb",
|
|
||||||
"Jison Lex": "#56b3cb",
|
|
||||||
"Jolie": "#843179",
|
|
||||||
"jq": "#c7254e",
|
|
||||||
"JSON": "#292929",
|
|
||||||
"JSON with Comments": "#292929",
|
|
||||||
"JSON5": "#267CB9",
|
|
||||||
"JSONiq": "#40d47e",
|
|
||||||
"JSONLD": "#0c479c",
|
|
||||||
"Jsonnet": "#0064bd",
|
|
||||||
"Julia": "#a270ba",
|
|
||||||
"Jupyter Notebook": "#DA5B0B",
|
|
||||||
"Kaitai Struct": "#773b37",
|
|
||||||
"KakouneScript": "#6f8042",
|
|
||||||
"KiCad Layout": "#2f4aab",
|
|
||||||
"KiCad Legacy Layout": "#2f4aab",
|
|
||||||
"KiCad Schematic": "#2f4aab",
|
|
||||||
"Kotlin": "#A97BFF",
|
|
||||||
"KRL": "#28430A",
|
|
||||||
"LabVIEW": "#fede06",
|
|
||||||
"Lark": "#2980B9",
|
|
||||||
"Lasso": "#999999",
|
|
||||||
"Latte": "#f2a542",
|
|
||||||
"Lean": null,
|
|
||||||
"Less": "#1d365d",
|
|
||||||
"Lex": "#DBCA00",
|
|
||||||
"LFE": "#4C3023",
|
|
||||||
"LilyPond": "#9ccc7c",
|
|
||||||
"Limbo": null,
|
|
||||||
"Liquid": "#67b8de",
|
|
||||||
"Literate Agda": "#315665",
|
|
||||||
"Literate CoffeeScript": "#244776",
|
|
||||||
"Literate Haskell": "#5e5086",
|
|
||||||
"LiveScript": "#499886",
|
|
||||||
"LLVM": "#185619",
|
|
||||||
"Logos": null,
|
|
||||||
"Logtalk": "#295b9a",
|
|
||||||
"LOLCODE": "#cc9900",
|
|
||||||
"LookML": "#652B81",
|
|
||||||
"LoomScript": null,
|
|
||||||
"LSL": "#3d9970",
|
|
||||||
"Lua": "#000080",
|
|
||||||
"M": null,
|
|
||||||
"M4": null,
|
|
||||||
"M4Sugar": null,
|
|
||||||
"Macaulay2": "#d8ffff",
|
|
||||||
"Makefile": "#427819",
|
|
||||||
"Mako": "#7e858d",
|
|
||||||
"Markdown": "#083fa1",
|
|
||||||
"Marko": "#42bff2",
|
|
||||||
"Mask": "#f97732",
|
|
||||||
"Mathematica": "#dd1100",
|
|
||||||
"MATLAB": "#e16737",
|
|
||||||
"Max": "#c4a79c",
|
|
||||||
"MAXScript": "#00a6a6",
|
|
||||||
"mcfunction": "#E22837",
|
|
||||||
"Mercury": "#ff2b2b",
|
|
||||||
"Meson": "#007800",
|
|
||||||
"Metal": "#8f14e9",
|
|
||||||
"MiniD": null,
|
|
||||||
"Mirah": "#c7a938",
|
|
||||||
"mIRC Script": "#3d57c3",
|
|
||||||
"MLIR": "#5EC8DB",
|
|
||||||
"Modelica": "#de1d31",
|
|
||||||
"Modula-2": "#10253f",
|
|
||||||
"Modula-3": "#223388",
|
|
||||||
"Module Management System": null,
|
|
||||||
"Monkey": null,
|
|
||||||
"Moocode": null,
|
|
||||||
"MoonScript": "#ff4585",
|
|
||||||
"Motorola 68K Assembly": "#005daa",
|
|
||||||
"MQL4": "#62A8D6",
|
|
||||||
"MQL5": "#4A76B8",
|
|
||||||
"MTML": "#b7e1f4",
|
|
||||||
"MUF": null,
|
|
||||||
"mupad": "#244963",
|
|
||||||
"Mustache": "#724b3b",
|
|
||||||
"Myghty": null,
|
|
||||||
"nanorc": "#2d004d",
|
|
||||||
"NASL": null,
|
|
||||||
"NCL": "#28431f",
|
|
||||||
"Nearley": "#990000",
|
|
||||||
"Nemerle": "#3d3c6e",
|
|
||||||
"nesC": "#94B0C7",
|
|
||||||
"NetLinx": "#0aa0ff",
|
|
||||||
"NetLinx+ERB": "#747faa",
|
|
||||||
"NetLogo": "#ff6375",
|
|
||||||
"NewLisp": "#87AED7",
|
|
||||||
"Nextflow": "#3ac486",
|
|
||||||
"Nginx": "#009639",
|
|
||||||
"Nim": "#ffc200",
|
|
||||||
"Nit": "#009917",
|
|
||||||
"Nix": "#7e7eff",
|
|
||||||
"NPM Config": "#cb3837",
|
|
||||||
"NSIS": null,
|
|
||||||
"Nu": "#c9df40",
|
|
||||||
"NumPy": "#9C8AF9",
|
|
||||||
"Nunjucks": "#3d8137",
|
|
||||||
"NWScript": "#111522",
|
|
||||||
"Objective-C": "#438eff",
|
|
||||||
"Objective-C++": "#6866fb",
|
|
||||||
"Objective-J": "#ff0c5a",
|
|
||||||
"ObjectScript": "#424893",
|
|
||||||
"OCaml": "#3be133",
|
|
||||||
"Odin": "#60AFFE",
|
|
||||||
"Omgrofl": "#cabbff",
|
|
||||||
"ooc": "#b0b77e",
|
|
||||||
"Opa": null,
|
|
||||||
"Opal": "#f7ede0",
|
|
||||||
"Open Policy Agent": "#7d9199",
|
|
||||||
"OpenCL": "#ed2e2d",
|
|
||||||
"OpenEdge ABL": "#5ce600",
|
|
||||||
"OpenQASM": "#AA70FF",
|
|
||||||
"OpenRC runscript": null,
|
|
||||||
"OpenSCAD": "#e5cd45",
|
|
||||||
"Org": "#77aa99",
|
|
||||||
"Ox": null,
|
|
||||||
"Oxygene": "#cdd0e3",
|
|
||||||
"Oz": "#fab738",
|
|
||||||
"P4": "#7055b5",
|
|
||||||
"Pan": "#cc0000",
|
|
||||||
"Papyrus": "#6600cc",
|
|
||||||
"Parrot": "#f3ca0a",
|
|
||||||
"Parrot Assembly": null,
|
|
||||||
"Parrot Internal Representation": null,
|
|
||||||
"Pascal": "#E3F171",
|
|
||||||
"Pawn": "#dbb284",
|
|
||||||
"PEG.js": "#234d6b",
|
|
||||||
"Pep8": "#C76F5B",
|
|
||||||
"Perl": "#0298c3",
|
|
||||||
"PHP": "#4F5D95",
|
|
||||||
"PicoLisp": "#6067af",
|
|
||||||
"PigLatin": "#fcd7de",
|
|
||||||
"Pike": "#005390",
|
|
||||||
"PLpgSQL": "#336790",
|
|
||||||
"PLSQL": "#dad8d8",
|
|
||||||
"PogoScript": "#d80074",
|
|
||||||
"Pony": null,
|
|
||||||
"PostCSS": "#dc3a0c",
|
|
||||||
"PostScript": "#da291c",
|
|
||||||
"POV-Ray SDL": "#6bac65",
|
|
||||||
"PowerBuilder": "#8f0f8d",
|
|
||||||
"PowerShell": "#012456",
|
|
||||||
"Prisma": "#0c344b",
|
|
||||||
"Processing": "#0096D8",
|
|
||||||
"Prolog": "#74283c",
|
|
||||||
"Propeller Spin": "#7fa2a7",
|
|
||||||
"Pug": "#a86454",
|
|
||||||
"Puppet": "#302B6D",
|
|
||||||
"PureBasic": "#5a6986",
|
|
||||||
"PureScript": "#1D222D",
|
|
||||||
"Python": "#3572A5",
|
|
||||||
"Python console": "#3572A5",
|
|
||||||
"Python traceback": "#3572A5",
|
|
||||||
"q": "#0040cd",
|
|
||||||
"Q#": "#fed659",
|
|
||||||
"QMake": null,
|
|
||||||
"QML": "#44a51c",
|
|
||||||
"Qt Script": "#00b841",
|
|
||||||
"Quake": "#882233",
|
|
||||||
"R": "#198CE7",
|
|
||||||
"Racket": "#3c5caa",
|
|
||||||
"Ragel": "#9d5200",
|
|
||||||
"Raku": "#0000fb",
|
|
||||||
"RAML": "#77d9fb",
|
|
||||||
"Rascal": "#fffaa0",
|
|
||||||
"RDoc": "#701516",
|
|
||||||
"REALbasic": null,
|
|
||||||
"Reason": "#ff5847",
|
|
||||||
"Rebol": "#358a5b",
|
|
||||||
"Record Jar": "#0673ba",
|
|
||||||
"Red": "#f50000",
|
|
||||||
"Redcode": null,
|
|
||||||
"Regular Expression": "#009a00",
|
|
||||||
"Ren'Py": "#ff7f7f",
|
|
||||||
"RenderScript": null,
|
|
||||||
"ReScript": "#ed5051",
|
|
||||||
"reStructuredText": "#141414",
|
|
||||||
"REXX": "#d90e09",
|
|
||||||
"Ring": "#2D54CB",
|
|
||||||
"Riot": "#A71E49",
|
|
||||||
"RMarkdown": "#198ce7",
|
|
||||||
"RobotFramework": "#00c0b5",
|
|
||||||
"Roff": "#ecdebe",
|
|
||||||
"Roff Manpage": "#ecdebe",
|
|
||||||
"Rouge": "#cc0088",
|
|
||||||
"RPC": null,
|
|
||||||
"Ruby": "#701516",
|
|
||||||
"RUNOFF": "#665a4e",
|
|
||||||
"Rust": "#dea584",
|
|
||||||
"Sage": null,
|
|
||||||
"SaltStack": "#646464",
|
|
||||||
"SAS": "#B34936",
|
|
||||||
"Sass": "#a53b70",
|
|
||||||
"Scala": "#c22d40",
|
|
||||||
"Scaml": "#bd181a",
|
|
||||||
"Scheme": "#1e4aec",
|
|
||||||
"Scilab": "#ca0f21",
|
|
||||||
"SCSS": "#c6538c",
|
|
||||||
"sed": "#64b970",
|
|
||||||
"Self": "#0579aa",
|
|
||||||
"ShaderLab": "#222c37",
|
|
||||||
"Shell": "#89e051",
|
|
||||||
"ShellSession": null,
|
|
||||||
"Shen": "#120F14",
|
|
||||||
"Sieve": null,
|
|
||||||
"Singularity": "#64E6AD",
|
|
||||||
"Slash": "#007eff",
|
|
||||||
"Slice": "#003fa2",
|
|
||||||
"Slim": "#2b2b2b",
|
|
||||||
"Smali": null,
|
|
||||||
"Smalltalk": "#596706",
|
|
||||||
"Smarty": "#f0c040",
|
|
||||||
"SmPL": "#c94949",
|
|
||||||
"SMT": null,
|
|
||||||
"Solidity": "#AA6746",
|
|
||||||
"SourcePawn": "#f69e1d",
|
|
||||||
"SPARQL": "#0C4597",
|
|
||||||
"SQF": "#3F3F3F",
|
|
||||||
"SQL": "#e38c00",
|
|
||||||
"SQLPL": "#e38c00",
|
|
||||||
"Squirrel": "#800000",
|
|
||||||
"SRecode Template": "#348a34",
|
|
||||||
"Stan": "#b2011d",
|
|
||||||
"Standard ML": "#dc566d",
|
|
||||||
"Starlark": "#76d275",
|
|
||||||
"Stata": "#1a5f91",
|
|
||||||
"StringTemplate": "#3fb34f",
|
|
||||||
"Stylus": "#ff6347",
|
|
||||||
"SubRip Text": "#9e0101",
|
|
||||||
"SugarSS": "#2fcc9f",
|
|
||||||
"SuperCollider": "#46390b",
|
|
||||||
"Svelte": "#ff3e00",
|
|
||||||
"SVG": "#ff9900",
|
|
||||||
"Swift": "#F05138",
|
|
||||||
"SWIG": null,
|
|
||||||
"SystemVerilog": "#DAE1C2",
|
|
||||||
"Tcl": "#e4cc98",
|
|
||||||
"Tcsh": null,
|
|
||||||
"Terra": "#00004c",
|
|
||||||
"TeX": "#3D6117",
|
|
||||||
"Textile": "#ffe7ac",
|
|
||||||
"TextMate Properties": "#df66e4",
|
|
||||||
"Thrift": "#D12127",
|
|
||||||
"TI Program": "#A0AA87",
|
|
||||||
"TLA": "#4b0079",
|
|
||||||
"TOML": "#9c4221",
|
|
||||||
"TSQL": "#e38c00",
|
|
||||||
"TSV": "#237346",
|
|
||||||
"TSX": "#2b7489",
|
|
||||||
"Turing": "#cf142b",
|
|
||||||
"Twig": "#c1d026",
|
|
||||||
"TXL": "#0178b8",
|
|
||||||
"TypeScript": "#2b7489",
|
|
||||||
"Unified Parallel C": "#4e3617",
|
|
||||||
"Unity3D Asset": "#222c37",
|
|
||||||
"Unix Assembly": null,
|
|
||||||
"Uno": "#9933cc",
|
|
||||||
"UnrealScript": "#a54c4d",
|
|
||||||
"UrWeb": "#ccccee",
|
|
||||||
"V": "#4f87c4",
|
|
||||||
"Vala": "#fbe5cd",
|
|
||||||
"Valve Data Format": "#f26025",
|
|
||||||
"VBA": "#867db1",
|
|
||||||
"VBScript": "#15dcdc",
|
|
||||||
"VCL": "#148AA8",
|
|
||||||
"Verilog": "#b2b7f8",
|
|
||||||
"VHDL": "#adb2cb",
|
|
||||||
"Vim Help File": "#199f4b",
|
|
||||||
"Vim Script": "#199f4b",
|
|
||||||
"Vim Snippet": "#199f4b",
|
|
||||||
"Visual Basic .NET": "#945db7",
|
|
||||||
"Volt": "#1F1F1F",
|
|
||||||
"Vue": "#41b883",
|
|
||||||
"wdl": "#42f1f4",
|
|
||||||
"Web Ontology Language": "#5b70bd",
|
|
||||||
"WebAssembly": "#04133b",
|
|
||||||
"WebIDL": null,
|
|
||||||
"Wikitext": "#fc5757",
|
|
||||||
"Windows Registry Entries": "#52d5ff",
|
|
||||||
"wisp": "#7582D1",
|
|
||||||
"Wollok": "#a23738",
|
|
||||||
"World of Warcraft Addon Data": "#f7e43f",
|
|
||||||
"X10": "#4B6BEF",
|
|
||||||
"xBase": "#403a40",
|
|
||||||
"XC": "#99DA07",
|
|
||||||
"XML": "#0060ac",
|
|
||||||
"XML Property List": "#0060ac",
|
|
||||||
"Xojo": "#81bd41",
|
|
||||||
"Xonsh": "#285EEF",
|
|
||||||
"XProc": null,
|
|
||||||
"XQuery": "#5232e7",
|
|
||||||
"XS": null,
|
|
||||||
"XSLT": "#EB8CEB",
|
|
||||||
"Xtend": "#24255d",
|
|
||||||
"Yacc": "#4B6C4B",
|
|
||||||
"YAML": "#cb171e",
|
|
||||||
"YARA": "#220000",
|
|
||||||
"YASnippet": "#32AB90",
|
|
||||||
"ZAP": "#0d665e",
|
|
||||||
"Zeek": null,
|
|
||||||
"ZenScript": "#00BCD1",
|
|
||||||
"Zephir": "#118f9e",
|
|
||||||
"Zig": "#ec915c",
|
|
||||||
"ZIL": "#dc75e5",
|
|
||||||
"Zimpl": "#d67711"
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,533 @@
|
|||||||
|
{
|
||||||
|
"1C Enterprise": "#814CCC",
|
||||||
|
"4D": "#004289",
|
||||||
|
"ABAP": "#E8274B",
|
||||||
|
"ABAP CDS": "#555e25",
|
||||||
|
"ActionScript": "#882B0F",
|
||||||
|
"Ada": "#02f88c",
|
||||||
|
"Adobe Font Metrics": "#fa0f00",
|
||||||
|
"Agda": "#315665",
|
||||||
|
"AGS Script": "#B9D9FF",
|
||||||
|
"AIDL": "#34EB6B",
|
||||||
|
"AL": "#3AA2B5",
|
||||||
|
"Alloy": "#64C800",
|
||||||
|
"Alpine Abuild": "#0D597F",
|
||||||
|
"Altium Designer": "#A89663",
|
||||||
|
"AMPL": "#E6EFBB",
|
||||||
|
"AngelScript": "#C7D7DC",
|
||||||
|
"Ant Build System": "#A9157E",
|
||||||
|
"ANTLR": "#9DC3FF",
|
||||||
|
"ApacheConf": "#d12127",
|
||||||
|
"Apex": "#1797c0",
|
||||||
|
"API Blueprint": "#2ACCA8",
|
||||||
|
"APL": "#5A8164",
|
||||||
|
"Apollo Guidance Computer": "#0B3D91",
|
||||||
|
"AppleScript": "#101F1F",
|
||||||
|
"Arc": "#aa2afe",
|
||||||
|
"AsciiDoc": "#73a0c5",
|
||||||
|
"ASL": null,
|
||||||
|
"ASP.NET": "#9400ff",
|
||||||
|
"AspectJ": "#a957b0",
|
||||||
|
"Assembly": "#6E4C13",
|
||||||
|
"Astro": "#ff5a03",
|
||||||
|
"Asymptote": "#ff0000",
|
||||||
|
"ATS": "#1ac620",
|
||||||
|
"Augeas": "#9CC134",
|
||||||
|
"AutoHotkey": "#6594b9",
|
||||||
|
"AutoIt": "#1C3552",
|
||||||
|
"Avro IDL": "#0040FF",
|
||||||
|
"Awk": "#c30e9b",
|
||||||
|
"Ballerina": "#FF5000",
|
||||||
|
"BASIC": "#ff0000",
|
||||||
|
"Batchfile": "#C1F12E",
|
||||||
|
"Beef": "#a52f4e",
|
||||||
|
"Befunge": null,
|
||||||
|
"BibTeX": "#778899",
|
||||||
|
"Bicep": "#519aba",
|
||||||
|
"Bison": "#6A463F",
|
||||||
|
"BitBake": "#00bce4",
|
||||||
|
"Blade": "#f7523f",
|
||||||
|
"BlitzBasic": "#00FFAE",
|
||||||
|
"BlitzMax": "#cd6400",
|
||||||
|
"Bluespec": "#12223c",
|
||||||
|
"Boo": "#d4bec1",
|
||||||
|
"Boogie": "#c80fa0",
|
||||||
|
"Brainfuck": "#2F2530",
|
||||||
|
"Brightscript": "#662D91",
|
||||||
|
"Browserslist": "#ffd539",
|
||||||
|
"C": "#555555",
|
||||||
|
"C#": "#178600",
|
||||||
|
"C++": "#f34b7d",
|
||||||
|
"C2hs Haskell": null,
|
||||||
|
"Cabal Config": "#483465",
|
||||||
|
"Cap'n Proto": "#c42727",
|
||||||
|
"CartoCSS": null,
|
||||||
|
"Ceylon": "#dfa535",
|
||||||
|
"Chapel": "#8dc63f",
|
||||||
|
"Charity": null,
|
||||||
|
"ChucK": "#3f8000",
|
||||||
|
"Cirru": "#ccccff",
|
||||||
|
"Clarion": "#db901e",
|
||||||
|
"Classic ASP": "#6a40fd",
|
||||||
|
"Clean": "#3F85AF",
|
||||||
|
"Click": "#E4E6F3",
|
||||||
|
"CLIPS": "#00A300",
|
||||||
|
"Clojure": "#db5855",
|
||||||
|
"Closure Templates": "#0d948f",
|
||||||
|
"Cloud Firestore Security Rules": "#FFA000",
|
||||||
|
"CMake": "#DA3434",
|
||||||
|
"COBOL": null,
|
||||||
|
"CodeQL": "#140f46",
|
||||||
|
"CoffeeScript": "#244776",
|
||||||
|
"ColdFusion": "#ed2cd6",
|
||||||
|
"ColdFusion CFC": "#ed2cd6",
|
||||||
|
"COLLADA": "#F1A42B",
|
||||||
|
"Common Lisp": "#3fb68b",
|
||||||
|
"Common Workflow Language": "#B5314C",
|
||||||
|
"Component Pascal": "#B0CE4E",
|
||||||
|
"Cool": null,
|
||||||
|
"Coq": "#d0b68c",
|
||||||
|
"Crystal": "#000100",
|
||||||
|
"CSON": "#244776",
|
||||||
|
"Csound": "#1a1a1a",
|
||||||
|
"Csound Document": "#1a1a1a",
|
||||||
|
"Csound Score": "#1a1a1a",
|
||||||
|
"CSS": "#563d7c",
|
||||||
|
"CSV": "#237346",
|
||||||
|
"Cuda": "#3A4E3A",
|
||||||
|
"CUE": "#5886E1",
|
||||||
|
"CWeb": "#00007a",
|
||||||
|
"Cycript": null,
|
||||||
|
"Cython": "#fedf5b",
|
||||||
|
"D": "#ba595e",
|
||||||
|
"Dafny": "#FFEC25",
|
||||||
|
"Darcs Patch": "#8eff23",
|
||||||
|
"Dart": "#00B4AB",
|
||||||
|
"DataWeave": "#003a52",
|
||||||
|
"Dhall": "#dfafff",
|
||||||
|
"DIGITAL Command Language": null,
|
||||||
|
"DirectX 3D File": "#aace60",
|
||||||
|
"DM": "#447265",
|
||||||
|
"Dockerfile": "#384d54",
|
||||||
|
"Dogescript": "#cca760",
|
||||||
|
"DTrace": null,
|
||||||
|
"Dylan": "#6c616e",
|
||||||
|
"E": "#ccce35",
|
||||||
|
"Easybuild": "#069406",
|
||||||
|
"eC": "#913960",
|
||||||
|
"Ecere Projects": "#913960",
|
||||||
|
"ECL": "#8a1267",
|
||||||
|
"ECLiPSe": "#001d9d",
|
||||||
|
"EditorConfig": "#fff1f2",
|
||||||
|
"Eiffel": "#4d6977",
|
||||||
|
"EJS": "#a91e50",
|
||||||
|
"Elixir": "#6e4a7e",
|
||||||
|
"Elm": "#60B5CC",
|
||||||
|
"Emacs Lisp": "#c065db",
|
||||||
|
"EmberScript": "#FFF4F3",
|
||||||
|
"EQ": "#a78649",
|
||||||
|
"Erlang": "#B83998",
|
||||||
|
"F#": "#b845fc",
|
||||||
|
"F*": "#572e30",
|
||||||
|
"Factor": "#636746",
|
||||||
|
"Fancy": "#7b9db4",
|
||||||
|
"Fantom": "#14253c",
|
||||||
|
"Faust": "#c37240",
|
||||||
|
"Fennel": "#fff3d7",
|
||||||
|
"FIGlet Font": "#FFDDBB",
|
||||||
|
"Filebench WML": "#F6B900",
|
||||||
|
"Filterscript": null,
|
||||||
|
"fish": "#4aae47",
|
||||||
|
"Fluent": "#ffcc33",
|
||||||
|
"FLUX": "#88ccff",
|
||||||
|
"Forth": "#341708",
|
||||||
|
"Fortran": "#4d41b1",
|
||||||
|
"Fortran Free Form": "#4d41b1",
|
||||||
|
"FreeBasic": "#867db1",
|
||||||
|
"FreeMarker": "#0050b2",
|
||||||
|
"Frege": "#00cafe",
|
||||||
|
"Futhark": "#5f021f",
|
||||||
|
"G-code": "#D08CF2",
|
||||||
|
"Game Maker Language": "#71b417",
|
||||||
|
"GAML": "#FFC766",
|
||||||
|
"GAMS": "#f49a22",
|
||||||
|
"GAP": "#0000cc",
|
||||||
|
"GCC Machine Description": "#FFCFAB",
|
||||||
|
"GDB": null,
|
||||||
|
"GDScript": "#355570",
|
||||||
|
"GEDCOM": "#003058",
|
||||||
|
"Gemfile.lock": "#701516",
|
||||||
|
"Genie": "#fb855d",
|
||||||
|
"Genshi": "#951531",
|
||||||
|
"Gentoo Ebuild": "#9400ff",
|
||||||
|
"Gentoo Eclass": "#9400ff",
|
||||||
|
"Gerber Image": "#d20b00",
|
||||||
|
"Gherkin": "#5B2063",
|
||||||
|
"Git Attributes": "#F44D27",
|
||||||
|
"Git Config": "#F44D27",
|
||||||
|
"GLSL": "#5686a5",
|
||||||
|
"Glyph": "#c1ac7f",
|
||||||
|
"Gnuplot": "#f0a9f0",
|
||||||
|
"Go": "#00ADD8",
|
||||||
|
"Go Checksums": "#00ADD8",
|
||||||
|
"Go Module": "#00ADD8",
|
||||||
|
"Golo": "#88562A",
|
||||||
|
"Gosu": "#82937f",
|
||||||
|
"Grace": "#615f8b",
|
||||||
|
"Gradle": "#02303a",
|
||||||
|
"Grammatical Framework": "#ff0000",
|
||||||
|
"GraphQL": "#e10098",
|
||||||
|
"Graphviz (DOT)": "#2596be",
|
||||||
|
"Groovy": "#4298b8",
|
||||||
|
"Groovy Server Pages": "#4298b8",
|
||||||
|
"Hack": "#878787",
|
||||||
|
"Haml": "#ece2a9",
|
||||||
|
"Handlebars": "#f7931e",
|
||||||
|
"HAProxy": "#106da9",
|
||||||
|
"Harbour": "#0e60e3",
|
||||||
|
"Haskell": "#5e5086",
|
||||||
|
"Haxe": "#df7900",
|
||||||
|
"HCL": null,
|
||||||
|
"HiveQL": "#dce200",
|
||||||
|
"HLSL": "#aace60",
|
||||||
|
"HolyC": "#ffefaf",
|
||||||
|
"HTML": "#e34c26",
|
||||||
|
"HTML+ECR": "#2e1052",
|
||||||
|
"HTML+EEX": "#6e4a7e",
|
||||||
|
"HTML+ERB": "#701516",
|
||||||
|
"HTML+PHP": "#4f5d95",
|
||||||
|
"HTML+Razor": "#512be4",
|
||||||
|
"HTTP": "#005C9C",
|
||||||
|
"HXML": "#f68712",
|
||||||
|
"Hy": "#7790B2",
|
||||||
|
"HyPhy": null,
|
||||||
|
"IDL": "#a3522f",
|
||||||
|
"Idris": "#b30000",
|
||||||
|
"Ignore List": "#000000",
|
||||||
|
"IGOR Pro": "#0000cc",
|
||||||
|
"ImageJ Macro": "#99AAFF",
|
||||||
|
"Inform 7": null,
|
||||||
|
"INI": "#d1dbe0",
|
||||||
|
"Inno Setup": "#264b99",
|
||||||
|
"Io": "#a9188d",
|
||||||
|
"Ioke": "#078193",
|
||||||
|
"Isabelle": "#FEFE00",
|
||||||
|
"Isabelle ROOT": "#FEFE00",
|
||||||
|
"J": "#9EEDFF",
|
||||||
|
"JAR Manifest": "#b07219",
|
||||||
|
"Jasmin": "#d03600",
|
||||||
|
"Java": "#b07219",
|
||||||
|
"Java Properties": "#2A6277",
|
||||||
|
"Java Server Pages": "#2A6277",
|
||||||
|
"JavaScript": "#f1e05a",
|
||||||
|
"JavaScript+ERB": "#f1e05a",
|
||||||
|
"Jest Snapshot": "#15c213",
|
||||||
|
"JFlex": "#DBCA00",
|
||||||
|
"Jinja": "#a52a22",
|
||||||
|
"Jison": "#56b3cb",
|
||||||
|
"Jison Lex": "#56b3cb",
|
||||||
|
"Jolie": "#843179",
|
||||||
|
"jq": "#c7254e",
|
||||||
|
"JSON": "#292929",
|
||||||
|
"JSON with Comments": "#292929",
|
||||||
|
"JSON5": "#267CB9",
|
||||||
|
"JSONiq": "#40d47e",
|
||||||
|
"JSONLD": "#0c479c",
|
||||||
|
"Jsonnet": "#0064bd",
|
||||||
|
"Julia": "#a270ba",
|
||||||
|
"Jupyter Notebook": "#DA5B0B",
|
||||||
|
"Kaitai Struct": "#773b37",
|
||||||
|
"KakouneScript": "#6f8042",
|
||||||
|
"KiCad Layout": "#2f4aab",
|
||||||
|
"KiCad Legacy Layout": "#2f4aab",
|
||||||
|
"KiCad Schematic": "#2f4aab",
|
||||||
|
"Kotlin": "#A97BFF",
|
||||||
|
"KRL": "#28430A",
|
||||||
|
"LabVIEW": "#fede06",
|
||||||
|
"Lark": "#2980B9",
|
||||||
|
"Lasso": "#999999",
|
||||||
|
"Latte": "#f2a542",
|
||||||
|
"Lean": null,
|
||||||
|
"Less": "#1d365d",
|
||||||
|
"Lex": "#DBCA00",
|
||||||
|
"LFE": "#4C3023",
|
||||||
|
"LilyPond": "#9ccc7c",
|
||||||
|
"Limbo": null,
|
||||||
|
"Liquid": "#67b8de",
|
||||||
|
"Literate Agda": "#315665",
|
||||||
|
"Literate CoffeeScript": "#244776",
|
||||||
|
"Literate Haskell": "#5e5086",
|
||||||
|
"LiveScript": "#499886",
|
||||||
|
"LLVM": "#185619",
|
||||||
|
"Logos": null,
|
||||||
|
"Logtalk": "#295b9a",
|
||||||
|
"LOLCODE": "#cc9900",
|
||||||
|
"LookML": "#652B81",
|
||||||
|
"LoomScript": null,
|
||||||
|
"LSL": "#3d9970",
|
||||||
|
"Lua": "#000080",
|
||||||
|
"M": null,
|
||||||
|
"M4": null,
|
||||||
|
"M4Sugar": null,
|
||||||
|
"Macaulay2": "#d8ffff",
|
||||||
|
"Makefile": "#427819",
|
||||||
|
"Mako": "#7e858d",
|
||||||
|
"Markdown": "#083fa1",
|
||||||
|
"Marko": "#42bff2",
|
||||||
|
"Mask": "#f97732",
|
||||||
|
"Mathematica": "#dd1100",
|
||||||
|
"MATLAB": "#e16737",
|
||||||
|
"Max": "#c4a79c",
|
||||||
|
"MAXScript": "#00a6a6",
|
||||||
|
"mcfunction": "#E22837",
|
||||||
|
"Mercury": "#ff2b2b",
|
||||||
|
"Meson": "#007800",
|
||||||
|
"Metal": "#8f14e9",
|
||||||
|
"MiniD": null,
|
||||||
|
"Mirah": "#c7a938",
|
||||||
|
"mIRC Script": "#3d57c3",
|
||||||
|
"MLIR": "#5EC8DB",
|
||||||
|
"Modelica": "#de1d31",
|
||||||
|
"Modula-2": "#10253f",
|
||||||
|
"Modula-3": "#223388",
|
||||||
|
"Module Management System": null,
|
||||||
|
"Monkey": null,
|
||||||
|
"Moocode": null,
|
||||||
|
"MoonScript": "#ff4585",
|
||||||
|
"Motorola 68K Assembly": "#005daa",
|
||||||
|
"MQL4": "#62A8D6",
|
||||||
|
"MQL5": "#4A76B8",
|
||||||
|
"MTML": "#b7e1f4",
|
||||||
|
"MUF": null,
|
||||||
|
"mupad": "#244963",
|
||||||
|
"Mustache": "#724b3b",
|
||||||
|
"Myghty": null,
|
||||||
|
"nanorc": "#2d004d",
|
||||||
|
"NASL": null,
|
||||||
|
"NCL": "#28431f",
|
||||||
|
"Nearley": "#990000",
|
||||||
|
"Nemerle": "#3d3c6e",
|
||||||
|
"nesC": "#94B0C7",
|
||||||
|
"NetLinx": "#0aa0ff",
|
||||||
|
"NetLinx+ERB": "#747faa",
|
||||||
|
"NetLogo": "#ff6375",
|
||||||
|
"NewLisp": "#87AED7",
|
||||||
|
"Nextflow": "#3ac486",
|
||||||
|
"Nginx": "#009639",
|
||||||
|
"Nim": "#ffc200",
|
||||||
|
"Nit": "#009917",
|
||||||
|
"Nix": "#7e7eff",
|
||||||
|
"NPM Config": "#cb3837",
|
||||||
|
"NSIS": null,
|
||||||
|
"Nu": "#c9df40",
|
||||||
|
"NumPy": "#9C8AF9",
|
||||||
|
"Nunjucks": "#3d8137",
|
||||||
|
"NWScript": "#111522",
|
||||||
|
"Objective-C": "#438eff",
|
||||||
|
"Objective-C++": "#6866fb",
|
||||||
|
"Objective-J": "#ff0c5a",
|
||||||
|
"ObjectScript": "#424893",
|
||||||
|
"OCaml": "#3be133",
|
||||||
|
"Odin": "#60AFFE",
|
||||||
|
"Omgrofl": "#cabbff",
|
||||||
|
"ooc": "#b0b77e",
|
||||||
|
"Opa": null,
|
||||||
|
"Opal": "#f7ede0",
|
||||||
|
"Open Policy Agent": "#7d9199",
|
||||||
|
"OpenCL": "#ed2e2d",
|
||||||
|
"OpenEdge ABL": "#5ce600",
|
||||||
|
"OpenQASM": "#AA70FF",
|
||||||
|
"OpenRC runscript": null,
|
||||||
|
"OpenSCAD": "#e5cd45",
|
||||||
|
"Org": "#77aa99",
|
||||||
|
"Ox": null,
|
||||||
|
"Oxygene": "#cdd0e3",
|
||||||
|
"Oz": "#fab738",
|
||||||
|
"P4": "#7055b5",
|
||||||
|
"Pan": "#cc0000",
|
||||||
|
"Papyrus": "#6600cc",
|
||||||
|
"Parrot": "#f3ca0a",
|
||||||
|
"Parrot Assembly": null,
|
||||||
|
"Parrot Internal Representation": null,
|
||||||
|
"Pascal": "#E3F171",
|
||||||
|
"Pawn": "#dbb284",
|
||||||
|
"PEG.js": "#234d6b",
|
||||||
|
"Pep8": "#C76F5B",
|
||||||
|
"Perl": "#0298c3",
|
||||||
|
"PHP": "#4F5D95",
|
||||||
|
"PicoLisp": "#6067af",
|
||||||
|
"PigLatin": "#fcd7de",
|
||||||
|
"Pike": "#005390",
|
||||||
|
"PLpgSQL": "#336790",
|
||||||
|
"PLSQL": "#dad8d8",
|
||||||
|
"PogoScript": "#d80074",
|
||||||
|
"Pony": null,
|
||||||
|
"PostCSS": "#dc3a0c",
|
||||||
|
"PostScript": "#da291c",
|
||||||
|
"POV-Ray SDL": "#6bac65",
|
||||||
|
"PowerBuilder": "#8f0f8d",
|
||||||
|
"PowerShell": "#012456",
|
||||||
|
"Prisma": "#0c344b",
|
||||||
|
"Processing": "#0096D8",
|
||||||
|
"Prolog": "#74283c",
|
||||||
|
"Propeller Spin": "#7fa2a7",
|
||||||
|
"Pug": "#a86454",
|
||||||
|
"Puppet": "#302B6D",
|
||||||
|
"PureBasic": "#5a6986",
|
||||||
|
"PureScript": "#1D222D",
|
||||||
|
"Python": "#3572A5",
|
||||||
|
"Python console": "#3572A5",
|
||||||
|
"Python traceback": "#3572A5",
|
||||||
|
"q": "#0040cd",
|
||||||
|
"Q#": "#fed659",
|
||||||
|
"QMake": null,
|
||||||
|
"QML": "#44a51c",
|
||||||
|
"Qt Script": "#00b841",
|
||||||
|
"Quake": "#882233",
|
||||||
|
"R": "#198CE7",
|
||||||
|
"Racket": "#3c5caa",
|
||||||
|
"Ragel": "#9d5200",
|
||||||
|
"Raku": "#0000fb",
|
||||||
|
"RAML": "#77d9fb",
|
||||||
|
"Rascal": "#fffaa0",
|
||||||
|
"RDoc": "#701516",
|
||||||
|
"REALbasic": null,
|
||||||
|
"Reason": "#ff5847",
|
||||||
|
"Rebol": "#358a5b",
|
||||||
|
"Record Jar": "#0673ba",
|
||||||
|
"Red": "#f50000",
|
||||||
|
"Redcode": null,
|
||||||
|
"Regular Expression": "#009a00",
|
||||||
|
"Ren'Py": "#ff7f7f",
|
||||||
|
"RenderScript": null,
|
||||||
|
"ReScript": "#ed5051",
|
||||||
|
"reStructuredText": "#141414",
|
||||||
|
"REXX": "#d90e09",
|
||||||
|
"Ring": "#2D54CB",
|
||||||
|
"Riot": "#A71E49",
|
||||||
|
"RMarkdown": "#198ce7",
|
||||||
|
"RobotFramework": "#00c0b5",
|
||||||
|
"Roff": "#ecdebe",
|
||||||
|
"Roff Manpage": "#ecdebe",
|
||||||
|
"Rouge": "#cc0088",
|
||||||
|
"RPC": null,
|
||||||
|
"Ruby": "#701516",
|
||||||
|
"RUNOFF": "#665a4e",
|
||||||
|
"Rust": "#dea584",
|
||||||
|
"Sage": null,
|
||||||
|
"SaltStack": "#646464",
|
||||||
|
"SAS": "#B34936",
|
||||||
|
"Sass": "#a53b70",
|
||||||
|
"Scala": "#c22d40",
|
||||||
|
"Scaml": "#bd181a",
|
||||||
|
"Scheme": "#1e4aec",
|
||||||
|
"Scilab": "#ca0f21",
|
||||||
|
"SCSS": "#c6538c",
|
||||||
|
"sed": "#64b970",
|
||||||
|
"Self": "#0579aa",
|
||||||
|
"ShaderLab": "#222c37",
|
||||||
|
"Shell": "#89e051",
|
||||||
|
"ShellSession": null,
|
||||||
|
"Shen": "#120F14",
|
||||||
|
"Sieve": null,
|
||||||
|
"Singularity": "#64E6AD",
|
||||||
|
"Slash": "#007eff",
|
||||||
|
"Slice": "#003fa2",
|
||||||
|
"Slim": "#2b2b2b",
|
||||||
|
"Smali": null,
|
||||||
|
"Smalltalk": "#596706",
|
||||||
|
"Smarty": "#f0c040",
|
||||||
|
"SmPL": "#c94949",
|
||||||
|
"SMT": null,
|
||||||
|
"Solidity": "#AA6746",
|
||||||
|
"SourcePawn": "#f69e1d",
|
||||||
|
"SPARQL": "#0C4597",
|
||||||
|
"SQF": "#3F3F3F",
|
||||||
|
"SQL": "#e38c00",
|
||||||
|
"SQLPL": "#e38c00",
|
||||||
|
"Squirrel": "#800000",
|
||||||
|
"SRecode Template": "#348a34",
|
||||||
|
"Stan": "#b2011d",
|
||||||
|
"Standard ML": "#dc566d",
|
||||||
|
"Starlark": "#76d275",
|
||||||
|
"Stata": "#1a5f91",
|
||||||
|
"StringTemplate": "#3fb34f",
|
||||||
|
"Stylus": "#ff6347",
|
||||||
|
"SubRip Text": "#9e0101",
|
||||||
|
"SugarSS": "#2fcc9f",
|
||||||
|
"SuperCollider": "#46390b",
|
||||||
|
"Svelte": "#ff3e00",
|
||||||
|
"SVG": "#ff9900",
|
||||||
|
"Swift": "#F05138",
|
||||||
|
"SWIG": null,
|
||||||
|
"SystemVerilog": "#DAE1C2",
|
||||||
|
"Tcl": "#e4cc98",
|
||||||
|
"Tcsh": null,
|
||||||
|
"Terra": "#00004c",
|
||||||
|
"TeX": "#3D6117",
|
||||||
|
"Textile": "#ffe7ac",
|
||||||
|
"TextMate Properties": "#df66e4",
|
||||||
|
"Thrift": "#D12127",
|
||||||
|
"TI Program": "#A0AA87",
|
||||||
|
"TLA": "#4b0079",
|
||||||
|
"TOML": "#9c4221",
|
||||||
|
"TSQL": "#e38c00",
|
||||||
|
"TSV": "#237346",
|
||||||
|
"TSX": "#2b7489",
|
||||||
|
"Turing": "#cf142b",
|
||||||
|
"Twig": "#c1d026",
|
||||||
|
"TXL": "#0178b8",
|
||||||
|
"TypeScript": "#2b7489",
|
||||||
|
"Unified Parallel C": "#4e3617",
|
||||||
|
"Unity3D Asset": "#222c37",
|
||||||
|
"Unix Assembly": null,
|
||||||
|
"Uno": "#9933cc",
|
||||||
|
"UnrealScript": "#a54c4d",
|
||||||
|
"UrWeb": "#ccccee",
|
||||||
|
"V": "#4f87c4",
|
||||||
|
"Vala": "#fbe5cd",
|
||||||
|
"Valve Data Format": "#f26025",
|
||||||
|
"VBA": "#867db1",
|
||||||
|
"VBScript": "#15dcdc",
|
||||||
|
"VCL": "#148AA8",
|
||||||
|
"Verilog": "#b2b7f8",
|
||||||
|
"VHDL": "#adb2cb",
|
||||||
|
"Vim Help File": "#199f4b",
|
||||||
|
"Vim Script": "#199f4b",
|
||||||
|
"Vim Snippet": "#199f4b",
|
||||||
|
"Visual Basic .NET": "#945db7",
|
||||||
|
"Volt": "#1F1F1F",
|
||||||
|
"Vue": "#41b883",
|
||||||
|
"wdl": "#42f1f4",
|
||||||
|
"Web Ontology Language": "#5b70bd",
|
||||||
|
"WebAssembly": "#04133b",
|
||||||
|
"WebIDL": null,
|
||||||
|
"Wikitext": "#fc5757",
|
||||||
|
"Windows Registry Entries": "#52d5ff",
|
||||||
|
"wisp": "#7582D1",
|
||||||
|
"Wollok": "#a23738",
|
||||||
|
"World of Warcraft Addon Data": "#f7e43f",
|
||||||
|
"X10": "#4B6BEF",
|
||||||
|
"xBase": "#403a40",
|
||||||
|
"XC": "#99DA07",
|
||||||
|
"XML": "#0060ac",
|
||||||
|
"XML Property List": "#0060ac",
|
||||||
|
"Xojo": "#81bd41",
|
||||||
|
"Xonsh": "#285EEF",
|
||||||
|
"XProc": null,
|
||||||
|
"XQuery": "#5232e7",
|
||||||
|
"XS": null,
|
||||||
|
"XSLT": "#EB8CEB",
|
||||||
|
"Xtend": "#24255d",
|
||||||
|
"Yacc": "#4B6C4B",
|
||||||
|
"YAML": "#cb171e",
|
||||||
|
"YARA": "#220000",
|
||||||
|
"YASnippet": "#32AB90",
|
||||||
|
"ZAP": "#0d665e",
|
||||||
|
"Zeek": null,
|
||||||
|
"ZenScript": "#00BCD1",
|
||||||
|
"Zephir": "#118f9e",
|
||||||
|
"Zig": "#ec915c",
|
||||||
|
"ZIL": "#dc75e5",
|
||||||
|
"Zimpl": "#d67711"
|
||||||
|
}
|
||||||
@@ -9,6 +9,11 @@
|
|||||||
"title": "sharing.facebook",
|
"title": "sharing.facebook",
|
||||||
"url": "https://www.facebook.com/sharer/sharer.php?u=%s"e=%s"
|
"url": "https://www.facebook.com/sharer/sharer.php?u=%s"e=%s"
|
||||||
},
|
},
|
||||||
|
"line": {
|
||||||
|
"icon": "line",
|
||||||
|
"title": "sharing.line",
|
||||||
|
"url": "https://line.me/R/share?text=%s%%20%s"
|
||||||
|
},
|
||||||
"linkedin": {
|
"linkedin": {
|
||||||
"icon": "linkedin",
|
"icon": "linkedin",
|
||||||
"title": "sharing.linkedin",
|
"title": "sharing.linkedin",
|
||||||
|
|||||||
@@ -1,20 +1,13 @@
|
|||||||
var layouts = [
|
var layouts = ["background", "hero", "profile", "page", "card"];
|
||||||
"background",
|
|
||||||
"hero",
|
|
||||||
"profile",
|
|
||||||
"page",
|
|
||||||
"card"
|
|
||||||
]
|
|
||||||
|
|
||||||
var currentLayout = 0
|
var currentLayout = 0;
|
||||||
|
|
||||||
function switchHomeLayout() {
|
function switchHomeLayout() {
|
||||||
|
var old = currentLayout;
|
||||||
|
currentLayout = currentLayout == layouts.length - 1 ? 0 : currentLayout + 1;
|
||||||
|
|
||||||
var old = currentLayout
|
var oldDiv = document.getElementById(layouts[old]);
|
||||||
currentLayout = currentLayout == layouts.length - 1 ? 0 : currentLayout + 1
|
var currentDiv = document.getElementById(layouts[currentLayout]);
|
||||||
|
|
||||||
var oldDiv = document.getElementById(layouts[old])
|
|
||||||
var currentDiv = document.getElementById(layouts[currentLayout])
|
|
||||||
const layoutCode = document.querySelectorAll("code[id=layout]");
|
const layoutCode = document.querySelectorAll("code[id=layout]");
|
||||||
|
|
||||||
currentDiv.style.display = "block";
|
currentDiv.style.display = "block";
|
||||||
@@ -22,7 +15,6 @@ function switchHomeLayout() {
|
|||||||
layoutCode.forEach(function (el) {
|
layoutCode.forEach(function (el) {
|
||||||
el.innerText = layouts[currentLayout];
|
el.innerText = layouts[currentLayout];
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
window.addEventListener("DOMContentLoaded", (event) => {
|
window.addEventListener("DOMContentLoaded", (event) => {
|
||||||
@@ -30,31 +22,26 @@ window.addEventListener("DOMContentLoaded", (event) => {
|
|||||||
button.addEventListener("click", function (e) {
|
button.addEventListener("click", function (e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
switchHomeLayout();
|
switchHomeLayout();
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
var list_config = [
|
var list_config = ["CardViewProse", "CardViewScreenWidth", "NormalView"];
|
||||||
"CardViewProse",
|
|
||||||
"CardViewScreenWidth",
|
|
||||||
"NormalView"
|
|
||||||
]
|
|
||||||
|
|
||||||
var titles = {
|
var titles = {
|
||||||
"CardViewProse" : "card view with constrained width",
|
CardViewProse: "card view with constrained width",
|
||||||
"CardViewScreenWidth" : "card view with full width",
|
CardViewScreenWidth: "card view with full width",
|
||||||
"NormalView" : "standard list view"
|
NormalView: "standard list view",
|
||||||
}
|
};
|
||||||
|
|
||||||
var currentConfig = 0
|
var currentConfig = 0;
|
||||||
|
|
||||||
function switchList() {
|
function switchList() {
|
||||||
|
var old = currentConfig;
|
||||||
|
currentConfig = currentConfig == list_config.length - 1 ? 0 : currentConfig + 1;
|
||||||
|
|
||||||
var old = currentConfig
|
var oldDiv = document.getElementById(list_config[old]);
|
||||||
currentConfig = currentConfig == list_config.length - 1 ? 0 : currentConfig + 1
|
var currentDiv = document.getElementById(list_config[currentConfig]);
|
||||||
|
|
||||||
var oldDiv = document.getElementById(list_config[old])
|
|
||||||
var currentDiv = document.getElementById(list_config[currentConfig])
|
|
||||||
const configCode = document.querySelectorAll("code[id=config]");
|
const configCode = document.querySelectorAll("code[id=config]");
|
||||||
|
|
||||||
currentDiv.style.display = "block";
|
currentDiv.style.display = "block";
|
||||||
@@ -63,7 +50,6 @@ function switchList() {
|
|||||||
configCode.forEach(function (el) {
|
configCode.forEach(function (el) {
|
||||||
el.innerText = titles[list_config[currentConfig]];
|
el.innerText = titles[list_config[currentConfig]];
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
window.addEventListener("DOMContentLoaded", (event) => {
|
window.addEventListener("DOMContentLoaded", (event) => {
|
||||||
@@ -71,6 +57,6 @@ window.addEventListener("DOMContentLoaded", (event) => {
|
|||||||
button.addEventListener("click", function (e) {
|
button.addEventListener("click", function (e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
switchList();
|
switchList();
|
||||||
})
|
}),
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
@@ -21,7 +21,7 @@ enableEmoji = true
|
|||||||
googleAnalytics = "G-PEDMYR1V0K"
|
googleAnalytics = "G-PEDMYR1V0K"
|
||||||
|
|
||||||
[pagination]
|
[pagination]
|
||||||
pagerSize = 100
|
pagerSize = 102
|
||||||
|
|
||||||
[imaging]
|
[imaging]
|
||||||
anchor = 'Center'
|
anchor = 'Center'
|
||||||
@@ -69,3 +69,20 @@ googleAnalytics = "G-PEDMYR1V0K"
|
|||||||
name = 'fragmentrefs'
|
name = 'fragmentrefs'
|
||||||
type = 'fragments'
|
type = 'fragments'
|
||||||
weight = 10
|
weight = 10
|
||||||
|
|
||||||
|
# Render only specific parts of the site for faster development.
|
||||||
|
# Note that there are more files are ignored in development/hugo.toml
|
||||||
|
#
|
||||||
|
# Usage: `hugo --renderSegments core` or `hugo --renderSegments core,en_only`
|
||||||
|
[segments]
|
||||||
|
[segments.core]
|
||||||
|
[[segments.core.includes]]
|
||||||
|
# Debug core pages
|
||||||
|
path = '{/,/docs,/docs/**,/samples,/samples/**}'
|
||||||
|
[segments.en_only]
|
||||||
|
[[segments.en_only.includes]]
|
||||||
|
# Alternatively, you can use environment variable
|
||||||
|
# - UNIX: HUGO_DISABLELANGUAGES='it ja zh-cn' npm run example:core
|
||||||
|
# - Windows CMD: set "HUGO_DISABLELANGUAGES=it ja zh-cn" && npm run example:core
|
||||||
|
# - Windows PowerShell: $env:HUGO_DISABLELANGUAGES="it ja zh-cn"; npm run example:core
|
||||||
|
lang = 'en'
|
||||||
@@ -2,9 +2,22 @@
|
|||||||
# These settings are required for the theme to function.
|
# These settings are required for the theme to function.
|
||||||
|
|
||||||
[goldmark]
|
[goldmark]
|
||||||
|
[goldmark.parser]
|
||||||
|
wrapStandAloneImageWithinParagraph = false
|
||||||
|
|
||||||
|
[goldmark.parser.attribute]
|
||||||
|
block = true
|
||||||
|
|
||||||
[goldmark.renderer]
|
[goldmark.renderer]
|
||||||
unsafe = true
|
unsafe = true
|
||||||
|
|
||||||
|
[goldmark.extensions]
|
||||||
|
[goldmark.extensions.passthrough]
|
||||||
|
enable = true
|
||||||
|
[goldmark.extensions.passthrough.delimiters]
|
||||||
|
block = [['\[', '\]'], ['$$', '$$']]
|
||||||
|
inline = [['\(', '\)']]
|
||||||
|
|
||||||
[highlight]
|
[highlight]
|
||||||
noClasses = false
|
noClasses = false
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ colorScheme = "blowfish"
|
|||||||
defaultAppearance = "dark" # valid options: light or dark
|
defaultAppearance = "dark" # valid options: light or dark
|
||||||
autoSwitchAppearance = true
|
autoSwitchAppearance = true
|
||||||
|
|
||||||
|
enableA11y = false
|
||||||
enableSearch = true
|
enableSearch = true
|
||||||
enableCodeCopy = true
|
enableCodeCopy = true
|
||||||
|
|
||||||
@@ -18,16 +19,25 @@ mainSections = ["docs"]
|
|||||||
# robots = ""
|
# robots = ""
|
||||||
|
|
||||||
disableImageOptimization = false
|
disableImageOptimization = false
|
||||||
|
disableImageOptimizationMD = false
|
||||||
disableTextInHeader = false
|
disableTextInHeader = false
|
||||||
# backgroundImageWidth = 1200
|
# backgroundImageWidth = 1200
|
||||||
|
|
||||||
defaultBackgroundImage = "/img/background.svg"
|
defaultBackgroundImage = "/img/background.svg"
|
||||||
defaultFeaturedImage = "/img/featured.svg"
|
defaultFeaturedImage = "/img/featured.svg"
|
||||||
|
defaultSocialImage = "/img/blowfish_banner.png"
|
||||||
|
hotlinkFeatureImage = false
|
||||||
|
# imagePosition = "50% 50%"
|
||||||
|
|
||||||
highlightCurrentMenuArea = true
|
highlightCurrentMenuArea = true
|
||||||
smartTOC = true
|
smartTOC = true
|
||||||
smartTOCHideUnfocusedChildren = false
|
smartTOCHideUnfocusedChildren = false
|
||||||
|
|
||||||
|
#giteaDefaultServer = "https://git.fsfe.org"
|
||||||
|
#forgejoDefaultServer = "https://v11.next.forgejo.org"
|
||||||
|
|
||||||
|
fingerprintAlgorithm = "sha512" # Valid values are "sha512" (default), "sha384", "sha256"
|
||||||
|
|
||||||
[header]
|
[header]
|
||||||
layout = "fixed" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
|
layout = "fixed" # valid options: basic, fixed, fixed-fill, fixed-gradient, fixed-fill-blur
|
||||||
|
|
||||||
@@ -42,12 +52,13 @@ smartTOCHideUnfocusedChildren = false
|
|||||||
layout = "custom" # valid options: page, profile, hero, card, background, custom
|
layout = "custom" # valid options: page, profile, hero, card, background, custom
|
||||||
# homepageImage = "/img/iceland.jpg" # used in: hero, and card
|
# homepageImage = "/img/iceland.jpg" # used in: hero, and card
|
||||||
showRecent = false
|
showRecent = false
|
||||||
showRecentItems = 6
|
showRecentItems = 12
|
||||||
showMoreLink = true
|
showMoreLink = true
|
||||||
showMoreLinkDest = "docs"
|
showMoreLinkDest = "docs"
|
||||||
cardView = true
|
cardView = true
|
||||||
cardViewScreenWidth = false
|
cardViewScreenWidth = false
|
||||||
layoutBackgroundBlur = true # only used when layout equals background
|
layoutBackgroundBlur = true # only used when layout equals background
|
||||||
|
disableHeroImageFilter = false # only used when layout equals hero
|
||||||
|
|
||||||
[article]
|
[article]
|
||||||
showDate = false
|
showDate = false
|
||||||
@@ -60,6 +71,7 @@ smartTOCHideUnfocusedChildren = false
|
|||||||
showHero = true
|
showHero = true
|
||||||
heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
|
heroStyle = "background" # valid options: basic, big, background, thumbAndBackground
|
||||||
layoutBackgroundBlur = true # only used when heroStyle equals background
|
layoutBackgroundBlur = true # only used when heroStyle equals background
|
||||||
|
layoutBackgroundHeaderSpace = true # only used when heroStyle equals background
|
||||||
showBreadcrumbs = true
|
showBreadcrumbs = true
|
||||||
showDraftLabel = true
|
showDraftLabel = true
|
||||||
showEdit = true
|
showEdit = true
|
||||||
@@ -72,11 +84,11 @@ smartTOCHideUnfocusedChildren = false
|
|||||||
showReadingTime = true
|
showReadingTime = true
|
||||||
showTableOfContents = true
|
showTableOfContents = true
|
||||||
showRelatedContent = true
|
showRelatedContent = true
|
||||||
relatedContentLimit = 6
|
relatedContentLimit = 9
|
||||||
showTaxonomies = true
|
showTaxonomies = true
|
||||||
showAuthorsBadges = true
|
showAuthorsBadges = true
|
||||||
showWordCount = false
|
showWordCount = false
|
||||||
sharingLinks = [ "linkedin", "twitter", "bluesky", "reddit", "whatsapp", "telegram", "pinterest", "facebook", "email"]
|
sharingLinks = [ "linkedin", "twitter", "bluesky", "reddit", "whatsapp", "telegram", "pinterest", "facebook", "email", "line"]
|
||||||
showZenMode = true
|
showZenMode = true
|
||||||
|
|
||||||
[list]
|
[list]
|
||||||
@@ -149,7 +161,7 @@ smartTOCHideUnfocusedChildren = false
|
|||||||
globalWidget = true
|
globalWidget = true
|
||||||
globalWidgetMessage = ""
|
globalWidgetMessage = ""
|
||||||
globalWidgetColor = "#FFDD00"
|
globalWidgetColor = "#FFDD00"
|
||||||
globalWidgetPosition = "Right"
|
globalWidgetPosition = "right"
|
||||||
|
|
||||||
[verification]
|
[verification]
|
||||||
# google = ""
|
# google = ""
|
||||||
@@ -160,3 +172,6 @@ smartTOCHideUnfocusedChildren = false
|
|||||||
[rssnext]
|
[rssnext]
|
||||||
# feedId = ""
|
# feedId = ""
|
||||||
# userId = ""
|
# userId = ""
|
||||||
|
|
||||||
|
[advertisement]
|
||||||
|
# adsense = ""
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# Development configuration. Disable this by running: hugo server -e production
|
||||||
|
# https://gohugo.io/quick-reference/glossary/#environment
|
||||||
|
|
||||||
|
# Exclude folders containing large numbers of images
|
||||||
|
ignoreFiles = ['content/guides', 'content/users']
|
||||||
@@ -3,22 +3,22 @@ title: "Benvenuti a Blowfish!"
|
|||||||
description: "Questa pagina è stata creata utilizzando il tema Blowfish per Hugo."
|
description: "Questa pagina è stata creata utilizzando il tema Blowfish per Hugo."
|
||||||
---
|
---
|
||||||
<div class="flex px-4 py-2 mb-8 text-base rounded-md bg-primary-100 dark:bg-primary-900">
|
<div class="flex px-4 py-2 mb-8 text-base rounded-md bg-primary-100 dark:bg-primary-900">
|
||||||
<span class="flex items-center ltr:pr-3 rtl:pl-3 text-primary-400">
|
<span class="flex items-center pe-3 text-primary-400">
|
||||||
{{< icon "triangle-exclamation" >}}
|
{{< icon "triangle-exclamation" >}}
|
||||||
</span>
|
</span>
|
||||||
<span class="flex items-center justify-between grow dark:text-neutral-300">
|
<span class="flex items-center justify-between grow dark:text-neutral-300">
|
||||||
<span class="prose dark:prose-invert">Questa è una demo del layout <code id="layout">background</code>.</span>
|
<span class="prose dark:prose-invert">Questa è una demo del layout <code id="layout">background</code>.</span>
|
||||||
<pulsante
|
<button
|
||||||
id="interruttore-layout-pulsante"
|
id="switch-layout-button"
|
||||||
class="px-4 !text-neutral !no-underline round-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
|
class="px-4 mx-[3px] !text-neutral !no-underline rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
|
||||||
>
|
>
|
||||||
Cambia layout ↻
|
Cambia layout ↻
|
||||||
</pulsante>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
```node
|
```shell
|
||||||
npx blowfish-tools
|
npx blowfish-tools
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -5,14 +5,14 @@ description: "このページは Hugo の Blowfish テーマを利用して構
|
|||||||
|
|
||||||
|
|
||||||
<div class="flex px-4 py-2 mb-8 text-base rounded-md bg-primary-100 dark:bg-primary-900">
|
<div class="flex px-4 py-2 mb-8 text-base rounded-md bg-primary-100 dark:bg-primary-900">
|
||||||
<span class="flex items-center ltr:pr-3 rtl:pl-3 text-primary-400">
|
<span class="flex items-center pe-3 text-primary-400">
|
||||||
{{< icon "triangle-exclamation" >}}
|
{{< icon "triangle-exclamation" >}}
|
||||||
</span>
|
</span>
|
||||||
<span class="flex items-center justify-between grow dark:text-neutral-300">
|
<span class="flex items-center justify-between grow dark:text-neutral-300">
|
||||||
<span class="prose dark:prose-invert">こちらは <code id="layout">background</code> レイアウトのデモです。</span>
|
<span class="prose dark:prose-invert">こちらは <code id="layout">background</code> レイアウトのデモです。</span>
|
||||||
<button
|
<button
|
||||||
id="switch-layout-button"
|
id="switch-layout-button"
|
||||||
class="px-4 !text-neutral !no-underline rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
|
class="px-4 mx-[3px] !text-neutral !no-underline rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
|
||||||
>
|
>
|
||||||
レイアウトを変更する↻
|
レイアウトを変更する↻
|
||||||
</button>
|
</button>
|
||||||
@@ -20,7 +20,7 @@ description: "このページは Hugo の Blowfish テーマを利用して構
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
```node
|
```shell
|
||||||
npx blowfish-tools
|
npx blowfish-tools
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -5,14 +5,14 @@ description: "This page was built using the Blowfish theme for Hugo."
|
|||||||
|
|
||||||
|
|
||||||
<div class="flex px-4 py-2 mb-8 text-base rounded-md bg-primary-100 dark:bg-primary-900">
|
<div class="flex px-4 py-2 mb-8 text-base rounded-md bg-primary-100 dark:bg-primary-900">
|
||||||
<span class="flex items-center ltr:pr-3 rtl:pl-3 text-primary-400">
|
<span class="flex items-center pe-3 text-primary-400">
|
||||||
{{< icon "triangle-exclamation" >}}
|
{{< icon "triangle-exclamation" >}}
|
||||||
</span>
|
</span>
|
||||||
<span class="flex items-center justify-between grow dark:text-neutral-300">
|
<span class="flex items-center justify-between grow dark:text-neutral-300">
|
||||||
<span class="prose dark:prose-invert">This is a demo of the <code id="layout">background</code> layout.</span>
|
<span class="prose dark:prose-invert">This is a demo of the <code id="layout">background</code> layout.</span>
|
||||||
<button
|
<button
|
||||||
id="switch-layout-button"
|
id="switch-layout-button"
|
||||||
class="px-4 !text-neutral !no-underline rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
|
class="px-4 mx-[3px] !text-neutral !no-underline rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
|
||||||
>
|
>
|
||||||
Switch layout ↻
|
Switch layout ↻
|
||||||
</button>
|
</button>
|
||||||
@@ -20,7 +20,7 @@ description: "This page was built using the Blowfish theme for Hugo."
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
```node
|
```shell
|
||||||
npx blowfish-tools
|
npx blowfish-tools
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -5,14 +5,14 @@ description: "此页面是使用 Hugo 的 Blowfish 主题搭建的"
|
|||||||
|
|
||||||
|
|
||||||
<div class="flex px-4 py-2 mb-8 text-base rounded-md bg-primary-100 dark:bg-primary-900">
|
<div class="flex px-4 py-2 mb-8 text-base rounded-md bg-primary-100 dark:bg-primary-900">
|
||||||
<span class="flex items-center ltr:pr-3 rtl:pl-3 text-primary-400">
|
<span class="flex items-center pe-3 text-primary-400">
|
||||||
{{< icon "triangle-exclamation" >}}
|
{{< icon "triangle-exclamation" >}}
|
||||||
</span>
|
</span>
|
||||||
<span class="flex items-center justify-between grow dark:text-neutral-300">
|
<span class="flex items-center justify-between grow dark:text-neutral-300">
|
||||||
<span class="prose dark:prose-invert"> 这是 <code id="layout">background</code> 的样式示例。</span>
|
<span class="prose dark:prose-invert"> 这是 <code id="layout">background</code> 的样式示例。</span>
|
||||||
<button
|
<button
|
||||||
id="switch-layout-button"
|
id="switch-layout-button"
|
||||||
class="px-4 !text-neutral !no-underline rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
|
class="px-4 mx-[3px] !text-neutral !no-underline rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
|
||||||
>
|
>
|
||||||
切换 layout ↻
|
切换 layout ↻
|
||||||
</button>
|
</button>
|
||||||
@@ -20,7 +20,7 @@ description: "此页面是使用 Hugo 的 Blowfish 主题搭建的"
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
```node
|
```shell
|
||||||
npx blowfish-tools
|
npx blowfish-tools
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -197,11 +197,11 @@ npm install
|
|||||||
|
|
||||||
### Run the Tailwind compiler
|
### Run the Tailwind compiler
|
||||||
|
|
||||||
With the dependencies installed all that's left is to use [Tailwind CLI](https://v2.tailwindcss.com/docs/installation#using-tailwind-cli) to invoke the JIT compiler. Navigate back to the root of your Hugo project and issue the following command:
|
With the dependencies installed all that's left is to use [Tailwind CLI](https://tailwindcss.com/docs/installation/tailwind-cli) to invoke the JIT compiler. Navigate back to the root of your Hugo project and issue the following command:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cd ../..
|
cd ../..
|
||||||
./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit
|
./themes/blowfish/node_modules/@tailwindcss/cli/dist/index.mjs -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit
|
||||||
```
|
```
|
||||||
|
|
||||||
It's a bit of an ugly command due to the paths involved but essentially you're calling Tailwind CLI and passing it the location of the Tailwind config file (the one we looked at above), where to find the theme's `main.css` file and then where you want the compiled CSS file to be placed (it's going into the `assets/css/compiled/` folder of your Hugo project).
|
It's a bit of an ugly command due to the paths involved but essentially you're calling Tailwind CLI and passing it the location of the Tailwind config file (the one we looked at above), where to find the theme's `main.css` file and then where you want the compiled CSS file to be placed (it's going into the `assets/css/compiled/` folder of your Hugo project).
|
||||||
@@ -223,8 +223,8 @@ To fully complete this solution, you can simplify this whole process by adding a
|
|||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"server": "hugo server -b http://localhost -p 8000",
|
"server": "hugo server -b http://localhost -p 8000",
|
||||||
"dev": "NODE_ENV=development ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit -w",
|
"dev": "NODE_ENV=development ./themes/blowfish/node_modules/@tailwindcss/cli/dist/index.mjs -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit -w",
|
||||||
"build": "NODE_ENV=production ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit"
|
"build": "NODE_ENV=production ./themes/blowfish/node_modules/@tailwindcss/cli/dist/index.mjs -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit"
|
||||||
},
|
},
|
||||||
// and more...
|
// and more...
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -198,11 +198,11 @@ npm install
|
|||||||
|
|
||||||
### Tailwind コンパイラを実行する
|
### Tailwind コンパイラを実行する
|
||||||
|
|
||||||
依存関係がインストールされたら、あとは [Tailwind CLI](https://v2.tailwindcss.com/docs/installation#using-tailwind-cli) を使用して JIT コンパイラを呼び出すだけです。Hugo プロジェクトのルートに戻り、次のコマンドを実行します。
|
依存関係がインストールされたら、あとは [Tailwind CLI](https://tailwindcss.com/docs/installation/tailwind-cli) を使用して JIT コンパイラを呼び出すだけです。Hugo プロジェクトのルートに戻り、次のコマンドを実行します。
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cd ../..
|
cd ../..
|
||||||
./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit
|
./themes/blowfish/node_modules/@tailwindcss/cli/dist/index.mjs -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit
|
||||||
```
|
```
|
||||||
|
|
||||||
関係するパスのため少し見苦しいコマンドですが、基本的に Tailwind CLI を呼び出し、Tailwind 設定ファイルの場所(上で見たもの)、テーマの `main.css` ファイルの場所、そしてコンパイル済み CSS ファイルを配置する場所(Hugo プロジェクトの `assets/css/compiled/` フォルダ)を渡しています。
|
関係するパスのため少し見苦しいコマンドですが、基本的に Tailwind CLI を呼び出し、Tailwind 設定ファイルの場所(上で見たもの)、テーマの `main.css` ファイルの場所、そしてコンパイル済み CSS ファイルを配置する場所(Hugo プロジェクトの `assets/css/compiled/` フォルダ)を渡しています。
|
||||||
@@ -224,8 +224,8 @@ cd ../..
|
|||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"server": "hugo server -b http://localhost -p 8000",
|
"server": "hugo server -b http://localhost -p 8000",
|
||||||
"dev": "NODE_ENV=development ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit -w",
|
"dev": "NODE_ENV=development ./themes/blowfish/node_modules/@tailwindcss/cli/dist/index.mjs -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit -w",
|
||||||
"build": "NODE_ENV=production ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit"
|
"build": "NODE_ENV=production ./themes/blowfish/node_modules/@tailwindcss/cli/dist/index.mjs -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit"
|
||||||
},
|
},
|
||||||
// その他...
|
// その他...
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -197,11 +197,11 @@ npm install
|
|||||||
|
|
||||||
### Run the Tailwind compiler
|
### Run the Tailwind compiler
|
||||||
|
|
||||||
With the dependencies installed all that's left is to use [Tailwind CLI](https://v2.tailwindcss.com/docs/installation#using-tailwind-cli) to invoke the JIT compiler. Navigate back to the root of your Hugo project and issue the following command:
|
With the dependencies installed all that's left is to use [Tailwind CLI](https://tailwindcss.com/docs/installation/tailwind-cli) to invoke the JIT compiler. Navigate back to the root of your Hugo project and issue the following command:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cd ../..
|
cd ../..
|
||||||
./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit
|
./themes/blowfish/node_modules/@tailwindcss/cli/dist/index.mjs -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit
|
||||||
```
|
```
|
||||||
|
|
||||||
It's a bit of an ugly command due to the paths involved but essentially you're calling Tailwind CLI and passing it the location of the Tailwind config file (the one we looked at above), where to find the theme's `main.css` file and then where you want the compiled CSS file to be placed (it's going into the `assets/css/compiled/` folder of your Hugo project).
|
It's a bit of an ugly command due to the paths involved but essentially you're calling Tailwind CLI and passing it the location of the Tailwind config file (the one we looked at above), where to find the theme's `main.css` file and then where you want the compiled CSS file to be placed (it's going into the `assets/css/compiled/` folder of your Hugo project).
|
||||||
@@ -223,8 +223,8 @@ To fully complete this solution, you can simplify this whole process by adding a
|
|||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"server": "hugo server -b http://localhost -p 8000",
|
"server": "hugo server -b http://localhost -p 8000",
|
||||||
"dev": "NODE_ENV=development ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit -w",
|
"dev": "NODE_ENV=development ./themes/blowfish/node_modules/@tailwindcss/cli/dist/index.mjs -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit -w",
|
||||||
"build": "NODE_ENV=production ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit"
|
"build": "NODE_ENV=production ./themes/blowfish/node_modules/@tailwindcss/cli/dist/index.mjs -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit"
|
||||||
},
|
},
|
||||||
// and more...
|
// and more...
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ series_order: 13
|
|||||||
|
|
||||||
## Hugo 项目结构
|
## Hugo 项目结构
|
||||||
|
|
||||||
在开始讨论之前,首先简要介绍一下 [Hugo 项目结构](https://gohugo.io/getting-started/directory-struct/) 以及管理内容和主题自定义的最佳方式。
|
在开始讨论之前,首先简要介绍一下 [Hugo 项目结构](https://gohugo.io/getting-started/directory-structure/) 以及管理内容和主题自定义的最佳方式。
|
||||||
|
|
||||||
{{< alert >}}
|
{{< alert >}}
|
||||||
**总结:** 切勿直接编辑主题文件。一定要仅在 Hugo 项目的子目录中进行自定义,而不是在主题目录中进行自定义。
|
**总结:** 切勿直接编辑主题文件。一定要仅在 Hugo 项目的子目录中进行自定义,而不是在主题目录中进行自定义。
|
||||||
@@ -196,11 +196,11 @@ npm install
|
|||||||
|
|
||||||
### 运行 Tailwind 编译器
|
### 运行 Tailwind 编译器
|
||||||
|
|
||||||
安装依赖项后,接下来可以使用 [Tailwind CLI](https://v2.tailwindcss.com/docs/installation#using-tailwind-cli) 来调用 JIT 编译器。返回 Hugo 项目的根目录并在终端输入以下命令:
|
安装依赖项后,接下来可以使用 [Tailwind CLI](https://tailwindcss.com/docs/installation/tailwind-cli) 来调用 JIT 编译器。返回 Hugo 项目的根目录并在终端输入以下命令:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cd ../..
|
cd ../..
|
||||||
./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit
|
./themes/blowfish/node_modules/@tailwindcss/cli/dist/index.mjs -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit
|
||||||
```
|
```
|
||||||
|
|
||||||
这个命令稍微有点复杂,因为涉及到几个路径。但本质上你是在调用 Tailwind CLI 并提供下面三个参数:
|
这个命令稍微有点复杂,因为涉及到几个路径。但本质上你是在调用 Tailwind CLI 并提供下面三个参数:
|
||||||
@@ -225,8 +225,8 @@ cd ../..
|
|||||||
"description": "",
|
"description": "",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"server": "hugo server -b http://localhost -p 8000",
|
"server": "hugo server -b http://localhost -p 8000",
|
||||||
"dev": "NODE_ENV=development ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit -w",
|
"dev": "NODE_ENV=development ./themes/blowfish/node_modules/@tailwindcss/cli/dist/index.mjs -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit -w",
|
||||||
"build": "NODE_ENV=production ./themes/blowfish/node_modules/tailwindcss/lib/cli.js -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit"
|
"build": "NODE_ENV=production ./themes/blowfish/node_modules/@tailwindcss/cli/dist/index.mjs -c ./themes/blowfish/tailwind.config.js -i ./themes/blowfish/assets/css/main.css -o ./assets/css/compiled/main.css --jit"
|
||||||
},
|
},
|
||||||
// and more...
|
// and more...
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,28 +28,28 @@ npx blowfish-tools
|
|||||||
La configurazione predefinita del tema è documentata in ogni file in modo da poter regolare liberamente le impostazioni per soddisfare le proprie esigenze.
|
La configurazione predefinita del tema è documentata in ogni file in modo da poter regolare liberamente le impostazioni per soddisfare le proprie esigenze.
|
||||||
|
|
||||||
{{< alert >}}
|
{{< alert >}}
|
||||||
As outlined in the [installation instructions]({{< ref "/docs/installation#set-up-theme-configuration-files" >}}), you should adjust your theme configuration by modifying the files in the `config/_default/` folder of your Hugo project and delete the `config.toml` file in your project root.
|
As outlined in the [installation instructions]({{< ref "/docs/installation#set-up-theme-configuration-files" >}}), you should adjust your theme configuration by modifying the files in the `config/_default/` folder of your Hugo project and delete the `hugo.toml` file in your project root.
|
||||||
{{< /alert >}}
|
{{< /alert >}}
|
||||||
|
|
||||||
## Configurazioni del sito
|
## Configurazioni del sito
|
||||||
|
|
||||||
Standard Hugo configuration variables are respected throughout the theme, however there are some specific things that should be configured for the best experience.
|
Standard Hugo configuration variables are respected throughout the theme, however there are some specific things that should be configured for the best experience.
|
||||||
|
|
||||||
La configurazione del sito viene gestita tramite il file `config/_default/config.toml`. La tabella seguente descrive tutte le impostazioni di cui si avvale Blowfish.
|
La configurazione del sito viene gestita tramite il file `config/_default/hugo.toml`. La tabella seguente descrive tutte le impostazioni di cui si avvale Blowfish.
|
||||||
|
|
||||||
Tieni presente che i nomi delle variabili forniti in questa tabella utilizzano il punto per semplificare la struttura dei dati TOML (ad esempio, "outputs.home" si riferisce a "[outputs] home").
|
Tieni presente che i nomi delle variabili forniti in questa tabella utilizzano il punto per semplificare la struttura dei dati TOML (ad esempio, "outputs.home" si riferisce a "[outputs] home").
|
||||||
|
|
||||||
<!-- prettier-ignore-start -->
|
<!-- prettier-ignore-start -->
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------ | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `theme` | `"blowfish"` | Quando si utilizzano i moduli Hugo, questo valore di configurazione deve essere rimosso. Per tutti gli altri tipi di installazione, questo deve essere impostato su "blowfish" affinché il tema funzioni. |
|
| `theme` | `"blowfish"` | Quando si utilizzano i moduli Hugo, questo valore di configurazione deve essere rimosso. Per tutti gli altri tipi di installazione, questo deve essere impostato su "blowfish" affinché il tema funzioni. |
|
||||||
| `baseURL` | _Not set_ | The URL to the root of the website. |
|
| `baseURL` | _Not set_ | The URL to the root of the website. |
|
||||||
| `defaultContentLanguage` | `"en"` | This value determines the default language of theme components and content. Refer to the [language and i18n](#language-and-i18n) section below for supported language codes. |
|
| `defaultContentLanguage` | `"en"` | This value determines the default language of theme components and content. Refer to the [language and i18n](#lingua-e-i18n) section below for supported language codes. |
|
||||||
| `enableRobotsTXT` | `true` | Se abilitato, verrà creato un file "robots.txt" nella radice del sito che consentirà ai motori di ricerca di eseguire la scansione dell'intero sito. Se preferisci fornire il tuo file `robots.txt` predefinito, impostalo su `false` e posiziona il file nella directory `static`. Per un controllo completo, puoi fornire un [layout personalizzato]({{< ref "content-examples#custom-layouts" >}}) per generare questo file. |
|
| `enableRobotsTXT` | `true` | Se abilitato, verrà creato un file "robots.txt" nella radice del sito che consentirà ai motori di ricerca di eseguire la scansione dell'intero sito. Se preferisci fornire il tuo file `robots.txt` predefinito, impostalo su `false` e posiziona il file nella directory `static`. Per un controllo completo, puoi fornire un [layout personalizzato]({{< ref "content-examples#custom-layouts" >}}) per generare questo file. |
|
||||||
| `pagination.pagerSize` | `10` | Il numero di articoli elencati in ciascuna pagina dell'elenco degli articoli. |
|
| `pagination.pagerSize` | `10` | Il numero di articoli elencati in ciascuna pagina dell'elenco degli articoli. |
|
||||||
| `summaryLength` | `0` | Il numero di parole utilizzate per generare il riepilogo dell'articolo quando non ne viene fornita una nella [front matter]({{< ref "front-matter" >}}). Un valore pari a "0" utilizzerà la prima frase. Questo valore non ha effetto quando i riepiloghi sono nascosti. |
|
| `summaryLength` | `0` | Il numero di parole utilizzate per generare il riepilogo dell'articolo quando non ne viene fornita una nella [front matter]({{< ref "front-matter" >}}). Un valore pari a "0" utilizzerà la prima frase. Questo valore non ha effetto quando i riepiloghi sono nascosti. |
|
||||||
| `outputs.home` | `["HTML", "RSS", "JSON"]` | I formati di output generati per il sito. Blowfish richiede HTML, RSS e JSON affinché tutti i componenti del tema funzionino correttamente. |
|
| `outputs.home` | `["HTML", "RSS", "JSON"]` | I formati di output generati per il sito. Blowfish richiede HTML, RSS e JSON affinché tutti i componenti del tema funzionino correttamente. |
|
||||||
| `permalinks` | _Not set_ | Fare riferimento alla [documentazione di Hugo](https://gohugo.io/content-management/urls/#permalinks) per la configurazione del permalink. |
|
| `permalinks` | _Not set_ | Fare riferimento alla [documentazione di Hugo](https://gohugo.io/configuration/permalinks/) per la configurazione del permalink. |
|
||||||
| `taxonomies` | _Not set_ | Fare riferimento alla sezione [Organizzazione dei contenuti]({{< ref "getting-started#organising-content" >}}) per la configurazione della tassonomia. |
|
| `taxonomies` | _Not set_ | Fare riferimento alla sezione [Organizzazione dei contenuti]({{< ref "getting-started#organising-content" >}}) per la configurazione della tassonomia. |
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
@@ -91,6 +91,7 @@ Il tema attualmente supporta le seguenti lingue per impostazione predefinita:
|
|||||||
| Portuguese (Portugal) | `pt-pt` |
|
| Portuguese (Portugal) | `pt-pt` |
|
||||||
| Romanian | `ro` |
|
| Romanian | `ro` |
|
||||||
| Russian | `ru` |
|
| Russian | `ru` |
|
||||||
|
| Thai | `th` |
|
||||||
| Turkish | `tr` |
|
| Turkish | `tr` |
|
||||||
| Vietnamese | `vi` |
|
| Vietnamese | `vi` |
|
||||||
| Ukrainian | `uk` |
|
| Ukrainian | `uk` |
|
||||||
@@ -106,14 +107,14 @@ Per essere il più flessibili possibile, è necessario creare un file di configu
|
|||||||
Il file predefinito può essere utilizzato come modello per creare lingue aggiuntive o rinominato se desideri creare il tuo sito web in una lingua diversa dall'inglese. Basta nominare il file utilizzando il formato "lingue.[language-code].toml".
|
Il file predefinito può essere utilizzato come modello per creare lingue aggiuntive o rinominato se desideri creare il tuo sito web in una lingua diversa dall'inglese. Basta nominare il file utilizzando il formato "lingue.[language-code].toml".
|
||||||
|
|
||||||
{{< alert >}}
|
{{< alert >}}
|
||||||
**Nota:** assicurati che il parametro `defaultContentLanguage` nella [configurazione del sito](#site-configuration) corrisponda al codice della lingua nel nome del file di configurazione della lingua.
|
**Nota:** assicurati che il parametro `defaultContentLanguage` nella [configurazione del sito](#configurazioni-del-sito) corrisponda al codice della lingua nel nome del file di configurazione della lingua.
|
||||||
{{< /alert >}}
|
{{< /alert >}}
|
||||||
|
|
||||||
#### Globale
|
#### Globale
|
||||||
|
|
||||||
<!-- prettier-ignore-start -->
|
<!-- prettier-ignore-start -->
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| -------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| --- | --- | --- |
|
||||||
| `languageCode` | `"en"` | Il codice della lingua Hugo per questo file. Può essere una lingua di livello superiore (ad esempio "en") o una variante secondaria (ad esempio "en-au") e deve corrispondere al codice della lingua nel nome del file. Hugo si aspetta che questo valore sia sempre in minuscolo. Per una corretta conformità HTML, imposta il parametro "isoCode" che fa distinzione tra maiuscole e minuscole. |
|
| `languageCode` | `"en"` | Il codice della lingua Hugo per questo file. Può essere una lingua di livello superiore (ad esempio "en") o una variante secondaria (ad esempio "en-au") e deve corrispondere al codice della lingua nel nome del file. Hugo si aspetta che questo valore sia sempre in minuscolo. Per una corretta conformità HTML, imposta il parametro "isoCode" che fa distinzione tra maiuscole e minuscole. |
|
||||||
| `languageName` | `"English"` | Il nome della lingua. |
|
| `languageName` | `"English"` | Il nome della lingua. |
|
||||||
| `weight` | `1` | Il peso determina l'ordine delle lingue durante la creazione di siti multilingue. |
|
| `weight` | `1` | Il peso determina l'ordine delle lingue durante la creazione di siti multilingue. |
|
||||||
@@ -124,11 +125,11 @@ Il file predefinito può essere utilizzato come modello per creare lingue aggiun
|
|||||||
|
|
||||||
<!-- prettier-ignore-start -->
|
<!-- prettier-ignore-start -->
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ---------------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `params.displayName` | `"EN"` | Il nome utilizzato quando la lingua appare sul sito web. |
|
| `params.displayName` | `"EN"` | Il nome utilizzato quando la lingua appare sul sito web. |
|
||||||
| `params.isoCode` | `"en"` | Il codice della lingua ISO per scopi di metadati HTML. Può essere una lingua di livello superiore (es. `en`) o una sottovariante (es. `en-AU`). |
|
| `params.isoCode` | `"en"` | Il codice della lingua ISO per scopi di metadati HTML. Può essere una lingua di livello superiore (es. `en`) o una sottovariante (es. `en-AU`). |
|
||||||
| `params.rtl` | `false` | Se si tratta o meno di un linguaggio RTL. Imposta su "true" per ridisporre il contenuto da destra a sinistra. Blowfish supporta pienamente l'uso simultaneo dei linguaggi RTL e LTR e si adatterà dinamicamente ad entrambi. |
|
| `params.rtl` | `false` | Se si tratta o meno di un linguaggio RTL. Imposta su "true" per ridisporre il contenuto da destra a sinistra. Blowfish supporta pienamente l'uso simultaneo dei linguaggi RTL e LTR e si adatterà dinamicamente ad entrambi. |
|
||||||
| `params.dateFormat` | `"2 January 2006"` | Come vengono formattate le date in questa lingua. Fare riferimento alla [documentazione di Hugo](https://gohugo.io/functions/format/#gos-layout-string) per i formati accettabili. |
|
| `params.dateFormat` | `"2 January 2006"` | Come vengono formattate le date in questa lingua. Fare riferimento alla [documentazione di Hugo](https://gohugo.io/functions/time/format/#layout-string) per i formati accettabili. |
|
||||||
| `params.logo` | _Not set_ | Il percorso relativo al file del logo del sito all'interno della cartella "assets/". Il file del logo deve essere fornito con una risoluzione 2x e supporta qualsiasi dimensione dell'immagine. |
|
| `params.logo` | _Not set_ | Il percorso relativo al file del logo del sito all'interno della cartella "assets/". Il file del logo deve essere fornito con una risoluzione 2x e supporta qualsiasi dimensione dell'immagine. |
|
||||||
| `params.secondaryLogo` | _Not set_ | The relative path to the secondary site logo file within the `assets/` folder. The logo file should be provided at 2x resolution and supports any image dimensions. This should have an inverted/contrasting colour scheme to `logo`. If set, this logo will be shown when users toggle from the `defaultAppearance` mode. |
|
| `params.secondaryLogo` | _Not set_ | The relative path to the secondary site logo file within the `assets/` folder. The logo file should be provided at 2x resolution and supports any image dimensions. This should have an inverted/contrasting colour scheme to `logo`. If set, this logo will be shown when users toggle from the `defaultAppearance` mode. |
|
||||||
| `params.description` | _Not set_ | The website description. This will be used in the site metadata. |
|
| `params.description` | _Not set_ | The website description. This will be used in the site metadata. |
|
||||||
@@ -139,7 +140,7 @@ Il file predefinito può essere utilizzato come modello per creare lingue aggiun
|
|||||||
#### Author
|
#### Author
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ----------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `author.name` | _Not set_ | The author's name. This will be displayed in article footers, and on the homepage when the profile layout is used. |
|
| `author.name` | _Not set_ | The author's name. This will be displayed in article footers, and on the homepage when the profile layout is used. |
|
||||||
| `author.image` | _Not set_ | Path to the image file of the author. The image should be a 1:1 aspect ratio. The image can be placed in the site's `assets/` folder or can be external url. |
|
| `author.image` | _Not set_ | Path to the image file of the author. The image should be a 1:1 aspect ratio. The image can be placed in the site's `assets/` folder or can be external url. |
|
||||||
| `author.headline` | _Not set_ | A Markdown string containing the author's headline. It will be displayed on the profile homepage under the author's name. |
|
| `author.headline` | _Not set_ | A Markdown string containing the author's headline. It will be displayed on the profile homepage under the author's name. |
|
||||||
@@ -166,37 +167,43 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
### Global
|
### Global
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `colorScheme` | `"blowfish"` | The theme colour scheme to use. Valid values are `blowfish` (default), `avocado`, `fire`, `ocean`, `forest`, `princess`, `neon`, `bloody`, `terminal`, `marvel`, `noir`, `autumn`, `congo`, and`slate`. Refer to the [Colour Schemes]({{< ref "getting-started#colour-schemes" >}}) section for more details. |
|
| `colorScheme` | `"blowfish"` | The theme colour scheme to use. Valid values are `blowfish` (default), `avocado`, `fire`, `ocean`, `forest`, `princess`, `neon`, `bloody`, `terminal`, `marvel`, `noir`, `autumn`, `congo`, and`slate`. Refer to the [Colour Schemes]({{< ref "getting-started#colour-schemes" >}}) section for more details. |
|
||||||
| `defaultAppearance` | `"light"` | The default theme appearance, either `light` or `dark`. |
|
| `defaultAppearance` | `"light"` | The default theme appearance, either `light` or `dark`. |
|
||||||
| `autoSwitchAppearance` | `true` | Whether the theme appearance automatically switches based upon the visitor's operating system preference. Set to `false` to force the site to always use the `defaultAppearance`. |
|
| `autoSwitchAppearance` | `true` | Whether the theme appearance automatically switches based upon the visitor's operating system preference. Set to `false` to force the site to always use the `defaultAppearance`. |
|
||||||
| `enableSearch` | `false` | Whether site search is enabled. Set to `true` to enable search functionality. Note that the search feature depends on the `outputs.home` setting in the [site configuration](#site-configuration) being set correctly. |
|
| `enableA11y` | `false` | Whether to enable the accessibility toggle button. |
|
||||||
|
| `enableSearch` | `false` | Whether site search is enabled. Set to `true` to enable search functionality. Note that the search feature depends on the `outputs.home` setting in the [site configuration](#configurazioni-del-sito) being set correctly. |
|
||||||
| `enableCodeCopy` | `false` | Whether copy-to-clipboard buttons are enabled for `<code>` blocks. The `highlight.noClasses` parameter must be set to `false` for code copy to function correctly. Read more about [other configuration files](#other-configuration-files) below. |
|
| `enableCodeCopy` | `false` | Whether copy-to-clipboard buttons are enabled for `<code>` blocks. The `highlight.noClasses` parameter must be set to `false` for code copy to function correctly. Read more about [other configuration files](#other-configuration-files) below. |
|
||||||
| `mainSections` | _Not set_ | The sections that should be displayed in the recent articles list. If not provided the section with the greatest number of articles is used. |
|
| `mainSections` | _Not set_ | The sections that should be displayed in the recent articles list. If not provided the section with the greatest number of articles is used. |
|
||||||
| `showViews` | _Not set_ | Whether or not articles and list views are displayed. This requires firebase integrations to be enabled, look below. |
|
| `showViews` | _Not set_ | Whether or not articles and list views are displayed. This requires firebase integrations to be enabled, look below. |
|
||||||
| `showLikes` | _Not set_ | Whether or not articles and list likes are displayed. This requires firebase integrations to be enabled, look below. |
|
| `showLikes` | _Not set_ | Whether or not articles and list likes are displayed. This requires firebase integrations to be enabled, look below. |
|
||||||
| `robots` | _Not set_ | String that indicates how robots should handle your site. If set, it will be output in the page head. Refer to [Google's docs](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives) for valid values. |
|
| `robots` | _Not set_ | String that indicates how robots should handle your site. If set, it will be output in the page head. Refer to [Google's docs](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives) for valid values. |
|
||||||
| `disableImageZoom` | `false` | Disables image zoom feature across all the images in the site. |
|
| `disableImageZoom` | `false` | Disables image zoom feature across all the images in the site. |
|
||||||
| `disableImageOptimization` | `false` | Disables image resize and optimization features across all the images in the site. |
|
| `disableImageOptimization` | `false` | Disables image resize and optimization features across all the images in the site, except images using markdown syntax (``) |
|
||||||
|
| `disableImageOptimizationMD` | `false` | Disables image resize and optimization features only for images using markdown syntax (``). |
|
||||||
| `disableTextInHeader` | `false` | Disables text in header, useful for logo based headers. |
|
| `disableTextInHeader` | `false` | Disables text in header, useful for logo based headers. |
|
||||||
| `defaultBackgroundImage` | _Not set_ | Default background image for both `background` homepage layout and `background` hero style |
|
| `defaultBackgroundImage` | _Not set_ | Default background image for both `background` homepage layout and `background` hero style |
|
||||||
| `defaultFeaturedImage` | _Not set_ | Default background image for all `featured` images across articles, will be overridden by a local `featured` image. |
|
| `defaultFeaturedImage` | _Not set_ | Default background image for all `featured` images across articles, will be overridden by a local `featured` image. |
|
||||||
|
| `defaultSocialImage` | _Not set_ | Default image for social media sharing (Open Graph and Twitter). Will be overridden by a local `feature` image if available. |
|
||||||
|
| `hotlinkFeatureImage` | `false` | Hotlink external images in article feature images and article cards. Those images will not be processed by Hugo. |
|
||||||
|
| `imagePosition` | _Not set_ | Sets the position of the default image using `object-position` attribute. Valid values are as specified in the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position#try_it). |
|
||||||
| `highlightCurrentMenuArea` | _Not set_ | Marks menu entries in the main menu when selected |
|
| `highlightCurrentMenuArea` | _Not set_ | Marks menu entries in the main menu when selected |
|
||||||
| `smartTOC` | _Not set_ | Activate smart Table of Contents, items in view will be highlighted. |
|
| `smartTOC` | _Not set_ | Activate smart Table of Contents, items in view will be highlighted. |
|
||||||
| `smartTOCHideUnfocusedChildren` | _Not set_ | When smart Table of Contents is turned on, this will hide deeper levels of the table when they are not in focus. |
|
| `smartTOCHideUnfocusedChildren` | _Not set_ | When smart Table of Contents is turned on, this will hide deeper levels of the table when they are not in focus. |
|
||||||
|
| `fingerprintAlgorithm` | `"sha512"` | Hash algorithm for CSS/JS file fingerprinting to prevent browser caching issues. Valid values are `sha512` (default), `sha384`, `sha256`. |
|
||||||
|
|
||||||
### Header
|
### Header
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| --------------- | --------- | ------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `header.layout` | `"basic"` | Defines the header for the entire site, supported values are `basic`, `fixed`, `fixed-fill`, and `fixed-fill-blur`. |
|
| `header.layout` | `"basic"` | Defines the header for the entire site, supported values are `basic`, `fixed`, `fixed-fill`, and `fixed-fill-blur`. |
|
||||||
|
|
||||||
### Footer
|
### Footer
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `footer.showMenu` | `true` | Show/hide the footer menu, which can be configured in the `[[footer]]` section of the `config/_default/menus.en.toml` file. |
|
| `footer.showMenu` | `true` | Show/hide the footer menu, which can be configured in the `[[footer]]` section of the `config/_default/menus.en.toml` file. |
|
||||||
| `footer.showCopyright` | `true` | Whether or not to show the copyright string in the site footer. Note that the string itself can be customised using the `copyright` parameter in the [languages configuration](#language-and-i18n). |
|
| `footer.showCopyright` | `true` | Whether or not to show the copyright string in the site footer. Note that the string itself can be customised using the `copyright` parameter in the [languages configuration](#lingua-e-i18n). |
|
||||||
| `footer.showThemeAttribution` | `true` | Whether or not to show the "powered by" theme attribution in the site footer. If you choose to disable this message, please consider attributing the theme somewhere else on your site (for example, on your about page). |
|
| `footer.showThemeAttribution` | `true` | Whether or not to show the "powered by" theme attribution in the site footer. If you choose to disable this message, please consider attributing the theme somewhere else on your site (for example, on your about page). |
|
||||||
| `footer.showAppearanceSwitcher` | `false` | Whether or not to show the appearance switcher in the site footer. The browser's local storage is used to persist the visitor's preference. |
|
| `footer.showAppearanceSwitcher` | `false` | Whether or not to show the appearance switcher in the site footer. The browser's local storage is used to persist the visitor's preference. |
|
||||||
| `footer.showScrollToTop` | `true` | When set to `true` the scroll to top arrow is displayed. |
|
| `footer.showScrollToTop` | `true` | When set to `true` the scroll to top arrow is displayed. |
|
||||||
@@ -204,7 +211,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
### Homepage
|
### Homepage
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| --- | --- | --- |
|
||||||
| `homepage.layout` | `"profile"` | The layout of the homepage. Valid values are `page`, `profile`, `hero`, `card`, `background`, or `custom`. When set to `custom`, you must provide your own layout by creating a `/layouts/partials/home/custom.html` file. Refer to the [Homepage Layout]({{< ref "homepage-layout" >}}) section for more details. |
|
| `homepage.layout` | `"profile"` | The layout of the homepage. Valid values are `page`, `profile`, `hero`, `card`, `background`, or `custom`. When set to `custom`, you must provide your own layout by creating a `/layouts/partials/home/custom.html` file. Refer to the [Homepage Layout]({{< ref "homepage-layout" >}}) section for more details. |
|
||||||
| `homepage.homepageImage` | _Not set_ | Image to be used in `hero` and `card` layouts. Can be set as local image from asset directory or external image url. Refer to the [Homepage Layout]({{< ref "homepage-layout" >}}) section for more details. |
|
| `homepage.homepageImage` | _Not set_ | Image to be used in `hero` and `card` layouts. Can be set as local image from asset directory or external image url. Refer to the [Homepage Layout]({{< ref "homepage-layout" >}}) section for more details. |
|
||||||
| `homepage.showRecent` | `false` | Whether or not to display the recent articles list on the homepage. |
|
| `homepage.showRecent` | `false` | Whether or not to display the recent articles list on the homepage. |
|
||||||
@@ -214,11 +221,12 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
| `homepage.cardView` | `false` | Display recent articles as a gallery of cards. |
|
| `homepage.cardView` | `false` | Display recent articles as a gallery of cards. |
|
||||||
| `homepage.cardViewScreenWidth` | `false` | Enhance the width of the recent articles card gallery to take the full width available. |
|
| `homepage.cardViewScreenWidth` | `false` | Enhance the width of the recent articles card gallery to take the full width available. |
|
||||||
| `homepage.layoutBackgroundBlur` | `false` | Makes the background image in the homepage layout blur with the scroll |
|
| `homepage.layoutBackgroundBlur` | `false` | Makes the background image in the homepage layout blur with the scroll |
|
||||||
|
| `homepage.disableHeroImageFilter` | `false` | Whether to apply an image filter on the homepage background. |
|
||||||
|
|
||||||
### Article
|
### Article
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------------------- | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `article.showDate` | `true` | Whether or not article dates are displayed. |
|
| `article.showDate` | `true` | Whether or not article dates are displayed. |
|
||||||
| `article.showViews` | `false` | Whether or not article views are displayed. This requires firebase integrations to be enabled, look below. |
|
| `article.showViews` | `false` | Whether or not article views are displayed. This requires firebase integrations to be enabled, look below. |
|
||||||
| `article.showLikes` | `false` | Whether or not article likes are displayed. This requires firebase integrations to be enabled, look below. |
|
| `article.showLikes` | `false` | Whether or not article likes are displayed. This requires firebase integrations to be enabled, look below. |
|
||||||
@@ -241,26 +249,26 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
| `article.invertPagination` | `false` | Whether or not to flip the direction of the next/previous article links. |
|
| `article.invertPagination` | `false` | Whether or not to flip the direction of the next/previous article links. |
|
||||||
| `article.showReadingTime` | `true` | Whether or not article reading times are displayed. |
|
| `article.showReadingTime` | `true` | Whether or not article reading times are displayed. |
|
||||||
| `article.showTableOfContents` | `false` | Whether or not the table of contents is displayed on articles. |
|
| `article.showTableOfContents` | `false` | Whether or not the table of contents is displayed on articles. |
|
||||||
| `article.showRelatedContent` | `false` | Display related content for each post. Might required additional configuration to your `config.toml`. Please check the theme `config.toml` if you want to enable this feature and copy all the relevant _related_ entries. Also check [Hugo's docs](https://gohugo.io/content-management/related/) on related content. |
|
| `article.showRelatedContent` | `false` | Display related content for each post. Might required additional configuration to your `hugo.toml`. Please check the theme `hugo.toml` if you want to enable this feature and copy all the relevant _related_ entries. Also check [Hugo's docs](https://gohugo.io/content-management/related/) on related content. |
|
||||||
| `article.relatedContentLimit` | `3` | Limit of related articles to display if `showRelatedContent` is turned on. |
|
| `article.relatedContentLimit` | `3` | Limit of related articles to display if `showRelatedContent` is turned on. |
|
||||||
| `article.showTaxonomies` | `false` | Whether or not the taxonomies related to this article are displayed. |
|
| `article.showTaxonomies` | `false` | Whether or not the taxonomies related to this article are displayed. |
|
||||||
| `article.showAuthorsBadges` | `false` | Whether the `authors` taxonomies are are displayed in the article or list header. This requires the setup of `multiple authors` and the `authors` taxonomy. Check [this page]({{< ref "multi-author" >}}) for more details on how to configure that feature. |
|
| `article.showAuthorsBadges` | `false` | Whether the `authors` taxonomies are are displayed in the article or list header. This requires the setup of `multiple authors` and the `authors` taxonomy. Check [this page]({{< ref "multi-author" >}}) for more details on how to configure that feature. |
|
||||||
| `article.showWordCount` | `false` | Whether or not article word counts are displayed. |
|
| `article.showWordCount` | `false` | Whether or not article word counts are displayed. |
|
||||||
| `article.showComments` | `false` | Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer. |
|
| `article.showComments` | `false` | Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer. |
|
||||||
| `article.sharingLinks` | _Not set_ | Which sharing links to display at the end of each article. When not provided, or set to `false` no links will be displayed. Available values are: "linkedin", "bluesky", "mastodon", "twitter", "reddit", "pinterest", "facebook", "email", "whatsapp", and "telegram" |
|
| `article.sharingLinks` | _Not set_ | Which sharing links to display at the end of each article. When not provided, or set to `false` no links will be displayed. Available values are: "bluesky", "email", "facebook", "line", "linkedin", "mastodon", "pinterest", "reddit", "telegram", "twitter", and "whatsapp" |
|
||||||
| `article.showZenMode` | `false` | Flag to activate Zen Mode reading feature for articles. |
|
| `article.showZenMode` | `false` | Flag to activate Zen Mode reading feature for articles. |
|
||||||
|
|
||||||
### List
|
### List
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ---------------------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `list.showHero` | `false` | Whether the thumbnail image will be shown as a hero image within each list page. |
|
| `list.showHero` | `false` | Whether the thumbnail image will be shown as a hero image within each list page. |
|
||||||
| `list.heroStyle` | _Not set_ | Style to display the hero image, valid options are: `basic`, `big`, `background`, `thumbAndBackground`. |
|
| `list.heroStyle` | _Not set_ | Style to display the hero image, valid options are: `basic`, `big`, `background`, `thumbAndBackground`. |
|
||||||
| `list.showBreadcrumbs` | `false` | Whether or not breadcrumbs are displayed in the header on list pages. |
|
| `list.showBreadcrumbs` | `false` | Whether or not breadcrumbs are displayed in the header on list pages. |
|
||||||
| `list.layoutBackgroundBlur` | `true` | Makes the background image in the background list heroStyle blur with the scroll |
|
| `list.layoutBackgroundBlur` | `true` | Makes the background image in the background list heroStyle blur with the scroll |
|
||||||
| `list.layoutBackgroundHeaderSpace` | `true` | Add space between the header and the body. |
|
| `list.layoutBackgroundHeaderSpace` | `true` | Add space between the header and the body. |
|
||||||
| `list.showTableOfContents` | `false` | Whether or not the table of contents is displayed on list pages. |
|
| `list.showTableOfContents` | `false` | Whether or not the table of contents is displayed on list pages. |
|
||||||
| `list.showSummary` | `false` | Whether or not article summaries are displayed on list pages. If a summary is not provided in the [front matter]({{< ref "front-matter" >}}), one will be auto generated using the `summaryLength` parameter in the [site configuration](#site-configuration). |
|
| `list.showSummary` | `false` | Whether or not article summaries are displayed on list pages. If a summary is not provided in the [front matter]({{< ref "front-matter" >}}), one will be auto generated using the `summaryLength` parameter in the [site configuration](#configurazioni-del-sito). |
|
||||||
| `list.showViews` | `false` | Whether or not list views are displayed. This requires firebase integrations to be enabled, look below. |
|
| `list.showViews` | `false` | Whether or not list views are displayed. This requires firebase integrations to be enabled, look below. |
|
||||||
| `list.showLikes` | `false` | Whether or not list likes are displayed. This requires firebase integrations to be enabled, look below. |
|
| `list.showLikes` | `false` | Whether or not list likes are displayed. This requires firebase integrations to be enabled, look below. |
|
||||||
| `list.showCards` | `false` | Whether or not each article is displayed as a card or as simple inline text. |
|
| `list.showCards` | `false` | Whether or not each article is displayed as a card or as simple inline text. |
|
||||||
@@ -274,13 +282,13 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
### Sitemap
|
### Sitemap
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ----------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `sitemap.excludedKinds` | `["taxonomy", "term"]` | Kinds of content that should be excluded from the generated `/sitemap.xml` file. Refer to the [Hugo docs](https://gohugo.io/templates/section-templates/#page-kinds) for acceptable values. |
|
| `sitemap.excludedKinds` | `["taxonomy", "term"]` | Kinds of content that should be excluded from the generated `/sitemap.xml` file. Refer to the [Hugo docs](https://gohugo.io/methods/page/kind/) for acceptable values. |
|
||||||
|
|
||||||
### Taxonomy
|
### Taxonomy
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------------ | --------- | ---------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `taxonomy.showTermCount` | `true` | Whether or not the number of articles within a taxonomy term is displayed on the taxonomy listing. |
|
| `taxonomy.showTermCount` | `true` | Whether or not the number of articles within a taxonomy term is displayed on the taxonomy listing. |
|
||||||
| `taxonomy.showHero` | `false` | Whether the thumbnail image will be shown as a hero image within each taxonomy page. |
|
| `taxonomy.showHero` | `false` | Whether the thumbnail image will be shown as a hero image within each taxonomy page. |
|
||||||
| `taxonomy.heroStyle` | _Not set_ | Style to display the hero image, valid options are: `basic`, `big`, `background`, `thumbAndBackground`. |
|
| `taxonomy.heroStyle` | _Not set_ | Style to display the hero image, valid options are: `basic`, `big`, `background`, `thumbAndBackground`. |
|
||||||
@@ -293,7 +301,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
### Term
|
### Term
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| -------------------------- | --------- | ---------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `term.showHero` | `false` | Whether the thumbnail image will be shown as a hero image within each term page. |
|
| `term.showHero` | `false` | Whether the thumbnail image will be shown as a hero image within each term page. |
|
||||||
| `term.heroStyle` | _Not set_ | Style to display the hero image, valid options are: `basic`, `big`, `background`, `thumbAndBackground`. |
|
| `term.heroStyle` | _Not set_ | Style to display the hero image, valid options are: `basic`, `big`, `background`, `thumbAndBackground`. |
|
||||||
| `term.showBreadcrumbs` | `false` | Whether or not breadcrumbs are displayed in the term header. |
|
| `term.showBreadcrumbs` | `false` | Whether or not breadcrumbs are displayed in the term header. |
|
||||||
@@ -307,7 +315,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
### Firebase
|
### Firebase
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ---------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `firebase.apiKey` | _Not set_ | Firebase apiKey, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish. |
|
| `firebase.apiKey` | _Not set_ | Firebase apiKey, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish. |
|
||||||
| `firebase.authDomain` | _Not set_ | Firebase authDomain, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish. |
|
| `firebase.authDomain` | _Not set_ | Firebase authDomain, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish. |
|
||||||
| `firebase.projectId` | _Not set_ | Firebase projectId, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish. |
|
| `firebase.projectId` | _Not set_ | Firebase projectId, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish. |
|
||||||
@@ -319,14 +327,14 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
### Fathom Analytics
|
### Fathom Analytics
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------ | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `fathomAnalytics.site` | _Not set_ | The site code generated by Fathom Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details. |
|
| `fathomAnalytics.site` | _Not set_ | The site code generated by Fathom Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details. |
|
||||||
| `fathomAnalytics.domain` | _Not set_ | If using a custom domain with Fathom Analytics, provide it here to serve `script.js` from the custom domain. |
|
| `fathomAnalytics.domain` | _Not set_ | If using a custom domain with Fathom Analytics, provide it here to serve `script.js` from the custom domain. |
|
||||||
|
|
||||||
### Umami Analytics
|
### Umami Analytics
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| -------------------------- | --------- |----------------------------------------------------------------------------------------------------------------------------------------------------|
|
| --- | --- | --- |
|
||||||
| `umamiAnalytics.websiteid` | _Not set_ | The site code generated by Umami Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details. |
|
| `umamiAnalytics.websiteid` | _Not set_ | The site code generated by Umami Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details. |
|
||||||
| `umamiAnalytics.domain` | _Not set_ | If using a custom domain with Umami Analytics, provide it here to serve `script.js` from the custom domain. |
|
| `umamiAnalytics.domain` | _Not set_ | If using a custom domain with Umami Analytics, provide it here to serve `script.js` from the custom domain. |
|
||||||
| `umamiAnalytics.dataDomains` | _Not set_ | If you want the tracker to only run on specific domains, provide it for your tracker script. This is a comma delimited list of domain names. Such as "yoursite.com,yoursite2.com". |
|
| `umamiAnalytics.dataDomains` | _Not set_ | If you want the tracker to only run on specific domains, provide it for your tracker script. This is a comma delimited list of domain names. Such as "yoursite.com,yoursite2.com". |
|
||||||
@@ -336,37 +344,43 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
### Seline Analytics
|
### Seline Analytics
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
|-----------------------------------|-----------|-------------------------------------------------------------------------------------------------------------------------------------------|
|
| --- | --- | --- |
|
||||||
| `selineAnalytics.token` | _Not set_ | The token generated by Seline Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details. |
|
| `selineAnalytics.token` | _Not set_ | The token generated by Seline Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details. |
|
||||||
| `selineAnalytics.enableTrackEvent` | true | When set to `true` track event will add automatically. If you do not want to add track event, set it to `false`. |
|
| `selineAnalytics.enableTrackEvent` | true | When set to `true` track event will add automatically. If you do not want to add track event, set it to `false`. |
|
||||||
|
|
||||||
### BuyMeACoffee
|
### BuyMeACoffee
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ----------------------------------- | --------- | --------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `buymeacoffee.identifier` | _Not set_ | The identifier to the target buymeacoffee account. |
|
| `buymeacoffee.identifier` | _Not set_ | The identifier to the target buymeacoffee account. |
|
||||||
| `buymeacoffee.globalWidget` | _Not set_ | Activate the global buymeacoffee widget. |
|
| `buymeacoffee.globalWidget` | _Not set_ | Activate the global buymeacoffee widget. |
|
||||||
| `buymeacoffee.globalWidgetMessage` | _Not set_ | Message what will be displayed the first time a new user lands on the site. |
|
| `buymeacoffee.globalWidgetMessage` | _Not set_ | Message what will be displayed the first time a new user lands on the site. |
|
||||||
| `buymeacoffee.globalWidgetColor` | _Not set_ | Widget color in hex format. |
|
| `buymeacoffee.globalWidgetColor` | `#FFDD00` | Widget color in hex format. |
|
||||||
| `buymeacoffee.globalWidgetPosition` | _Not set_ | Position of the widget, i.e. "Left" or "Right" |
|
| `buymeacoffee.globalWidgetPosition` | _Not set_ | Position of the widget, i.e. "left" or "right" |
|
||||||
|
|
||||||
### Verifications
|
### Verifications
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------ | --------- | --------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `verification.google` | _Not set_ | The site verification string provided by Google to be included in the site metadata. |
|
| `verification.google` | _Not set_ | The site verification string provided by Google to be included in the site metadata. |
|
||||||
| `verification.bing` | _Not set_ | The site verification string provided by Bing to be included in the site metadata. |
|
| `verification.bing` | _Not set_ | The site verification string provided by Bing to be included in the site metadata. |
|
||||||
| `verification.pinterest` | _Not set_ | The site verification string provided by Pinterest to be included in the site metadata. |
|
| `verification.pinterest` | _Not set_ | The site verification string provided by Pinterest to be included in the site metadata. |
|
||||||
| `verification.yandex` | _Not set_ | The site verification string provided by Yandex to be included in the site metadata. |
|
| `verification.yandex` | _Not set_ | The site verification string provided by Yandex to be included in the site metadata. |
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
## RSSNext
|
### RSSNext
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------ | --------- |--------------------------------------------------------------------------------------------------------------------------------------|
|
| --- | --- | --- |
|
||||||
| `rssnext.feedId` | _Not set_ | The rss `feedId` string provided by [RSSNext/Follow](https://follow.is/) to be included in the `rss.xml`, which can helps to claim rss feed as your own. |
|
| `rssnext.feedId` | _Not set_ | The rss `feedId` string provided by [RSSNext/Follow](https://follow.is/) to be included in the `rss.xml`, which can helps to claim rss feed as your own. |
|
||||||
| `rssnext.userId` | _Not set_ | The rss `userId` string provided by [RSSNext/Follow](https://follow.is/) to be included in the `rss.xml`, which can helps to claim rss feed as your own. |
|
| `rssnext.userId` | _Not set_ | The rss `userId` string provided by [RSSNext/Follow](https://follow.is/) to be included in the `rss.xml`, which can helps to claim rss feed as your own. |
|
||||||
|
|
||||||
|
### Advertisement
|
||||||
|
|
||||||
|
| Name | Default | Description |
|
||||||
|
| ------------------------ | --------- |-------------|
|
||||||
|
| `advertisement.adsense` | _Not set_ | Your Google AdSense Publisher ID (e.g. `ca-pub-1234567890abcdef`). Set this parameter to enable AdSense ads on your site. |
|
||||||
|
|
||||||
## Other configuration files
|
## Other configuration files
|
||||||
|
|
||||||
The theme also includes a `markup.toml` configuration file. This file contains some important parameters that ensure that Hugo is correctly configured to generate sites built with Blowfish.
|
The theme also includes a `markup.toml` configuration file. This file contains some important parameters that ensure that Hugo is correctly configured to generate sites built with Blowfish.
|
||||||
|
|||||||
@@ -27,14 +27,14 @@ npx blowfish-tools
|
|||||||
デフォルトのテーマ設定は各ファイルに記載されているため、必要に応じて設定を自由に調整できます。
|
デフォルトのテーマ設定は各ファイルに記載されているため、必要に応じて設定を自由に調整できます。
|
||||||
|
|
||||||
{{< alert >}}
|
{{< alert >}}
|
||||||
[インストール手順]({{< ref "/docs/installation#set-up-theme-configuration-files" >}})で概説されているように、Hugo プロジェクトの `config/_default/` フォルダ内のファイルを修正し、プロジェクトルートの `config.toml` ファイルを削除することで、テーマ設定を調整する必要があります。
|
[インストール手順]({{< ref "/docs/installation#set-up-theme-configuration-files" >}})で概説されているように、Hugo プロジェクトの `config/_default/` フォルダ内のファイルを修正し、プロジェクトルートの `hugo.toml` ファイルを削除することで、テーマ設定を調整する必要があります。
|
||||||
{{< /alert >}}
|
{{< /alert >}}
|
||||||
|
|
||||||
## サイト設定
|
## サイト設定
|
||||||
|
|
||||||
テーマ全体で標準の Hugo 設定変数が適用されますが、最適なエクスペリエンスを得るために設定する必要がある特定の事項があります。
|
テーマ全体で標準の Hugo 設定変数が適用されますが、最適なエクスペリエンスを得るために設定する必要がある特定の事項があります。
|
||||||
|
|
||||||
サイト設定は `config/_default/config.toml` ファイルで管理されます。 下の表は、Blowfish が活用するすべての設定の概要を示しています。
|
サイト設定は `config/_default/hugo.toml` ファイルで管理されます。 下の表は、Blowfish が活用するすべての設定の概要を示しています。
|
||||||
|
|
||||||
この表で提供されている変数名は、TOML データ構造を簡素化するためにドット表記を使用していることに注意してください(つまり、 `outputs.home` は `[outputs] home` を指します)。
|
この表で提供されている変数名は、TOML データ構造を簡素化するためにドット表記を使用していることに注意してください(つまり、 `outputs.home` は `[outputs] home` を指します)。
|
||||||
|
|
||||||
@@ -48,7 +48,7 @@ npx blowfish-tools
|
|||||||
| `pagination.pagerSize` | `10` | 記事リストの各ページにリストされる記事の数です。 |
|
| `pagination.pagerSize` | `10` | 記事リストの各ページにリストされる記事の数です。 |
|
||||||
| `summaryLength` | `0` | [フロントマター]({{< ref "front-matter" >}})で提供されていない場合に、記事の概要を生成するために使用される単語の数です。 値 `0` は最初の文を使用します。 概要が非表示になっている場合、この値は効果がありません。 |
|
| `summaryLength` | `0` | [フロントマター]({{< ref "front-matter" >}})で提供されていない場合に、記事の概要を生成するために使用される単語の数です。 値 `0` は最初の文を使用します。 概要が非表示になっている場合、この値は効果がありません。 |
|
||||||
| `outputs.home` | `["HTML", "RSS", "JSON"]` | サイト用に生成される出力形式です。 Blowfish では、すべてのテーマコンポーネントが正しく機能するために HTML、RSS、JSON が必要です。 |
|
| `outputs.home` | `["HTML", "RSS", "JSON"]` | サイト用に生成される出力形式です。 Blowfish では、すべてのテーマコンポーネントが正しく機能するために HTML、RSS、JSON が必要です。 |
|
||||||
| `permalinks` | _未設定_ | パーマリンクの設定については、[Hugo ドキュメント](https://gohugo.io/content-management/urls/#permalinks)を参照してください。 |
|
| `permalinks` | _未設定_ | パーマリンクの設定については、[Hugo ドキュメント](https://gohugo.io/configuration/permalinks/)を参照してください。 |
|
||||||
| `taxonomies` | _未設定_ | 分類の設定については、[コンテンツの整理]({{< ref "getting-started#コンテンツの整理" >}})セクションを参照してください。 |
|
| `taxonomies` | _未設定_ | 分類の設定については、[コンテンツの整理]({{< ref "getting-started#コンテンツの整理" >}})セクションを参照してください。 |
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ Blowfish は多言語ウェブサイト向けに最適化されており、テ
|
|||||||
このテーマは現在、デフォルトで次の言語をサポートしています:
|
このテーマは現在、デフォルトで次の言語をサポートしています:
|
||||||
|
|
||||||
| 言語 | コード |
|
| 言語 | コード |
|
||||||
|---|---|
|
| -------------------------- | ------- |
|
||||||
| アラビア語 | `ar` |
|
| アラビア語 | `ar` |
|
||||||
| ブルガリア語 | `bg` |
|
| ブルガリア語 | `bg` |
|
||||||
| ベンガル語 | `bn` |
|
| ベンガル語 | `bn` |
|
||||||
@@ -90,6 +90,7 @@ Blowfish は多言語ウェブサイト向けに最適化されており、テ
|
|||||||
| ポルトガル語(ブラジル) | `pt-br` |
|
| ポルトガル語(ブラジル) | `pt-br` |
|
||||||
| ポルトガル語(ポルトガル) | `pt-pt` |
|
| ポルトガル語(ポルトガル) | `pt-pt` |
|
||||||
| ルーマニア語 | `ro` |
|
| ルーマニア語 | `ro` |
|
||||||
|
| タイ人 | `th` |
|
||||||
| ロシア語 | `ru` |
|
| ロシア語 | `ru` |
|
||||||
| トルコ語 | `tr` |
|
| トルコ語 | `tr` |
|
||||||
| ベトナム語 | `vi` |
|
| ベトナム語 | `vi` |
|
||||||
@@ -127,7 +128,7 @@ Blowfish は多言語ウェブサイト向けに最適化されており、テ
|
|||||||
| `params.displayName` | `"EN"` | ウェブサイトに言語が表示されるときに使用される名前です。 |
|
| `params.displayName` | `"EN"` | ウェブサイトに言語が表示されるときに使用される名前です。 |
|
||||||
| `params.isoCode` | `"en"` | HTML メタデータ用の ISO 言語コードです。トップレベル言語(例: `en`)またはサブバリアント(例: `en-AU`)にすることができます。 |
|
| `params.isoCode` | `"en"` | HTML メタデータ用の ISO 言語コードです。トップレベル言語(例: `en`)またはサブバリアント(例: `en-AU`)にすることができます。 |
|
||||||
| `params.rtl` | `false` | これが RTL 言語かどうかです。`true` に設定すると、コンテンツが右から左に並べ替えられます。 Blowfish は RTL 言語と LTR 言語の同時使用を完全にサポートしており、両方に動的に調整されます。 |
|
| `params.rtl` | `false` | これが RTL 言語かどうかです。`true` に設定すると、コンテンツが右から左に並べ替えられます。 Blowfish は RTL 言語と LTR 言語の同時使用を完全にサポートしており、両方に動的に調整されます。 |
|
||||||
| `params.dateFormat` | `"2 January 2006"` | この言語での日付のフォーマット方法です。使用できる形式については、[Hugo ドキュメント](https://gohugo.io/functions/format/#gos-layout-string)を参照してください。 |
|
| `params.dateFormat` | `"2 January 2006"` | この言語での日付のフォーマット方法です。使用できる形式については、[Hugo ドキュメント](https://gohugo.io/functions/time/format/#layout-string)を参照してください。 |
|
||||||
| `params.logo` | _未設定_ | `assets/` フォルダ内のサイトロゴファイルへの相対パスです。ロゴファイルは2倍の解像度で提供する必要があり、あらゆる画像サイズをサポートしています。 |
|
| `params.logo` | _未設定_ | `assets/` フォルダ内のサイトロゴファイルへの相対パスです。ロゴファイルは2倍の解像度で提供する必要があり、あらゆる画像サイズをサポートしています。 |
|
||||||
| `params.secondaryLogo` | _未設定_ | `assets/` フォルダ内のセカンダリサイトロゴファイルへの相対パスです。 ロゴファイルは2倍の解像度で提供する必要があり、あらゆる画像サイズをサポートしています。 これは、`logo` とは反転/対照的なカラースキームである必要があります。設定されている場合、このロゴは、ユーザーが `defaultAppearance` モードから切り替えたときに表示されます。 |
|
| `params.secondaryLogo` | _未設定_ | `assets/` フォルダ内のセカンダリサイトロゴファイルへの相対パスです。 ロゴファイルは2倍の解像度で提供する必要があり、あらゆる画像サイズをサポートしています。 これは、`logo` とは反転/対照的なカラースキームである必要があります。設定されている場合、このロゴは、ユーザーが `defaultAppearance` モードから切り替えたときに表示されます。 |
|
||||||
| `params.description` | _未設定_ | ウェブサイトの説明です。これはサイトのメタデータで使用されます。 |
|
| `params.description` | _未設定_ | ウェブサイトの説明です。これはサイトのメタデータで使用されます。 |
|
||||||
@@ -138,7 +139,7 @@ Blowfish は多言語ウェブサイト向けに最適化されており、テ
|
|||||||
#### 著者(Author)
|
#### 著者(Author)
|
||||||
|
|
||||||
<!-- prettier-ignore-start -->
|
<!-- prettier-ignore-start -->
|
||||||
| 名前 | デフォルト | 説明 |
|
| 名前 | デフォルト | 説明 |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| `author.name` | _未設定_ | 著者の名前です。これは、記事のフッターと、プロフィールレイアウトが使用されている場合はホームページに表示されます。 |
|
| `author.name` | _未設定_ | 著者の名前です。これは、記事のフッターと、プロフィールレイアウトが使用されている場合はホームページに表示されます。 |
|
||||||
| `author.image` | _未設定_ | 著者の画像ファイルへのパスです。画像は縦横比 1:1 である必要があります。画像は、サイトの `assets/` フォルダに配置することも、外部 URL にすることもできます。 |
|
| `author.image` | _未設定_ | 著者の画像ファイルへのパスです。画像は縦横比 1:1 である必要があります。画像は、サイトの `assets/` フォルダに配置することも、外部 URL にすることもできます。 |
|
||||||
@@ -170,6 +171,7 @@ Blowfish は、テーマの機能を制御する多数の設定パラメータ
|
|||||||
| `colorScheme` | `"blowfish"` | 使用するテーマのカラースキームです。有効な値は、`blowfish`(デフォルト)、`avocado`、`fire`、`ocean`、`forest`、`princess`、`neon`、`bloody`、`terminal`、`marvel`、`noir`、`autumn`、`congo`、`slate` です。詳細については、[カラースキーム]({{< ref "getting-started#カラースキーム" >}})セクションを参照してください。 |
|
| `colorScheme` | `"blowfish"` | 使用するテーマのカラースキームです。有効な値は、`blowfish`(デフォルト)、`avocado`、`fire`、`ocean`、`forest`、`princess`、`neon`、`bloody`、`terminal`、`marvel`、`noir`、`autumn`、`congo`、`slate` です。詳細については、[カラースキーム]({{< ref "getting-started#カラースキーム" >}})セクションを参照してください。 |
|
||||||
| `defaultAppearance` | `"light"` | デフォルトのテーマの外観です。`light` または `dark` のいずれかです。 |
|
| `defaultAppearance` | `"light"` | デフォルトのテーマの外観です。`light` または `dark` のいずれかです。 |
|
||||||
| `autoSwitchAppearance` | `true` | 訪問者のオペレーティングシステムの設定に基づいてテーマの外観を自動的に切り替えるかどうかです。`false` に設定すると、サイトは常に `defaultAppearance` を使用します。 |
|
| `autoSwitchAppearance` | `true` | 訪問者のオペレーティングシステムの設定に基づいてテーマの外観を自動的に切り替えるかどうかです。`false` に設定すると、サイトは常に `defaultAppearance` を使用します。 |
|
||||||
|
| `enableA11y` | `false` | アクセシビリティ切り替えボタンを有効にするかどうか。 |
|
||||||
| `enableSearch` | `false` | サイト内検索が有効かどうかです。`true` に設定すると、検索機能が有効になります。検索機能は、[サイト設定](#サイト設定)の `outputs.home` 設定が正しく設定されているかどうかに依存することに注意してください。 |
|
| `enableSearch` | `false` | サイト内検索が有効かどうかです。`true` に設定すると、検索機能が有効になります。検索機能は、[サイト設定](#サイト設定)の `outputs.home` 設定が正しく設定されているかどうかに依存することに注意してください。 |
|
||||||
| `enableCodeCopy` | `false` | `<code>` ブロックのクリップボードへのコピーボタンを有効にするかどうかです。コードコピーが正しく機能するには、`highlight.noClasses` パラメータを `false` に設定する必要があります。以下の[その他の設定ファイル](#その他の設定ファイル)について読んでください。 |
|
| `enableCodeCopy` | `false` | `<code>` ブロックのクリップボードへのコピーボタンを有効にするかどうかです。コードコピーが正しく機能するには、`highlight.noClasses` パラメータを `false` に設定する必要があります。以下の[その他の設定ファイル](#その他の設定ファイル)について読んでください。 |
|
||||||
| `mainSections` | _未設定_ | 最近の記事リストに表示するセクションです。指定しない場合は、記事数が最も多いセクションが使用されます。 |
|
| `mainSections` | _未設定_ | 最近の記事リストに表示するセクションです。指定しない場合は、記事数が最も多いセクションが使用されます。 |
|
||||||
@@ -177,13 +179,18 @@ Blowfish は、テーマの機能を制御する多数の設定パラメータ
|
|||||||
| `showLikes` | _未設定_ | 記事とリストのいいねを表示するかどうかです。これには Firebase 統合を有効にする必要があります。以下をご覧ください。 |
|
| `showLikes` | _未設定_ | 記事とリストのいいねを表示するかどうかです。これには Firebase 統合を有効にする必要があります。以下をご覧ください。 |
|
||||||
| `robots` | _未設定_ | ロボットがサイトをどのように処理するかを示す文字列です。設定されている場合、ページヘッダーに出力されます。有効な値については、[Google のドキュメント](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives)を参照してください。 |
|
| `robots` | _未設定_ | ロボットがサイトをどのように処理するかを示す文字列です。設定されている場合、ページヘッダーに出力されます。有効な値については、[Google のドキュメント](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives)を参照してください。 |
|
||||||
| `disableImageZoom` | `false` | サイト内のすべての画像の画像ズーム機能を無効にします。 |
|
| `disableImageZoom` | `false` | サイト内のすべての画像の画像ズーム機能を無効にします。 |
|
||||||
| `disableImageOptimization` | `false` | サイト内のすべての画像の画像サイズ変更と最適化機能を無効にします。 |
|
| `disableImageOptimization` | `false` | サイト内のすべての画像の画像サイズ変更と最適化機能を無効にします。Markdown 記法(例:``)の画像は対象外です。 |
|
||||||
|
| `disableImageOptimizationMD` | `false` | Markdown 記法(例:``)の画像の画像サイズ変更と最適化機能のみを無効にします。他の画像には適用されます。 |
|
||||||
| `disableTextInHeader` | `false` | ヘッダーのテキストを無効にします。ロゴベースのヘッダーに役立ちます。 |
|
| `disableTextInHeader` | `false` | ヘッダーのテキストを無効にします。ロゴベースのヘッダーに役立ちます。 |
|
||||||
| `defaultBackgroundImage` | _未設定_ | `background` ホームページレイアウトと `background` ヒーロースタイルの両方のデフォルトの背景画像です。 |
|
| `defaultBackgroundImage` | _未設定_ | `background` ホームページレイアウトと `background` ヒーロースタイルの両方のデフォルトの背景画像です。 |
|
||||||
| `defaultFeaturedImage` | _未設定_ | 記事全体のすべての `featured` 画像のデフォルトの背景画像です。ローカルの `featured` 画像によってオーバーライドされます。 |
|
| `defaultFeaturedImage` | _未設定_ | 記事全体のすべての `featured` 画像のデフォルトの背景画像です。ローカルの `featured` 画像によってオーバーライドされます。 |
|
||||||
|
| `defaultSocialImage` | _未設定_ | ソーシャルメディア共有(Open Graph と Twitter)用のデフォルト画像。ローカルの `featured` 画像によってオーバーライドされます。 |
|
||||||
|
| `hotlinkFeatureImage` | `false` | 記事のアイキャッチ画像や記事カードで外部画像をホットリンクします。これらの画像は Hugo によって処理されません。 |
|
||||||
|
| `imagePosition` | _未設定_ | `object-position` 属性を使用してデフォルト画像の位置を設定します。有効な値は [MDN ドキュメント](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position#try_it) に記載されています。 |
|
||||||
| `highlightCurrentMenuArea` | _未設定_ | メインメニューのメニュー項目が選択されているときにマークを付けます。 |
|
| `highlightCurrentMenuArea` | _未設定_ | メインメニューのメニュー項目が選択されているときにマークを付けます。 |
|
||||||
| `smartTOC` | _未設定_ | スマート目次をアクティブにします。表示されている項目が強調表示されます。 |
|
| `smartTOC` | _未設定_ | スマート目次をアクティブにします。表示されている項目が強調表示されます。 |
|
||||||
| `smartTOCHideUnfocusedChildren` | _未設定_ | スマート目次がオンになっている場合、フォーカスされていないときに、テーブルのより深いレベルが非表示になります。 |
|
| `smartTOCHideUnfocusedChildren` | _未設定_ | スマート目次がオンになっている場合、フォーカスされていないときに、テーブルのより深いレベルが非表示になります。 |
|
||||||
|
| `fingerprintAlgorithm` | `"sha512"` | CSS/JSファイルのフィンガープリントに使用するハッシュアルゴリズム。ブラウザキャッシュの問題を防ぎます。有効値は `sha512`(デフォルト)、`sha384`、`sha256`。 |
|
||||||
|
|
||||||
### ヘッダー(Header)
|
### ヘッダー(Header)
|
||||||
|
|
||||||
@@ -193,7 +200,7 @@ Blowfish は、テーマの機能を制御する多数の設定パラメータ
|
|||||||
|
|
||||||
### フッター(Footer)
|
### フッター(Footer)
|
||||||
|
|
||||||
| 名前 | デフォルト | 説明 |
|
| 名前 | デフォルト | 説明 |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| `footer.showMenu` | `true` | フッターメニューを表示/非表示にします。これは、`config/_default/menus.en.toml` ファイルの `[[footer]]` セクションで設定できます。 |
|
| `footer.showMenu` | `true` | フッターメニューを表示/非表示にします。これは、`config/_default/menus.en.toml` ファイルの `[[footer]]` セクションで設定できます。 |
|
||||||
| `footer.showCopyright` | `true` | サイトのフッターに著作権文字列を表示するかどうかです。文字列自体は、[言語設定](#言語と-i18n) の `copyright` パラメータを使用してカスタマイズできることに注意してください。 |
|
| `footer.showCopyright` | `true` | サイトのフッターに著作権文字列を表示するかどうかです。文字列自体は、[言語設定](#言語と-i18n) の `copyright` パラメータを使用してカスタマイズできることに注意してください。 |
|
||||||
@@ -214,10 +221,11 @@ Blowfish は、テーマの機能を制御する多数の設定パラメータ
|
|||||||
| `homepage.cardView` | `false` | 最近の記事をカードのギャラリーとして表示します。 |
|
| `homepage.cardView` | `false` | 最近の記事をカードのギャラリーとして表示します。 |
|
||||||
| `homepage.cardViewScreenWidth` | `false` | 最近の記事カードギャラリーの幅を拡張して、利用可能な幅全体を使用します。 |
|
| `homepage.cardViewScreenWidth` | `false` | 最近の記事カードギャラリーの幅を拡張して、利用可能な幅全体を使用します。 |
|
||||||
| `homepage.layoutBackgroundBlur` | `false` | ホームページレイアウトの背景画像をスクロールに合わせてぼかします。 |
|
| `homepage.layoutBackgroundBlur` | `false` | ホームページレイアウトの背景画像をスクロールに合わせてぼかします。 |
|
||||||
|
| `homepage.disableHeroImageFilter` | `false` | ホームページの背景画像にフィルターを適用するかどうか。 |
|
||||||
|
|
||||||
### 記事(Article)
|
### 記事(Article)
|
||||||
|
|
||||||
| 名前 | デフォルト | 説明 |
|
| 名前 | デフォルト | 説明 |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| `article.showDate` | `true` | 記事の日付を表示するかどうかです。 |
|
| `article.showDate` | `true` | 記事の日付を表示するかどうかです。 |
|
||||||
| `article.showViews` | `false` | 記事の表示回数を表示するかどうかです。これには Firebase 統合を有効にする必要があります。以下をご覧ください。 |
|
| `article.showViews` | `false` | 記事の表示回数を表示するかどうかです。これには Firebase 統合を有効にする必要があります。以下をご覧ください。 |
|
||||||
@@ -241,26 +249,26 @@ Blowfish は、テーマの機能を制御する多数の設定パラメータ
|
|||||||
| `article.invertPagination` | `false` | 次/前の記事リンクの方向を反転するかどうかです。 |
|
| `article.invertPagination` | `false` | 次/前の記事リンクの方向を反転するかどうかです。 |
|
||||||
| `article.showReadingTime` | `true` | 記事の読了時間を表示するかどうかです。 |
|
| `article.showReadingTime` | `true` | 記事の読了時間を表示するかどうかです。 |
|
||||||
| `article.showTableOfContents` | `false` | 記事に目次を表示するかどうかです。 |
|
| `article.showTableOfContents` | `false` | 記事に目次を表示するかどうかです。 |
|
||||||
| `article.showRelatedContent` | `false` | 各投稿の関連記事を表示します。`config.toml` に追加の設定が必要になる場合があります。この機能を有効にする場合は、テーマの `config.toml` を確認し、関連するすべての _related_ エントリをコピーしてください。また、関連記事については [Hugo のドキュメント](https://gohugo.io/content-management/related/) も確認してください。 |
|
| `article.showRelatedContent` | `false` | 各投稿の関連記事を表示します。`hugo.toml` に追加の設定が必要になる場合があります。この機能を有効にする場合は、テーマの `hugo.toml` を確認し、関連するすべての _related_ エントリをコピーしてください。また、関連記事については [Hugo のドキュメント](https://gohugo.io/content-management/related/) も確認してください。 |
|
||||||
| `article.relatedContentLimit` | `3` | `showRelatedContent` がオンになっている場合に表示する関連記事の上限です。 |
|
| `article.relatedContentLimit` | `3` | `showRelatedContent` がオンになっている場合に表示する関連記事の上限です。 |
|
||||||
| `article.showTaxonomies` | `false` | この記事に関連するタクソノミーを表示するかどうかです。 |
|
| `article.showTaxonomies` | `false` | この記事に関連するタクソノミーを表示するかどうかです。 |
|
||||||
| `article.showAuthorsBadges` | `false` | `authors` タクソノミーを記事またはリストのヘッダーに表示するかどうかです。これには、「複数の著者」と `authors` タクソノミーの設定が必要です。この機能の設定方法の詳細については、[このページ]({{< ref "multi-author" >}}) を確認してください。 |
|
| `article.showAuthorsBadges` | `false` | `authors` タクソノミーを記事またはリストのヘッダーに表示するかどうかです。これには、「複数の著者」と `authors` タクソノミーの設定が必要です。この機能の設定方法の詳細については、[このページ]({{< ref "multi-author" >}}) を確認してください。 |
|
||||||
| `article.showWordCount` | `false` | 記事の単語数を表示するかどうかです。 |
|
| `article.showWordCount` | `false` | 記事の単語数を表示するかどうかです。 |
|
||||||
| `article.showComments` | `false` | 記事のフッターの後に [コメントパーシャル]({{< ref "partials#コメント" >}}) を含めるかどうかです。 |
|
| `article.showComments` | `false` | 記事のフッターの後に [コメントパーシャル]({{< ref "partials#コメント" >}}) を含めるかどうかです。 |
|
||||||
| `article.sharingLinks` | _未設定_ | 各記事の最後に表示する共有リンクです。指定されていないか、`false` に設定されている場合、リンクは表示されません。使用可能な値は、<br>"linkedin"、"bluesky"、<br>"mastodon"、"twitter"、"reddit"、<br>"pinterest"、"facebook"、"email"、<br>"whatsapp"、"telegram" です。 |
|
| `article.sharingLinks` | _未設定_ | 各記事の最後に表示する共有リンクです。指定されていないか、`false` に設定されている場合、リンクは表示されません。使用可能な値は、"bluesky"、"email"、"facebook"、"line"、"linkedin"、"mastodon"、"pinterest"、"reddit"、"telegram"、"twitter"、"whatsapp"です。 |
|
||||||
| `article.showZenMode` | `false` | 記事のZenモードリーダー機能を有効にするフラグです。 |
|
| `article.showZenMode` | `false` | 記事のZenモードリーダー機能を有効にするフラグです。 |
|
||||||
|
|
||||||
### リスト(List)
|
### リスト(List)
|
||||||
|
|
||||||
| 名前 | デフォルト | 説明 |
|
| 名前 | デフォルト | 説明 |
|
||||||
| ---------------------------------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `list.showHero` | `false` | 各リストページ内でサムネイル画像をヒーロー画像として表示するかどうか。 |
|
| `list.showHero` | `false` | 各リストページ内でサムネイル画像をヒーロー画像として表示するかどうか。 |
|
||||||
| `list.heroStyle` | _未設定_ | ヒーロー画像の表示スタイル。有効なオプションは `basic`、`big`、`background`、`thumbAndBackground` です。 |
|
| `list.heroStyle` | _未設定_ | ヒーロー画像の表示スタイル。有効なオプションは `basic`、`big`、`background`、`thumbAndBackground` です。 |
|
||||||
| `list.showBreadcrumbs` | `false` | リストページのヘッダーにパンくずリストを表示するかどうか。 |
|
| `list.showBreadcrumbs` | `false` | リストページのヘッダーにパンくずリストを表示するかどうか。 |
|
||||||
| `list.layoutBackgroundBlur` | `true` | `background` リストの heroStyle の背景画像をスクロールでぼかします。 |
|
| `list.layoutBackgroundBlur` | `true` | `background` リストの heroStyle の背景画像をスクロールでぼかします。 |
|
||||||
| `list.layoutBackgroundHeaderSpace` | `true` | ヘッダーと本文の間にスペースを追加します。 |
|
| `list.layoutBackgroundHeaderSpace` | `true` | ヘッダーと本文の間にスペースを追加します。 |
|
||||||
| `list.showTableOfContents` | `false` | リストページに目次を表示するかどうか。 |
|
| `list.showTableOfContents` | `false` | リストページに目次を表示するかどうか。 |
|
||||||
| `list.showSummary` | `false` | リストページに記事の要約を表示するかどうか。[フロントマター]({{< ref "front-matter" >}}) で要約が提供されていない場合、[サイト設定](#site-configuration) の `summaryLength` パラメータを使用して自動的に生成されます。 |
|
| `list.showSummary` | `false` | リストページに記事の要約を表示するかどうか。[フロントマター]({{< ref "front-matter" >}}) で要約が提供されていない場合、[サイト設定](#サイト設定) の `summaryLength` パラメータを使用して自動的に生成されます。 |
|
||||||
| `list.showViews` | `false` | リストの閲覧数を表示するかどうか。これを有効にするには、Firebase の統合を有効にする必要があります。以下をご覧ください。 |
|
| `list.showViews` | `false` | リストの閲覧数を表示するかどうか。これを有効にするには、Firebase の統合を有効にする必要があります。以下をご覧ください。 |
|
||||||
| `list.showLikes` | `false` | リストのいいね数を表示するかどうか。これを有効にするには、Firebase の統合を有効にする必要があります。以下をご覧ください。 |
|
| `list.showLikes` | `false` | リストのいいね数を表示するかどうか。これを有効にするには、Firebase の統合を有効にする必要があります。以下をご覧ください。 |
|
||||||
| `list.showCards` | `false` | 各記事をカードとして表示するか、シンプルなインラインテキストとして表示するかどうか。 |
|
| `list.showCards` | `false` | 各記事をカードとして表示するか、シンプルなインラインテキストとして表示するかどうか。 |
|
||||||
@@ -274,13 +282,13 @@ Blowfish は、テーマの機能を制御する多数の設定パラメータ
|
|||||||
### サイトマップ(Sitemap)
|
### サイトマップ(Sitemap)
|
||||||
|
|
||||||
| 名前 | デフォルト | 説明 |
|
| 名前 | デフォルト | 説明 |
|
||||||
| ----------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `sitemap.excludedKinds` | `["taxonomy", "term"]` | 生成された `/sitemap.xml` ファイルから除外するコンテンツの種類。許容される値については、[Hugo のドキュメント](https://gohugo.io/templates/section-templates/#page-kinds)を参照してください。 |
|
| `sitemap.excludedKinds` | `["taxonomy", "term"]` | 生成された `/sitemap.xml` ファイルから除外するコンテンツの種類。許容される値については、[Hugo のドキュメント](https://gohugo.io/methods/page/kind/)を参照してください。 |
|
||||||
|
|
||||||
### タクソノミー(Taxonomy)
|
### タクソノミー(Taxonomy)
|
||||||
|
|
||||||
| 名前 | デフォルト | 説明 |
|
| 名前 | デフォルト | 説明 |
|
||||||
| ------------------------------ | --------- | ----------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `taxonomy.showTermCount` | `true` | タクソノミーリストにタクソノミー用語内の記事数を表示するかどうか。 |
|
| `taxonomy.showTermCount` | `true` | タクソノミーリストにタクソノミー用語内の記事数を表示するかどうか。 |
|
||||||
| `taxonomy.showHero` | `false` | 各タクソノミーページ内でサムネイル画像をヒーロー画像として表示するかどうか。 |
|
| `taxonomy.showHero` | `false` | 各タクソノミーページ内でサムネイル画像をヒーロー画像として表示するかどうか。 |
|
||||||
| `taxonomy.heroStyle` | _未設定_ | ヒーロー画像の表示スタイル。有効なオプションは `basic`、`big`、`background`、`thumbAndBackground` です。 |
|
| `taxonomy.heroStyle` | _未設定_ | ヒーロー画像の表示スタイル。有効なオプションは `basic`、`big`、`background`、`thumbAndBackground` です。 |
|
||||||
@@ -292,8 +300,8 @@ Blowfish は、テーマの機能を制御する多数の設定パラメータ
|
|||||||
|
|
||||||
### ターム(Term)
|
### ターム(Term)
|
||||||
|
|
||||||
| 名前 | デフォルト | 説明 |
|
| 名前 | デフォルト | 説明 |
|
||||||
| -------------------------- | --------- | ----------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `term.showHero` | `false` | 各タームページ内でサムネイル画像をヒーロー画像として表示するかどうか。 |
|
| `term.showHero` | `false` | 各タームページ内でサムネイル画像をヒーロー画像として表示するかどうか。 |
|
||||||
| `term.heroStyle` | _未設定_ | ヒーロー画像の表示スタイル。有効なオプションは `basic`、`big`、`background`、`thumbAndBackground` です。 |
|
| `term.heroStyle` | _未設定_ | ヒーロー画像の表示スタイル。有効なオプションは `basic`、`big`、`background`、`thumbAndBackground` です。 |
|
||||||
| `term.showBreadcrumbs` | `false` | タームのヘッダーにパンくずリストを表示するかどうか。 |
|
| `term.showBreadcrumbs` | `false` | タームのヘッダーにパンくずリストを表示するかどうか。 |
|
||||||
@@ -306,8 +314,8 @@ Blowfish は、テーマの機能を制御する多数の設定パラメータ
|
|||||||
|
|
||||||
### Firebase
|
### Firebase
|
||||||
|
|
||||||
| 名前 | デフォルト | 説明 |
|
| 名前 | デフォルト | 説明 |
|
||||||
| ---------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `firebase.apiKey` | _未設定_ | Firebase との統合に必要な Firebase API キー。Firebase を Blowfish に統合する方法については、[このページ]({{< ref "firebase-views" >}})を参照してください。 |
|
| `firebase.apiKey` | _未設定_ | Firebase との統合に必要な Firebase API キー。Firebase を Blowfish に統合する方法については、[このページ]({{< ref "firebase-views" >}})を参照してください。 |
|
||||||
| `firebase.authDomain` | _未設定_ | Firebase との統合に必要な Firebase 認証ドメイン。Firebase を Blowfish に統合する方法については、[このページ]({{< ref "firebase-views" >}})を参照してください。 |
|
| `firebase.authDomain` | _未設定_ | Firebase との統合に必要な Firebase 認証ドメイン。Firebase を Blowfish に統合する方法については、[このページ]({{< ref "firebase-views" >}})を参照してください。 |
|
||||||
| `firebase.projectId` | _未設定_ | Firebase との統合に必要な Firebase プロジェクト ID。Firebase を Blowfish に統合する方法については、[このページ]({{< ref "firebase-views" >}})を参照してください。 |
|
| `firebase.projectId` | _未設定_ | Firebase との統合に必要な Firebase プロジェクト ID。Firebase を Blowfish に統合する方法については、[このページ]({{< ref "firebase-views" >}})を参照してください。 |
|
||||||
@@ -318,14 +326,14 @@ Blowfish は、テーマの機能を制御する多数の設定パラメータ
|
|||||||
|
|
||||||
### Fathom Analytics
|
### Fathom Analytics
|
||||||
|
|
||||||
| 名前 | デフォルト | 説明 |
|
| 名前 | デフォルト | 説明 |
|
||||||
| ------------------------ | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `fathomAnalytics.site` | _未設定_ | ウェブサイト用に Fathom Analytics によって生成されたサイトコード。詳細については、[Analytics のドキュメント]({{< ref "partials#アナリティクス" >}})を参照してください。 |
|
| `fathomAnalytics.site` | _未設定_ | ウェブサイト用に Fathom Analytics によって生成されたサイトコード。詳細については、[Analytics のドキュメント]({{< ref "partials#アナリティクス" >}})を参照してください。 |
|
||||||
| `fathomAnalytics.domain` | _未設定_ | Fathom Analytics でカスタムドメインを使用している場合、ここに指定して、`script.js` をカスタムドメインから配信します。 |
|
| `fathomAnalytics.domain` | _未設定_ | Fathom Analytics でカスタムドメインを使用している場合、ここに指定して、`script.js` をカスタムドメインから配信します。 |
|
||||||
|
|
||||||
### Umami Analytics
|
### Umami Analytics
|
||||||
|
|
||||||
| 名前 | デフォルト | 説明 |
|
| 名前 | デフォルト | 説明 |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| `umamiAnalytics.websiteid` | _未設定_ | ウェブサイト用に Umami Analytics によって生成されたサイトコード。詳細については、[Analytics のドキュメント]({{< ref "partials#アナリティクス" >}})を参照してください。 |
|
| `umamiAnalytics.websiteid` | _未設定_ | ウェブサイト用に Umami Analytics によって生成されたサイトコード。詳細については、[Analytics のドキュメント]({{< ref "partials#アナリティクス" >}})を参照してください。 |
|
||||||
| `umamiAnalytics.domain` | _未設定_ | Umami Analytics でカスタムドメインを使用している場合、ここに指定して、`script.js` をカスタムドメインから配信します。 |
|
| `umamiAnalytics.domain` | _未設定_ | Umami Analytics でカスタムドメインを使用している場合、ここに指定して、`script.js` をカスタムドメインから配信します。 |
|
||||||
@@ -335,38 +343,44 @@ Blowfish は、テーマの機能を制御する多数の設定パラメータ
|
|||||||
|
|
||||||
### Seline Analytics
|
### Seline Analytics
|
||||||
|
|
||||||
| 名前 | デフォルト | 説明 |
|
| 名前 | デフォルト | 説明 |
|
||||||
|-----------------------------------|-----------|-------------------------------------------------------------------------------------------------------------------------------------------|
|
| --- | --- | --- |
|
||||||
| `selineAnalytics.token` | _未設定_ | ウェブサイト用に Seline Analytics によって生成されたトークン。詳細については、[Analytics のドキュメント]({{< ref "partials#アナリティクス" >}})を参照してください。 |
|
| `selineAnalytics.token` | _未設定_ | ウェブサイト用に Seline Analytics によって生成されたトークン。詳細については、[Analytics のドキュメント]({{< ref "partials#アナリティクス" >}})を参照してください。 |
|
||||||
| `selineAnalytics.enableTrackEvent` | `true` | `true` に設定すると、トラックイベントが自動的に追加されます。トラックイベントを追加したくない場合は、`false` に設定してください。 |
|
| `selineAnalytics.enableTrackEvent` | `true` | `true` に設定すると、トラックイベントが自動的に追加されます。トラックイベントを追加したくない場合は、`false` に設定してください。 |
|
||||||
|
|
||||||
### BuyMeACoffee
|
### BuyMeACoffee
|
||||||
|
|
||||||
| 名前 | デフォルト | 説明 |
|
| 名前 | デフォルト | 説明 |
|
||||||
| ----------------------------------- | --------- | -------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `buymeacoffee.identifier` | _未設定_ | ターゲットの buymeacoffee アカウントの識別子。 |
|
| `buymeacoffee.identifier` | _未設定_ | ターゲットの buymeacoffee アカウントの識別子。 |
|
||||||
| `buymeacoffee.globalWidget` | _未設定_ | グローバル buymeacoffee ウィジェットを有効にします。 |
|
| `buymeacoffee.globalWidget` | _未設定_ | グローバル buymeacoffee ウィジェットを有効にします。 |
|
||||||
| `buymeacoffee.globalWidgetMessage` | _未設定_ | 新しいユーザーが初めてサイトにアクセスしたときに表示されるメッセージ。 |
|
| `buymeacoffee.globalWidgetMessage` | _未設定_ | 新しいユーザーが初めてサイトにアクセスしたときに表示されるメッセージ。 |
|
||||||
| `buymeacoffee.globalWidgetColor` | _未設定_ | ウィジェットの色(16進数形式)。 |
|
| `buymeacoffee.globalWidgetColor` | `#FFDD00` | ウィジェットの色(16進数形式)。 |
|
||||||
| `buymeacoffee.globalWidgetPosition` | _未設定_ | ウィジェットの位置。例えば "Left" または "Right" |
|
| `buymeacoffee.globalWidgetPosition` | _未設定_ | ウィジェットの位置。例えば "left" または "right" |
|
||||||
|
|
||||||
### verification
|
### verification
|
||||||
|
|
||||||
| 名前 | デフォルト | 説明 |
|
| 名前 | デフォルト | 説明 |
|
||||||
| ------------------------ | --------- | ------------------------------------------------------------------------------------------------------- |
|
| ------------------------ | ---------- | ------------------------------------------------------------------ |
|
||||||
| `verification.google` | _未設定_ | サイトメタデータに含まれる、Google が提供するサイト確認文字列。 |
|
| `verification.google` | _未設定_ | サイトメタデータに含まれる、Google が提供するサイト確認文字列。 |
|
||||||
| `verification.bing` | _未設定_ | サイトメタデータに含まれる、Bing が提供するサイト確認文字列。 |
|
| `verification.bing` | _未設定_ | サイトメタデータに含まれる、Bing が提供するサイト確認文字列。 |
|
||||||
| `verification.pinterest` | _未設定_ | サイトメタデータに含まれる、Pinterest が提供するサイト確認文字列。 |
|
| `verification.pinterest` | _未設定_ | サイトメタデータに含まれる、Pinterest が提供するサイト確認文字列。 |
|
||||||
| `verification.yandex` | _未設定_ | サイトメタデータに含まれる、Yandex が提供するサイト確認文字列。 |
|
| `verification.yandex` | _未設定_ | サイトメタデータに含まれる、Yandex が提供するサイト確認文字列。 |
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
## RSSNext
|
### RSSNext
|
||||||
|
|
||||||
| 名前 | デフォルト | 説明 |
|
| 名前 | デフォルト | 説明 |
|
||||||
| ------------------------ | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `rssnext.feedId` | _未設定_ | [RSSNext/Follow](https://follow.is/) によって提供される rss `feedId` 文字列。`rss.xml` に含まれ、rss フィードを自身のものとしてクレームするのに役立ちます。 |
|
| `rssnext.feedId` | _未設定_ | [RSSNext/Follow](https://follow.is/) によって提供される rss `feedId` 文字列。`rss.xml` に含まれ、rss フィードを自身のものとしてクレームするのに役立ちます。 |
|
||||||
| `rssnext.userId` | _未設定_ | [RSSNext/Follow](https://follow.is/) によって提供される rss `userId` 文字列。`rss.xml` に含まれ、rss フィードを自身のものとしてクレームするのに役立ちます。 |
|
| `rssnext.userId` | _未設定_ | [RSSNext/Follow](https://follow.is/) によって提供される rss `userId` 文字列。`rss.xml` に含まれ、rss フィードを自身のものとしてクレームするのに役立ちます。 |
|
||||||
|
|
||||||
|
### Advertisement
|
||||||
|
|
||||||
|
| 名前 | デフォルト | 説明 |
|
||||||
|
| ------------------------ | ---------- | ------------------------------------------------------------------ |
|
||||||
|
| `advertisement.adsense` | _未設定_ | Google AdSense パブリッシャー ID (例:`ca-pub-1234567890abcdef`)。このパラメータを設定すると、サイト上で AdSense 広告が有効になります。 |
|
||||||
|
|
||||||
## その他の設定ファイル
|
## その他の設定ファイル
|
||||||
|
|
||||||
このテーマには `markup.toml` 設定ファイルも含まれています。このファイルには、Hugo が Blowfish で構築されたサイトを正しく生成するために重要なパラメータがいくつか含まれています。
|
このテーマには `markup.toml` 設定ファイルも含まれています。このファイルには、Hugo が Blowfish で構築されたサイトを正しく生成するために重要なパラメータがいくつか含まれています。
|
||||||
|
|||||||
@@ -27,20 +27,20 @@ npx blowfish-tools
|
|||||||
The default theme configuration is documented in each file so you can freely adjust the settings to meet your needs.
|
The default theme configuration is documented in each file so you can freely adjust the settings to meet your needs.
|
||||||
|
|
||||||
{{< alert >}}
|
{{< alert >}}
|
||||||
As outlined in the [installation instructions]({{< ref "/docs/installation#set-up-theme-configuration-files" >}}), you should adjust your theme configuration by modifying the files in the `config/_default/` folder of your Hugo project and delete the `config.toml` file in your project root.
|
As outlined in the [installation instructions]({{< ref "/docs/installation#set-up-theme-configuration-files" >}}), you should adjust your theme configuration by modifying the files in the `config/_default/` folder of your Hugo project and delete the `hugo.toml` file in your project root.
|
||||||
{{< /alert >}}
|
{{< /alert >}}
|
||||||
|
|
||||||
## Site configuration
|
## Site configuration
|
||||||
|
|
||||||
Standard Hugo configuration variables are respected throughout the theme, however there are some specific things that should be configured for the best experience.
|
Standard Hugo configuration variables are respected throughout the theme, however there are some specific things that should be configured for the best experience.
|
||||||
|
|
||||||
The site configuration is managed through the `config/_default/config.toml` file. The table below outlines all the settings that the Blowfish takes advantage of.
|
The site configuration is managed through the `config/_default/hugo.toml` file. The table below outlines all the settings that the Blowfish takes advantage of.
|
||||||
|
|
||||||
Note that the variable names provided in this table use dot notation to simplify the TOML data structure (ie. `outputs.home` refers to `[outputs] home`).
|
Note that the variable names provided in this table use dot notation to simplify the TOML data structure (ie. `outputs.home` refers to `[outputs] home`).
|
||||||
|
|
||||||
<!-- prettier-ignore-start -->
|
<!-- prettier-ignore-start -->
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------ | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `theme` | `"blowfish"` | When using Hugo Modules this config value should be removed. For all other installation types, this must be set to `blowfish` for the theme to function. |
|
| `theme` | `"blowfish"` | When using Hugo Modules this config value should be removed. For all other installation types, this must be set to `blowfish` for the theme to function. |
|
||||||
| `baseURL` | _Not set_ | The URL to the root of the website. |
|
| `baseURL` | _Not set_ | The URL to the root of the website. |
|
||||||
| `defaultContentLanguage` | `"en"` | This value determines the default language of theme components and content. Refer to the [language and i18n](#language-and-i18n) section below for supported language codes. |
|
| `defaultContentLanguage` | `"en"` | This value determines the default language of theme components and content. Refer to the [language and i18n](#language-and-i18n) section below for supported language codes. |
|
||||||
@@ -48,7 +48,7 @@ Note that the variable names provided in this table use dot notation to simplify
|
|||||||
| `pagination.pagerSize` | `10` | The number of articles listed on each page of the article listing. |
|
| `pagination.pagerSize` | `10` | The number of articles listed on each page of the article listing. |
|
||||||
| `summaryLength` | `0` | The number of words that are used to generate the article summary when one is not provided in the [front matter]({{< ref "front-matter" >}}). A value of `0` will use the first sentence. This value has no effect when summaries are hidden. |
|
| `summaryLength` | `0` | The number of words that are used to generate the article summary when one is not provided in the [front matter]({{< ref "front-matter" >}}). A value of `0` will use the first sentence. This value has no effect when summaries are hidden. |
|
||||||
| `outputs.home` | `["HTML", "RSS", "JSON"]` | The output formats that are generated for the site. Blowfish requires HTML, RSS and JSON for all theme components to work correctly. |
|
| `outputs.home` | `["HTML", "RSS", "JSON"]` | The output formats that are generated for the site. Blowfish requires HTML, RSS and JSON for all theme components to work correctly. |
|
||||||
| `permalinks` | _Not set_ | Refer to the [Hugo docs](https://gohugo.io/content-management/urls/#permalinks) for permalink configuration. |
|
| `permalinks` | _Not set_ | Refer to the [Hugo docs](https://gohugo.io/configuration/permalinks/) for permalink configuration. |
|
||||||
| `taxonomies` | _Not set_ | Refer to the [Organising content]({{< ref "getting-started#organising-content" >}}) section for taxonomy configuration. |
|
| `taxonomies` | _Not set_ | Refer to the [Organising content]({{< ref "getting-started#organising-content" >}}) section for taxonomy configuration. |
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
@@ -92,6 +92,7 @@ The theme currently supports the following languages by default:
|
|||||||
| Portuguese (Portugal) | `pt-pt` |
|
| Portuguese (Portugal) | `pt-pt` |
|
||||||
| Romanian | `ro` |
|
| Romanian | `ro` |
|
||||||
| Russian | `ru` |
|
| Russian | `ru` |
|
||||||
|
| Thai | `th` |
|
||||||
| Turkish | `tr` |
|
| Turkish | `tr` |
|
||||||
| Vietnamese | `vi` |
|
| Vietnamese | `vi` |
|
||||||
| Simplified Chinese (China) | `zh-cn` |
|
| Simplified Chinese (China) | `zh-cn` |
|
||||||
@@ -113,7 +114,7 @@ The default file can be used as a template to create additional languages, or re
|
|||||||
|
|
||||||
<!-- prettier-ignore-start -->
|
<!-- prettier-ignore-start -->
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| -------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| --- | --- | --- |
|
||||||
| `languageCode` | `"en"` | The Hugo language code for this file. It can be a top-level language (ie. `en`) or a sub-variant (ie. `en-au`) and should match the language code in the filename. Hugo expects this value to always be in lowercase. For proper HTML compliance, set the `isoCode` parameter which is case-sensitive. |
|
| `languageCode` | `"en"` | The Hugo language code for this file. It can be a top-level language (ie. `en`) or a sub-variant (ie. `en-au`) and should match the language code in the filename. Hugo expects this value to always be in lowercase. For proper HTML compliance, set the `isoCode` parameter which is case-sensitive. |
|
||||||
| `languageName` | `"English"` | The name of the language. |
|
| `languageName` | `"English"` | The name of the language. |
|
||||||
| `weight` | `1` | The weight determines the order of languages when building multilingual sites. |
|
| `weight` | `1` | The weight determines the order of languages when building multilingual sites. |
|
||||||
@@ -124,11 +125,11 @@ The default file can be used as a template to create additional languages, or re
|
|||||||
|
|
||||||
<!-- prettier-ignore-start -->
|
<!-- prettier-ignore-start -->
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ---------------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `params.displayName` | `"EN"` | The name used when the language appears on the website. |
|
| `params.displayName` | `"EN"` | The name used when the language appears on the website. |
|
||||||
| `params.isoCode` | `"en"` | The ISO language code for HTML metadata purposes. It can be a top-level language (ie. `en`) or a sub-variant (ie. `en-AU`). |
|
| `params.isoCode` | `"en"` | The ISO language code for HTML metadata purposes. It can be a top-level language (ie. `en`) or a sub-variant (ie. `en-AU`). |
|
||||||
| `params.rtl` | `false` | Whether or not this is a RTL language. Set to `true` to reflow content from right-to-left. Blowfish fully supports using RTL and LTR languages at the same time and will dynamically adjust to both. |
|
| `params.rtl` | `false` | Whether or not this is a RTL language. Set to `true` to reflow content from right-to-left. Blowfish fully supports using RTL and LTR languages at the same time and will dynamically adjust to both. |
|
||||||
| `params.dateFormat` | `"2 January 2006"` | How dates are formatted in this language. Refer to the [Hugo docs](https://gohugo.io/functions/format/#gos-layout-string) for acceptable formats. |
|
| `params.dateFormat` | `"2 January 2006"` | How dates are formatted in this language. Refer to the [Hugo docs](https://gohugo.io/functions/time/format/#layout-string) for acceptable formats. |
|
||||||
| `params.logo` | _Not set_ | The relative path to the site logo file within the `assets/` folder. The logo file should be provided at 2x resolution and supports any image dimensions. |
|
| `params.logo` | _Not set_ | The relative path to the site logo file within the `assets/` folder. The logo file should be provided at 2x resolution and supports any image dimensions. |
|
||||||
| `params.secondaryLogo` | _Not set_ | The relative path to the secondary site logo file within the `assets/` folder. The logo file should be provided at 2x resolution and supports any image dimensions. This should have an inverted/contrasting colour scheme to `logo`. If set, this logo will be shown when users toggle from the `defaultAppearance` mode. |
|
| `params.secondaryLogo` | _Not set_ | The relative path to the secondary site logo file within the `assets/` folder. The logo file should be provided at 2x resolution and supports any image dimensions. This should have an inverted/contrasting colour scheme to `logo`. If set, this logo will be shown when users toggle from the `defaultAppearance` mode. |
|
||||||
| `params.description` | _Not set_ | The website description. This will be used in the site metadata. |
|
| `params.description` | _Not set_ | The website description. This will be used in the site metadata. |
|
||||||
@@ -139,7 +140,7 @@ The default file can be used as a template to create additional languages, or re
|
|||||||
##### Author
|
##### Author
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ---------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `params.author.name` | _Not set_ | The author's name. This will be displayed in article footers, and on the homepage when the profile layout is used. |
|
| `params.author.name` | _Not set_ | The author's name. This will be displayed in article footers, and on the homepage when the profile layout is used. |
|
||||||
| `params.author.email` | _Not set_ | The author's email. This will be used if the reply-via-email functionality is enabled. |
|
| `params.author.email` | _Not set_ | The author's email. This will be used if the reply-via-email functionality is enabled. |
|
||||||
| `params.author.image` | _Not set_ | Path to the image file of the author. The image should be a 1:1 aspect ratio. The image can be placed in the site's `assets/` folder or can be external url. |
|
| `params.author.image` | _Not set_ | Path to the image file of the author. The image should be a 1:1 aspect ratio. The image can be placed in the site's `assets/` folder or can be external url. |
|
||||||
@@ -168,10 +169,11 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
### Global
|
### Global
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `colorScheme` | `"blowfish"` | The theme colour scheme to use. Valid values are `blowfish` (default), `avocado`, `fire`, `ocean`, `forest`, `princess`, `neon`, `bloody`, `terminal`, `marvel`, `noir`, `autumn`, `congo`, and`slate`. Refer to the [Colour Schemes]({{< ref "getting-started#colour-schemes" >}}) section for more details. |
|
| `colorScheme` | `"blowfish"` | The theme colour scheme to use. Valid values are `blowfish` (default), `avocado`, `fire`, `ocean`, `forest`, `princess`, `neon`, `bloody`, `terminal`, `marvel`, `noir`, `autumn`, `congo`, and`slate`. Refer to the [Colour Schemes]({{< ref "getting-started#colour-schemes" >}}) section for more details. |
|
||||||
| `defaultAppearance` | `"light"` | The default theme appearance, either `light` or `dark`. |
|
| `defaultAppearance` | `"light"` | The default theme appearance, either `light` or `dark`. |
|
||||||
| `autoSwitchAppearance` | `true` | Whether the theme appearance automatically switches based upon the visitor's operating system preference. Set to `false` to force the site to always use the `defaultAppearance`. |
|
| `autoSwitchAppearance` | `true` | Whether the theme appearance automatically switches based upon the visitor's operating system preference. Set to `false` to force the site to always use the `defaultAppearance`. |
|
||||||
|
| `enableA11y` | `false` | Whether to enable the accessibility toggle button. |
|
||||||
| `enableSearch` | `false` | Whether site search is enabled. Set to `true` to enable search functionality. Note that the search feature depends on the `outputs.home` setting in the [site configuration](#site-configuration) being set correctly. |
|
| `enableSearch` | `false` | Whether site search is enabled. Set to `true` to enable search functionality. Note that the search feature depends on the `outputs.home` setting in the [site configuration](#site-configuration) being set correctly. |
|
||||||
| `enableCodeCopy` | `false` | Whether copy-to-clipboard buttons are enabled for `<code>` blocks. The `highlight.noClasses` parameter must be set to `false` for code copy to function correctly. Read more about [other configuration files](#other-configuration-files) below. |
|
| `enableCodeCopy` | `false` | Whether copy-to-clipboard buttons are enabled for `<code>` blocks. The `highlight.noClasses` parameter must be set to `false` for code copy to function correctly. Read more about [other configuration files](#other-configuration-files) below. |
|
||||||
| `replyByEmail` | `false` | Whether the reply-by-email link is enabled after post. The `params.author.email` parameter in `config/_default/languages.en.toml` must be set. |
|
| `replyByEmail` | `false` | Whether the reply-by-email link is enabled after post. The `params.author.email` parameter in `config/_default/languages.en.toml` must be set. |
|
||||||
@@ -182,25 +184,30 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
| `showLikes` | _Not set_ | Whether or not articles and list likes are displayed. This requires firebase integrations to be enabled, look below. |
|
| `showLikes` | _Not set_ | Whether or not articles and list likes are displayed. This requires firebase integrations to be enabled, look below. |
|
||||||
| `robots` | _Not set_ | String that indicates how robots should handle your site. If set, it will be output in the page head. Refer to [Google's docs](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives) for valid values. |
|
| `robots` | _Not set_ | String that indicates how robots should handle your site. If set, it will be output in the page head. Refer to [Google's docs](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives) for valid values. |
|
||||||
| `disableImageZoom` | `false` | Disables image zoom feature across all the images in the site. |
|
| `disableImageZoom` | `false` | Disables image zoom feature across all the images in the site. |
|
||||||
| `disableImageOptimization` | `false` | Disables image resize and optimization features across all the images in the site. |
|
| `disableImageOptimization` | `false` | Disables image resize and optimization features across all the images in the site, except images using markdown syntax (``) |
|
||||||
|
| `disableImageOptimizationMD` | `false` | Disables image resize and optimization features only for images using markdown syntax (``). |
|
||||||
| `backgroundImageWidth` | `1200` | Width (in pixels) to scale background images to. |
|
| `backgroundImageWidth` | `1200` | Width (in pixels) to scale background images to. |
|
||||||
| `disableTextInHeader` | `false` | Disables text in header, useful for logo based headers. |
|
| `disableTextInHeader` | `false` | Disables text in header, useful for logo based headers. |
|
||||||
| `defaultBackgroundImage` | _Not set_ | Default background image for both `background` homepage layout and `background` hero style |
|
| `defaultBackgroundImage` | _Not set_ | Default background image for both `background` homepage layout and `background` hero style |
|
||||||
| `defaultFeaturedImage` | _Not set_ | Default background image for all `featured` images across articles, will be overridden by a local `featured` image. |
|
| `defaultFeaturedImage` | _Not set_ | Default background image for all `featured` images across articles, will be overridden by a local `featured` image. |
|
||||||
|
| `defaultSocialImage` | _Not set_ | Default image for social media sharing (Open Graph and Twitter). Will be overridden by a local `feature` image. |
|
||||||
|
| `hotlinkFeatureImage` | `false` | Hotlink external images in article feature images and article cards. Those images will not be processed by Hugo. |
|
||||||
|
| `imagePosition` | _Not set_ | Sets the position of the default image using `object-position` attribute. Valid values are as specified in the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/CSS/object-position#try_it). |
|
||||||
| `highlightCurrentMenuArea` | _Not set_ | Marks menu entries in the main menu when selected |
|
| `highlightCurrentMenuArea` | _Not set_ | Marks menu entries in the main menu when selected |
|
||||||
| `smartTOC` | _Not set_ | Activate smart Table of Contents, items in view will be highlighted. |
|
| `smartTOC` | _Not set_ | Activate smart Table of Contents, items in view will be highlighted. |
|
||||||
| `smartTOCHideUnfocusedChildren` | _Not set_ | When smart Table of Contents is turned on, this will hide deeper levels of the table when they are not in focus. |
|
| `smartTOCHideUnfocusedChildren` | _Not set_ | When smart Table of Contents is turned on, this will hide deeper levels of the table when they are not in focus. |
|
||||||
|
| `fingerprintAlgorithm` | `"sha512"` | Hash algorithm for CSS/JS file fingerprinting to prevent browser caching issues. Valid values are `sha512` (default), `sha384`, `sha256`. |
|
||||||
|
|
||||||
### Header
|
### Header
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| --------------- | --------- | ------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `header.layout` | `"basic"` | Defines the header for the entire site, supported values are `basic`, `fixed`, `fixed-fill`, and `fixed-fill-blur`. |
|
| `header.layout` | `"basic"` | Defines the header for the entire site, supported values are `basic`, `fixed`, `fixed-fill`, and `fixed-fill-blur`. |
|
||||||
|
|
||||||
### Footer
|
### Footer
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `footer.showMenu` | `true` | Show/hide the footer menu, which can be configured in the `[[footer]]` section of the `config/_default/menus.en.toml` file. |
|
| `footer.showMenu` | `true` | Show/hide the footer menu, which can be configured in the `[[footer]]` section of the `config/_default/menus.en.toml` file. |
|
||||||
| `footer.showCopyright` | `true` | Whether or not to show the copyright string in the site footer. Note that the string itself can be customised using the `copyright` parameter in the [languages configuration](#language-and-i18n). |
|
| `footer.showCopyright` | `true` | Whether or not to show the copyright string in the site footer. Note that the string itself can be customised using the `copyright` parameter in the [languages configuration](#language-and-i18n). |
|
||||||
| `footer.showThemeAttribution` | `true` | Whether or not to show the "powered by" theme attribution in the site footer. If you choose to disable this message, please consider attributing the theme somewhere else on your site (for example, on your about page). |
|
| `footer.showThemeAttribution` | `true` | Whether or not to show the "powered by" theme attribution in the site footer. If you choose to disable this message, please consider attributing the theme somewhere else on your site (for example, on your about page). |
|
||||||
@@ -210,7 +217,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
### Homepage
|
### Homepage
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
| --- | --- | --- |
|
||||||
| `homepage.layout` | `"profile"` | The layout of the homepage. Valid values are `page`, `profile`, `hero`, `card`, `background`, or `custom`. When set to `custom`, you must provide your own layout by creating a `/layouts/partials/home/custom.html` file. Refer to the [Homepage Layout]({{< ref "homepage-layout" >}}) section for more details. |
|
| `homepage.layout` | `"profile"` | The layout of the homepage. Valid values are `page`, `profile`, `hero`, `card`, `background`, or `custom`. When set to `custom`, you must provide your own layout by creating a `/layouts/partials/home/custom.html` file. Refer to the [Homepage Layout]({{< ref "homepage-layout" >}}) section for more details. |
|
||||||
| `homepage.homepageImage` | _Not set_ | Image to be used in `hero` and `card` layouts. Can be set as local image from asset directory or external image url. Refer to the [Homepage Layout]({{< ref "homepage-layout" >}}) section for more details. |
|
| `homepage.homepageImage` | _Not set_ | Image to be used in `hero` and `card` layouts. Can be set as local image from asset directory or external image url. Refer to the [Homepage Layout]({{< ref "homepage-layout" >}}) section for more details. |
|
||||||
| `homepage.showRecent` | `false` | Whether or not to display the recent articles list on the homepage. |
|
| `homepage.showRecent` | `false` | Whether or not to display the recent articles list on the homepage. |
|
||||||
@@ -220,11 +227,12 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
| `homepage.cardView` | `false` | Display recent articles as a gallery of cards. |
|
| `homepage.cardView` | `false` | Display recent articles as a gallery of cards. |
|
||||||
| `homepage.cardViewScreenWidth` | `false` | Enhance the width of the recent articles card gallery to take the full width available. |
|
| `homepage.cardViewScreenWidth` | `false` | Enhance the width of the recent articles card gallery to take the full width available. |
|
||||||
| `homepage.layoutBackgroundBlur` | `false` | Makes the background image in the homepage layout blur with the scroll |
|
| `homepage.layoutBackgroundBlur` | `false` | Makes the background image in the homepage layout blur with the scroll |
|
||||||
|
| `homepage.disableHeroImageFilter` | `false` | Whether to apply an image filter on the homepage background. |
|
||||||
|
|
||||||
### Article
|
### Article
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------------------- | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `article.showDate` | `true` | Whether or not article dates are displayed. |
|
| `article.showDate` | `true` | Whether or not article dates are displayed. |
|
||||||
| `article.showViews` | `false` | Whether or not article views are displayed. This requires firebase integrations to be enabled, look below. |
|
| `article.showViews` | `false` | Whether or not article views are displayed. This requires firebase integrations to be enabled, look below. |
|
||||||
| `article.showLikes` | `false` | Whether or not article likes are displayed. This requires firebase integrations to be enabled, look below. |
|
| `article.showLikes` | `false` | Whether or not article likes are displayed. This requires firebase integrations to be enabled, look below. |
|
||||||
@@ -247,19 +255,20 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
| `article.invertPagination` | `false` | Whether or not to flip the direction of the next/previous article links. |
|
| `article.invertPagination` | `false` | Whether or not to flip the direction of the next/previous article links. |
|
||||||
| `article.showReadingTime` | `true` | Whether or not article reading times are displayed. |
|
| `article.showReadingTime` | `true` | Whether or not article reading times are displayed. |
|
||||||
| `article.showTableOfContents` | `false` | Whether or not the table of contents is displayed on articles. |
|
| `article.showTableOfContents` | `false` | Whether or not the table of contents is displayed on articles. |
|
||||||
| `article.showRelatedContent` | `false` | Display related content for each post. Might required additional configuration to your `config.toml`. Please check the theme `config.toml` if you want to enable this feature and copy all the relevant _related_ entries. Also check [Hugo's docs](https://gohugo.io/content-management/related/) on related content. |
|
| `article.showRelatedContent` | `false` | Display related content for each post. Might required additional configuration to your `hugo.toml`. Please check the theme `hugo.toml` if you want to enable this feature and copy all the relevant _related_ entries. Also check [Hugo's docs](https://gohugo.io/content-management/related/) on related content. |
|
||||||
| `article.relatedContentLimit` | `3` | Limit of related articles to display if `showRelatedContent` is turned on. |
|
| `article.relatedContentLimit` | `3` | Limit of related articles to display if `showRelatedContent` is turned on. |
|
||||||
| `article.showTaxonomies` | `false` | Whether or not the taxonomies related to this article are displayed. |
|
| `article.showTaxonomies` | `false` | Whether or not all the taxonomies related to this article are displayed. |
|
||||||
|
| `article.showCategoryOnly` | `false` | Whether or not the "category" taxonomy is displayed. `showTaxonomies` should be `false` when this param is used, otherwise duplicates will appear. |
|
||||||
| `article.showAuthorsBadges` | `false` | Whether the `authors` taxonomies are are displayed in the article or list header. This requires the setup of `multiple authors` and the `authors` taxonomy. Check [this page]({{< ref "multi-author" >}}) for more details on how to configure that feature. |
|
| `article.showAuthorsBadges` | `false` | Whether the `authors` taxonomies are are displayed in the article or list header. This requires the setup of `multiple authors` and the `authors` taxonomy. Check [this page]({{< ref "multi-author" >}}) for more details on how to configure that feature. |
|
||||||
| `article.showWordCount` | `false` | Whether or not article word counts are displayed. |
|
| `article.showWordCount` | `false` | Whether or not article word counts are displayed. |
|
||||||
| `article.showComments` | `false` | Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer. |
|
| `article.showComments` | `false` | Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer. |
|
||||||
| `article.sharingLinks` | _Not set_ | Which sharing links to display at the end of each article. When not provided, or set to `false` no links will be displayed. Available values are: "linkedin", "bluesky", "mastodon", "twitter", "reddit", "pinterest", "facebook", "email", "whatsapp", and "telegram" |
|
| `article.sharingLinks` | _Not set_ | Which sharing links to display at the end of each article. When not provided, or set to `false` no links will be displayed. Available values are: "bluesky", "email", "facebook", "line", "linkedin", "mastodon", "pinterest", "reddit", "telegram", "twitter", and "whatsapp" |
|
||||||
| `article.showZenMode` | `false` | Flag to activate Zen Mode reading feature for articles. |
|
| `article.showZenMode` | `false` | Flag to activate Zen Mode reading feature for articles. |
|
||||||
|
|
||||||
### List
|
### List
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ---------------------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `list.showHero` | `false` | Whether the thumbnail image will be shown as a hero image within each list page. |
|
| `list.showHero` | `false` | Whether the thumbnail image will be shown as a hero image within each list page. |
|
||||||
| `list.heroStyle` | _Not set_ | Style to display the hero image, valid options are: `basic`, `big`, `background`, `thumbAndBackground`. |
|
| `list.heroStyle` | _Not set_ | Style to display the hero image, valid options are: `basic`, `big`, `background`, `thumbAndBackground`. |
|
||||||
| `list.showBreadcrumbs` | `false` | Whether or not breadcrumbs are displayed in the header on list pages. |
|
| `list.showBreadcrumbs` | `false` | Whether or not breadcrumbs are displayed in the header on list pages. |
|
||||||
@@ -280,13 +289,13 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
### Sitemap
|
### Sitemap
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ----------------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `sitemap.excludedKinds` | `["taxonomy", "term"]` | Kinds of content that should be excluded from the generated `/sitemap.xml` file. Refer to the [Hugo docs](https://gohugo.io/templates/section-templates/#page-kinds) for acceptable values. |
|
| `sitemap.excludedKinds` | `["taxonomy", "term"]` | Kinds of content that should be excluded from the generated `/sitemap.xml` file. Refer to the [Hugo docs](https://gohugo.io/methods/page/kind/) for acceptable values. |
|
||||||
|
|
||||||
### Taxonomy
|
### Taxonomy
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------------ | --------- | ---------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `taxonomy.showTermCount` | `true` | Whether or not the number of articles within a taxonomy term is displayed on the taxonomy listing. |
|
| `taxonomy.showTermCount` | `true` | Whether or not the number of articles within a taxonomy term is displayed on the taxonomy listing. |
|
||||||
| `taxonomy.showHero` | `false` | Whether the thumbnail image will be shown as a hero image within each taxonomy page. |
|
| `taxonomy.showHero` | `false` | Whether the thumbnail image will be shown as a hero image within each taxonomy page. |
|
||||||
| `taxonomy.heroStyle` | _Not set_ | Style to display the hero image, valid options are: `basic`, `big`, `background`, `thumbAndBackground`. |
|
| `taxonomy.heroStyle` | _Not set_ | Style to display the hero image, valid options are: `basic`, `big`, `background`, `thumbAndBackground`. |
|
||||||
@@ -299,7 +308,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
### Term
|
### Term
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| -------------------------- | --------- | ---------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `term.showHero` | `false` | Whether the thumbnail image will be shown as a hero image within each term page. |
|
| `term.showHero` | `false` | Whether the thumbnail image will be shown as a hero image within each term page. |
|
||||||
| `term.heroStyle` | _Not set_ | Style to display the hero image, valid options are: `basic`, `big`, `background`, `thumbAndBackground`. |
|
| `term.heroStyle` | _Not set_ | Style to display the hero image, valid options are: `basic`, `big`, `background`, `thumbAndBackground`. |
|
||||||
| `term.showBreadcrumbs` | `false` | Whether or not breadcrumbs are displayed in the term header. |
|
| `term.showBreadcrumbs` | `false` | Whether or not breadcrumbs are displayed in the term header. |
|
||||||
@@ -313,7 +322,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
### Firebase
|
### Firebase
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ---------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `firebase.apiKey` | _Not set_ | Firebase apiKey, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish. |
|
| `firebase.apiKey` | _Not set_ | Firebase apiKey, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish. |
|
||||||
| `firebase.authDomain` | _Not set_ | Firebase authDomain, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish. |
|
| `firebase.authDomain` | _Not set_ | Firebase authDomain, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish. |
|
||||||
| `firebase.projectId` | _Not set_ | Firebase projectId, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish. |
|
| `firebase.projectId` | _Not set_ | Firebase projectId, required to integrate against Firebase. Check [this page]({{< ref "firebase-views" >}}) for a guide on how to integrate Firebase into Blowfish. |
|
||||||
@@ -325,14 +334,14 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
### Fathom Analytics
|
### Fathom Analytics
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------ | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `fathomAnalytics.site` | _Not set_ | The site code generated by Fathom Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details. |
|
| `fathomAnalytics.site` | _Not set_ | The site code generated by Fathom Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details. |
|
||||||
| `fathomAnalytics.domain` | _Not set_ | If using a custom domain with Fathom Analytics, provide it here to serve `script.js` from the custom domain. |
|
| `fathomAnalytics.domain` | _Not set_ | If using a custom domain with Fathom Analytics, provide it here to serve `script.js` from the custom domain. |
|
||||||
|
|
||||||
### Umami Analytics
|
### Umami Analytics
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| --------------------------------- | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `umamiAnalytics.websiteid` | _Not set_ | The site code generated by Umami Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details. |
|
| `umamiAnalytics.websiteid` | _Not set_ | The site code generated by Umami Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details. |
|
||||||
| `umamiAnalytics.domain` | _Not set_ | If using a custom domain with Umami Analytics, provide it here to serve `script.js` from the custom domain. |
|
| `umamiAnalytics.domain` | _Not set_ | If using a custom domain with Umami Analytics, provide it here to serve `script.js` from the custom domain. |
|
||||||
| `umamiAnalytics.dataDomains` | _Not set_ | If you want the tracker to only run on specific domains, provide it for your tracker script. This is a comma delimited list of domain names. Such as "yoursite.com,yoursite2.com". |
|
| `umamiAnalytics.dataDomains` | _Not set_ | If you want the tracker to only run on specific domains, provide it for your tracker script. This is a comma delimited list of domain names. Such as "yoursite.com,yoursite2.com". |
|
||||||
@@ -342,24 +351,24 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
### Seline Analytics
|
### Seline Analytics
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ---------------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
|
| --- | --- | --- |
|
||||||
| `selineAnalytics.token` | _Not set_ | The token generated by Seline Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details. |
|
| `selineAnalytics.token` | _Not set_ | The token generated by Seline Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details. |
|
||||||
| `selineAnalytics.enableTrackEvent` | true | When set to `true` track event will add automatically. If you do not want to add track event, set it to `false`. |
|
| `selineAnalytics.enableTrackEvent` | true | When set to `true` track event will add automatically. If you do not want to add track event, set it to `false`. |
|
||||||
|
|
||||||
### BuyMeACoffee
|
### BuyMeACoffee
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ----------------------------------- | --------- | --------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `buymeacoffee.identifier` | _Not set_ | The identifier to the target buymeacoffee account. |
|
| `buymeacoffee.identifier` | _Not set_ | The identifier to the target buymeacoffee account. |
|
||||||
| `buymeacoffee.globalWidget` | _Not set_ | Activate the global buymeacoffee widget. |
|
| `buymeacoffee.globalWidget` | _Not set_ | Activate the global buymeacoffee widget. |
|
||||||
| `buymeacoffee.globalWidgetMessage` | _Not set_ | Message what will be displayed the first time a new user lands on the site. |
|
| `buymeacoffee.globalWidgetMessage` | _Not set_ | Message what will be displayed the first time a new user lands on the site. |
|
||||||
| `buymeacoffee.globalWidgetColor` | _Not set_ | Widget color in hex format. |
|
| `buymeacoffee.globalWidgetColor` | `#FFDD00` | Widget color in hex format. |
|
||||||
| `buymeacoffee.globalWidgetPosition` | _Not set_ | Position of the widget, i.e. "Left" or "Right" |
|
| `buymeacoffee.globalWidgetPosition` | _Not set_ | Position of the widget, i.e. "left" or "right" |
|
||||||
|
|
||||||
### Verifications
|
### Verifications
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------ | --------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
| --- | --- | --- |
|
||||||
| `verification.google` | _Not set_ | The site verification string provided by Google to be included in the site metadata. |
|
| `verification.google` | _Not set_ | The site verification string provided by Google to be included in the site metadata. |
|
||||||
| `verification.bing` | _Not set_ | The site verification string provided by Bing to be included in the site metadata. |
|
| `verification.bing` | _Not set_ | The site verification string provided by Bing to be included in the site metadata. |
|
||||||
| `verification.pinterest` | _Not set_ | The site verification string provided by Pinterest to be included in the site metadata. |
|
| `verification.pinterest` | _Not set_ | The site verification string provided by Pinterest to be included in the site metadata. |
|
||||||
@@ -367,13 +376,18 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
|||||||
| `verification.fediverse` | _Not set_ | The fediverse handle to include in the site metadata. Include the server domain in the username, e.g. `@you@instanceaddress.tld`. |
|
| `verification.fediverse` | _Not set_ | The fediverse handle to include in the site metadata. Include the server domain in the username, e.g. `@you@instanceaddress.tld`. |
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
## RSSNext
|
### RSSNext
|
||||||
|
|
||||||
| Name | Default | Description |
|
| Name | Default | Description |
|
||||||
| ------------------------ | --------- |--------------------------------------------------------------------------------------------------------------------------------------|
|
| --- | --- | --- |
|
||||||
| `rssnext.feedId` | _Not set_ | The rss `feedId` string provided by [RSSNext/Follow](https://follow.is/) to be included in the `rss.xml`, which can helps to claim rss feed as your own. |
|
| `rssnext.feedId` | _Not set_ | The rss `feedId` string provided by [RSSNext/Follow](https://follow.is/) to be included in the `rss.xml`, which can helps to claim rss feed as your own. |
|
||||||
| `rssnext.userId` | _Not set_ | The rss `userId` string provided by [RSSNext/Follow](https://follow.is/) to be included in the `rss.xml`, which can helps to claim rss feed as your own. |
|
| `rssnext.userId` | _Not set_ | The rss `userId` string provided by [RSSNext/Follow](https://follow.is/) to be included in the `rss.xml`, which can helps to claim rss feed as your own. |
|
||||||
|
|
||||||
|
### Advertisement
|
||||||
|
|
||||||
|
| Name | Default | Description |
|
||||||
|
| ------------------------ | --------- |-------------|
|
||||||
|
| `advertisement.adsense` | _Not set_ | Your Google AdSense Publisher ID (e.g. `ca-pub-1234567890abcdef`). Set this parameter to enable AdSense ads on your site. |
|
||||||
|
|
||||||
## Other configuration files
|
## Other configuration files
|
||||||
|
|
||||||
|
|||||||