1
0
Fork 0
mirror of https://github.com/dillonzq/LoveIt.git synced 2025-04-16 02:30:44 +02:00

Merge branch 'master' into feature/waline-comment

# Conflicts:
#	assets/lib/VERSION
This commit is contained in:
Dillon 2025-03-25 08:50:15 +08:00
commit 344174eb4a
1823 changed files with 9740 additions and 6083 deletions
.babelrc
.circleci
.husky
README.mdREADME.zh-cn.md
archetypes
assets
css
data
js
lib
VERSIONVERSION.md
algoliasearch
aplayer
echarts
fontawesome-free
katex

View file

@ -3,7 +3,7 @@
[
"@babel/preset-env",
{
"targets": "> 0.25%, not dead"
"targets": "> 0.01%"
}
]
]

View file

@ -1,17 +1,40 @@
version: 2.1
executors:
hugo:
parameters:
version:
description: "version tag"
type: string
docker:
- image: cibuilds/hugo:<<parameters.version>>
jobs:
build-check:
docker:
- image: cibuilds/hugo:0.62
parameters:
version:
description: "version tag"
type: string
environment:
description: "hugo environment"
type: string
executor:
name: hugo
version: <<parameters.version>>
working_directory: ~/LoveIt
steps:
- checkout
- run: git submodule sync
- run: git submodule update --init
- run: hugo --source=exampleSite -v --gc
- run: htmlproofer exampleSite/public --check-html --allow-hash-href --empty-alt-ignore --disable-external
- run: hugo --source exampleSite --gc --minify --environment <<parameters.environment>>
- run: cp -rf exampleSite/resources . && git diff --exit-code
- run: htmlproofer exampleSite/public --disable-external true --ignore-missing-alt true
workflows:
build-check-exampleSite:
build-check:
jobs:
- build-check
- build-check:
matrix:
parameters:
version: [ "0.128.0", "0.145.0" ]
environment: [ development, production ]

View file

@ -1,4 +1,4 @@
#!/bin/zsh
. "$(dirname "$0")/_/husky.sh"
npm run build && npm run copy && git add resources assets/js
npm run compile && npm run compile-lunr-segmentit && npm run hugo-production && npm run copy-resources && git add resources assets

View file

@ -1,9 +1,9 @@
# LoveIt Theme | Hugo [![Netlify Status](https://api.netlify.com/api/v1/badges/e60303f2-862c-4342-bf59-7c9adb10812e/deploy-status)](https://app.netlify.com/sites/hugo-loveit/deploys)
# LoveIt Theme | Hugo
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/releases)
[![Hugo](https://img.shields.io/badge/Hugo-%5E0.62.0-ff4088?style=flat-square&logo=hugo)](https://gohugo.io/)
[![Hugo](https://img.shields.io/badge/Hugo-%5E0.128.0-ff4088?style=flat-square&logo=hugo)](https://gohugo.io/)
[![License](https://img.shields.io/github/license/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/blob/master/LICENSE)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=dillonzq_LoveIt&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=dillonzq_LoveIt)
[![Netlify Status](https://api.netlify.com/api/v1/badges/e60303f2-862c-4342-bf59-7c9adb10812e/deploy-status)](https://app.netlify.com/sites/hugo-loveit/deploys)
[![CircleCI](https://circleci.com/gh/dillonzq/LoveIt/tree/master.svg?style=svg)](https://circleci.com/gh/dillonzq/LoveIt/tree/master)
English README | [简体中文说明](https://github.com/dillonzq/LoveIt/blob/master/README.zh-cn.md)
@ -85,8 +85,8 @@ I hope you will LoveIt ❤️!
* **Gravatar** supported by [Gravatar](https://gravatar.com)
* Local **Avatar** supported
* Up to **73** social links supported
* Up to **24** share sites supported
* Up to **81** social links supported
* Up to **27** share sites supported
* **Disqus** comment system supported by [Disqus](https://disqus.com)
* **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)
* **Valine** comment system supported by [Valine](https://valine.js.org/)
@ -128,6 +128,14 @@ Build Documentation Locally:
hugo server --source=exampleSite
```
## Compatibility
| LoveIt branch or version | Supported Hugo versions |
|:-------------------------|:-----------------------:|
| master(Unstable) | ≥ 0.128.0 |
| **0.3.X(Recommended)** | 0.128.0 - 0.145.0 |
| 0.2.X(Outdated) | 0.68.0 - 0.127.0 |
## Multilingual and i18n
LoveIt supports the following languages:
@ -137,7 +145,7 @@ LoveIt supports the following languages:
* Traditional Chinese
* French
* Polish
* Brazilian Portuguese
* Portuguese (Brazil)
* Italian
* Spanish
* German
@ -153,6 +161,8 @@ LoveIt supports the following languages:
* Turkish
* Korean
* Hindi
* Dutch
* Bengali
* [Contribute with a new language](https://github.com/dillonzq/LoveIt/pulls)
[Languages Compatibility](https://hugoloveit.com/theme-documentation-basics/#language-compatibility)
@ -171,7 +181,7 @@ LoveIt is licensed under the **MIT** license. Check the [LICENSE file](https://g
Thanks to the authors of following resources included in the theme:
* [normalize.css](https://github.com/necolas/normalize.css)
* [modern-normalize](https://github.com/sindresorhus/modern-normalize)
* [Font Awesome](https://fontawesome.com/)
* [Simple Icons](https://github.com/simple-icons/simple-icons)
* [Animate.css](https://daneden.github.io/animate.css/)

View file

@ -1,9 +1,9 @@
# LoveIt 主题 | Hugo [![Netlify Status](https://api.netlify.com/api/v1/badges/e60303f2-862c-4342-bf59-7c9adb10812e/deploy-status)](https://app.netlify.com/sites/hugo-loveit/deploys)
# LoveIt 主题 | Hugo
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/releases)
[![Hugo](https://img.shields.io/badge/Hugo-%5E0.62.0-ff4088?style=flat-square&logo=hugo)](https://gohugo.io/)
[![Hugo](https://img.shields.io/badge/Hugo-%5E0.128.0-ff4088?style=flat-square&logo=hugo)](https://gohugo.io/)
[![License](https://img.shields.io/github/license/dillonzq/LoveIt?style=flat-square)](https://github.com/dillonzq/LoveIt/blob/master/LICENSE)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=dillonzq_LoveIt&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=dillonzq_LoveIt)
[![Netlify Status](https://api.netlify.com/api/v1/badges/e60303f2-862c-4342-bf59-7c9adb10812e/deploy-status)](https://app.netlify.com/sites/hugo-loveit/deploys)
[![CircleCI](https://circleci.com/gh/dillonzq/LoveIt/tree/master.svg?style=svg)](https://circleci.com/gh/dillonzq/LoveIt/tree/master)
[English README](https://github.com/dillonzq/LoveIt/blob/master/README.md) | 简体中文说明
@ -62,7 +62,7 @@
* 支持 **[Fathom Analytics](https://usefathom.com/)**
* 支持 **[Plausible Analytics](https://plausible.io/)**
* 支持 **[Yandex Metrica](https://metrica.yandex.com/)**
* 支持搜索引擎的**网站验证** (Google, Bind, Yandex and Baidu)
* 支持搜索引擎的**网站验证** (Google, Bind, Yandex Baidu)
* 支持所有第三方库的 **CDN**
* 基于 [lazysizes](https://github.com/aFarkas/lazysizes) 自动转换图片为**懒加载**
@ -80,8 +80,8 @@
* 支持 **[Gravatar](https://gravatar.com)** 头像
* 支持本地**头像**
* 支持多达 **73** 种社交链接
* 支持多达 **24** 种网站分享
* 支持多达 **81** 种社交链接
* 支持多达 **27** 种网站分享
* 支持 **[Disqus](https://disqus.com)** 评论系统
* 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统
* 支持 **[Valine](https://valine.js.org/)** 评论系统
@ -123,6 +123,14 @@
hugo server --source=exampleSite
```
## 兼容性
| LoveIt 分支或版本 | 支持的 Hugo 版本 |
|:--------------|:-----------------:|
| master(不稳定) | ≥ 0.128.0 |
| **0.3.X(推荐)** | 0.128.0 - 0.145.0 |
| 0.2.X(过时) | 0.68.0 - 0.127.0 |
## 多语言和国际化
LoveIt 支持下列语言:
@ -132,7 +140,7 @@ LoveIt 支持下列语言:
* 繁体中文
* 法语
* 波兰语
* 巴西葡萄牙语
* 葡萄牙语(巴西)
* 意大利语
* 西班牙语
* 德语
@ -148,6 +156,8 @@ LoveIt 支持下列语言:
* 土耳其语
* 韩语
* 印地语
* 荷兰语
* 孟加拉语
* [贡献一种新的语言](https://github.com/dillonzq/LoveIt/pulls)
[语言兼容性](https://hugoloveit.com/zh-cn/theme-documentation-basics/#language-compatibility)
@ -166,7 +176,7 @@ LoveIt 根据 **MIT** 许可协议授权。 更多信息请查看 [LICENSE 文
LoveIt 主题中用到了以下项目,感谢它们的作者:
* [normalize.css](https://github.com/necolas/normalize.css)
* [modern-normalize](https://github.com/sindresorhus/modern-normalize)
* [Font Awesome](https://fontawesome.com/)
* [Simple Icons](https://github.com/simple-icons/simple-icons)
* [Animate.css](https://daneden.github.io/animate.css/)

View file

@ -29,6 +29,7 @@ rssFullText: false
toc:
enable: true
auto: true
keepStatic: false
code:
copy: true
maxShownLines: 50

View file

@ -328,7 +328,7 @@ header {
&.open {
.header-wrapper {
margin-top: -var(--header-height);
margin-top: calc(0px - var(--header-height));
}
.menu {

View file

@ -1,10 +1,16 @@
@media only screen and (max-width: 1440px) {
.page {
width: 60%;
}
}
@media only screen and (max-width: 1440px) {
.page {
width: 56%;
}
}
@media only screen and (max-width: 1200px) {
@media only screen and (max-width: 1280px) {
.page {
width: 52%;
}

View file

@ -1,4 +1,6 @@
.home {
padding-bottom: 5rem;
.home-profile {
@include transform(translateY( 16vh));
padding: 0 0 .5rem;

View file

@ -1,7 +1,7 @@
.page {
position: relative;
max-width: 800px;
width: 60%;
max-width: 1080px;
width: 64%;
margin: 0 auto;
[data-header-desktop] & {

View file

@ -167,7 +167,13 @@
}
}
.table-wrapper {
table {
width: 100%;
max-width: 100%;
margin: .625rem 0;
border-spacing: 0;
background: $table-background-color;
border-collapse: collapse;
overflow-x: auto;
&::-webkit-scrollbar {
@ -178,33 +184,24 @@
}
}
> table {
width: 100%;
max-width: 100%;
margin: .625rem 0;
border-spacing: 0;
background: $table-background-color;
border-collapse: collapse;
[theme=dark] & {
background: $table-background-color-dark;
}
thead {
background: $table-thead-color;
[theme=dark] & {
background: $table-background-color-dark;
background-color: $table-thead-color-dark;
}
}
thead {
background: $table-thead-color;
th, td {
padding: .3rem 1rem;
border: 1px solid darken($table-thead-color, 2%);
[theme=dark] & {
background-color: $table-thead-color-dark;
}
}
th, td {
padding: .3rem 1rem;
border: 1px solid darken($table-thead-color, 2%);
[theme=dark] & {
border-color: darken($table-thead-color-dark, 2%);
}
[theme=dark] & {
border-color: darken($table-thead-color-dark, 2%);
}
}
}
@ -212,6 +209,7 @@
img {
max-width: 100%;
min-height: 1em;
height: auto;
}
figure {
@ -230,7 +228,6 @@
img {
display: block;
width: 100%;
height: auto;
margin: 0 auto;
overflow: hidden;
@ -263,6 +260,7 @@
}
@import "../_partial/_single/code";
@import "../_partial/_single/gist";
@import "../_partial/_single/instagram";
@import "../_partial/_single/admonition";
@import "../_partial/_single/echarts";
@ -312,7 +310,7 @@
img {
vertical-align: -12%;
max-height: 1.1em;
margin-right: 0ex;
margin-right: 0;
border-radius: 50%;
}
}

View file

@ -2,11 +2,16 @@
display: none;
}
.fixed-button {
#fixed-buttons-hidden {
display: none;
}
.fixed-button {
display: block;
z-index: 100;
position: fixed;
right: 1.5rem;
bottom: 1.5rem;
font-size: 1rem;
line-height: 1.3rem;
padding: .6rem .6rem;
@ -34,13 +39,16 @@
color: $global-font-color-dark;
}
}
}
#back-to-top {
display: block;
bottom: 1.5rem;
}
&:nth-last-of-type(1) {
bottom: 1.5rem;
}
#view-comments {
bottom: 4.5rem;
&:nth-last-of-type(2) {
bottom: 4.5rem;
}
&:nth-last-of-type(3) {
bottom: 7.5rem;
}
}

View file

@ -1,5 +1,5 @@
code {
display:inline-block;
display: inline-block;
max-width: 100%;
padding: 0 .4rem;
@include overflow-wrap(break-word);
@ -15,7 +15,7 @@ code {
pre {
margin: 0;
padding: .25rem 0 .25rem .5rem;
padding: 8px;
@include tab-size(4);
code {
@ -29,106 +29,51 @@ pre {
}
}
code, pre, .highlight table, .highlight tr, .highlight td {
background: $code-background-color !important;
code, pre {
background: $code-background-color;
[theme=dark] & {
background: $code-background-color-dark !important;
background: $code-background-color-dark;
}
}
.highlight {
font-family: var(--code-font-family);
font-size: var(--code-font-size);
line-height: 1.4em;
.code-block {
line-height: 1.25rem;
margin: .5rem 0;
.table-wrapper {
> table,
> table thead,
> table tr,
> table td {
margin: 0;
padding: 0;
border: none !important;
.code-header {
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
width: 100%;
font-family: var(--global-font-family);
font-weight: bold;
color: $code-info-color;
background: darken($code-background-color, 8%);
span.c {
white-space: nowrap;
}
[theme=dark] & {
color: $code-info-color-dark;
background: darken($code-background-color-dark, 6%);
}
}
> .chroma {
position: relative;
&:hover {
cursor: pointer;
}
.code-header {
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
.code-title {
width: 100%;
font-family: var(--global-font-family);
font-weight: bold;
color: $code-info-color;
background: darken($code-background-color, 8%);
[theme=dark] & {
color: $code-info-color-dark;
background: darken($code-background-color-dark, 6%);
}
&:hover {
cursor: pointer;
}
.code-title {
width: 100%;
padding: .4rem;
}
.code-title::after {
padding-left: .2rem;
content: "Code";
}
@each $type, $text in $code-type-list {
&.#{$type} .code-title::after {
content: $text;
}
}
padding: .4rem;
}
.lntd:first-child {
min-width: 1.6rem;
text-align: right;
.code-title::after {
padding-left: .2rem;
content: "Code";
}
.lntd:last-child {
width: 100%;
pre {
@include max-content(min-width);
}
}
.ln {
padding-right: .75rem;
}
.hl {
display: block;
background-color: darken($code-background-color, 10%);
[theme=dark] & {
background-color: darken($code-background-color-dark, 5%);
}
}
.ln, .lnt {
color: $global-font-secondary-color;
[theme=dark] & {
color: $global-font-secondary-color-dark;
@each $type, $text in $code-type-list {
&.#{$type} .code-title::after {
content: $text;
}
}
@ -154,25 +99,66 @@ code, pre, .highlight table, .highlight tr, .highlight td {
}
}
}
}
.table-wrapper {
max-height: 0;
overflow-y: hidden;
@include details-transition-open;
.highlight {
position: relative;
max-height: 0;
overflow-y: hidden;
@include details-transition-open;
background: $code-background-color;
[theme=dark] & {
background: $code-background-color-dark;
}
&.open {
.code-header {
background: darken($code-background-color, 3%);
.hl {
background-color: darken($code-background-color, 10%);
[theme=dark] & {
background: darken($code-background-color-dark, 3%);
}
[theme=dark] & {
background-color: darken($code-background-color-dark, 5%);
}
}
.table-wrapper {
max-height: 10000px;
@include details-transition-close;
code {
min-width: 100%;
span.line {
display: block;
min-width: 100%;
}
}
.c, /* Comment */
.ch /* CommentHashbang */,
.cm /* CommentMultiline */,
.c1 /* CommentSingle */,
.cs /* CommentSpecial */,
.cp /* CommentPreproc */,
.cpf /* CommentPreprocFile */ {
font-style: italic
}
.gl /* GenericUnderline */ {
text-decoration: underline
}
@each $class, $color in $code-highlight-color-map {
.#{$class} { color: $color; }
}
[theme=dark] & {
@each $class, $color in $code-highlight-color-map-dark {
.#{$class} { color: $color; }
}
}
}
&.open {
.code-header {
background: darken($code-background-color, 3%);
[theme=dark] & {
background: darken($code-background-color-dark, 3%);
}
.arrow {
@ -187,213 +173,35 @@ code, pre, .highlight table, .highlight tr, .highlight td {
display: inline;
}
}
}
/* Comment */ .c,
/* CommentHashbang */ .ch,
/* CommentMultiline */ .cm,
/* CommentSingle */ .c1,
/* CommentSpecial */ .cs,
/* CommentPreproc */ .cp,
/* CommentPreprocFile */ .cpf { font-style: italic }
/* GenericUnderline */ .gl { text-decoration: underline }
@each $class, $color in $code-highlight-color-map {
.#{$class} { color: $color; }
}
[theme=dark] & {
@each $class, $color in $code-highlight-color-map-dark {
.#{$class} { color: $color; }
}
}
}
.gist {
font-family: var(--code-font-family);
font-size: var(--code-font-size);
.table-wrapper {
> table,
> table thead,
> table tr,
> table td {
margin: 0;
padding: 0;
border: none !important;
}
}
.gist-file, .gist-data, .gist-meta {
border: none;
}
.gist-meta {
padding: .4rem .8rem;
background-color: darken($code-background-color, 5%);
@include link(false, false);
[theme=dark] & {
background-color: darken($code-background-color-dark, 5%);
}
}
[theme=dark] & {
// imported from https://github.com/lonekorean/gist-syntax-themes/blob/master/stylesheets/one-dark.css
.highlight {
background: #141414;
max-height: 20000px;
@include details-transition-close;
}
.blob-num,
.blob-code-inner,
.highlight,
.pl-enm,
.pl-ko,
.pl-mo,
.pl-mp1 .pl-sf,
.pl-ms,
.pl-pdc1,
.pl-scp,
.pl-smc,
.pl-som,
.pl-va,
.pl-vpf,
.pl-vpu,
.pl-mdr {
color: #aab1bf;
}
&:not(.open) {
::-webkit-scrollbar {
height: 0;
}
.pl-mb,
.pl-pdb {
font-weight: 700;
}
.pl-c,
.pl-c span,
.pl-pdc {
color: #5b6270;
font-style: italic;
}
.pl-sr .pl-cce {
color: #56b5c2;
font-weight: 400;
}
.pl-ef,
.pl-en,
.pl-enf,
.pl-eoai,
.pl-kos,
.pl-mh .pl-pdh,
.pl-mr {
color: #61afef;
}
.pl-ens,
.pl-vi {
color: #be5046;
}
.pl-enti,
.pl-mai .pl-sf,
.pl-ml,
.pl-sf,
.pl-sr,
.pl-sr .pl-sra,
.pl-src,
.pl-st,
.pl-vo {
color: #56b5c2;
}
.pl-eoi,
.pl-mri,
.pl-pds,
.pl-pse .pl-s1,
.pl-s,
.pl-s1 {
color: #97c279;
}
.pl-k,
.pl-kolp,
.pl-mc,
.pl-pde {
color: #c578dd;
}
.pl-mi,
.pl-pdi {
color: #c578dd;
font-style: italic;
}
.pl-mp,
.pl-stp {
color: #818896;
}
.pl-mdh,
.pl-mdi,
.pl-mdr {
font-weight: 400;
}
.pl-mdht,
.pl-mi1 {
color: #97c279;
background: #020;
}
.pl-md,
.pl-mdhf {
color: #df6b75;
background: #200;
}
.pl-corl {
color: #df6b75;
text-decoration: underline;
}
.pl-ib {
background: #df6b75;
}
.pl-ii {
background: #e0c184;
color: #fff;
}
.pl-iu {
background: #e05151;
}
.pl-ms1 {
color: #aab1bf;
background: #373b41;
}
.pl-c1,
.pl-cn,
.pl-e,
.pl-eoa,
.pl-eoac,
.pl-eoac .pl-pde,
.pl-kou,
.pl-mm,
.pl-mp .pl-s3,
.pl-mq,
.pl-s3,
.pl-sok,
.pl-sv,
.pl-mb {
color: #d19965;
}
.pl-enc,
.pl-entc,
.pl-pse .pl-s2,
.pl-s2,
.pl-sc,
.pl-smp,
.pl-sr .pl-sre,
.pl-stj,
.pl-v,
.pl-pdb {
color: #e4bf7a;
}
.pl-ent,
.pl-entl,
.pl-entm,
.pl-mh,
.pl-pdv,
.pl-smi,
.pl-sol,
.pl-mdh,
.pl-mdi {
color: #df6b75;
}
&.code-line-numbers {
span.line::before {
display: inline-block;
counter-increment: code-block;
content: counter(code-block);
min-width: 4ch;
text-align: right;
text-wrap: nowrap;
box-sizing: border-box;
border-width: 0;
margin-right: 1rem;
color: $code-info-color;
[theme=dark] & {
color: $code-info-color-dark;
}
}
}
}

View file

@ -0,0 +1,186 @@
.gist {
font-family: var(--code-font-family);
font-size: var(--code-font-size);
table,
table thead,
table tr,
table td {
margin: 0;
padding: 0;
border: none;
}
.gist-file, .gist-data, .gist-meta {
border: none;
}
.gist-meta {
padding: .4rem .8rem;
background-color: darken($code-background-color, 5%);
@include link(false, false);
[theme=dark] & {
background-color: darken($code-background-color-dark, 5%);
}
}
[theme=dark] & {
// imported from https://github.com/lonekorean/gist-syntax-themes/blob/master/stylesheets/one-dark.css
.highlight {
background: #141414;
}
.blob-num,
.blob-code-inner,
.highlight,
.pl-enm,
.pl-ko,
.pl-mo,
.pl-mp1 .pl-sf,
.pl-ms,
.pl-pdc1,
.pl-scp,
.pl-smc,
.pl-som,
.pl-va,
.pl-vpf,
.pl-vpu,
.pl-mdr {
color: #aab1bf;
}
.pl-mb,
.pl-pdb {
font-weight: 700;
}
.pl-c,
.pl-c span,
.pl-pdc {
color: #5b6270;
font-style: italic;
}
.pl-sr .pl-cce {
color: #56b5c2;
font-weight: 400;
}
.pl-ef,
.pl-en,
.pl-enf,
.pl-eoai,
.pl-kos,
.pl-mh .pl-pdh,
.pl-mr {
color: #61afef;
}
.pl-ens,
.pl-vi {
color: #be5046;
}
.pl-enti,
.pl-mai .pl-sf,
.pl-ml,
.pl-sf,
.pl-sr,
.pl-sr .pl-sra,
.pl-src,
.pl-st,
.pl-vo {
color: #56b5c2;
}
.pl-eoi,
.pl-mri,
.pl-pds,
.pl-pse .pl-s1,
.pl-s,
.pl-s1 {
color: #97c279;
}
.pl-k,
.pl-kolp,
.pl-mc,
.pl-pde {
color: #c578dd;
}
.pl-mi,
.pl-pdi {
color: #c578dd;
font-style: italic;
}
.pl-mp,
.pl-stp {
color: #818896;
}
.pl-mdh,
.pl-mdi,
.pl-mdr {
font-weight: 400;
}
.pl-mdht,
.pl-mi1 {
color: #97c279;
background: #020;
}
.pl-md,
.pl-mdhf {
color: #df6b75;
background: #200;
}
.pl-corl {
color: #df6b75;
text-decoration: underline;
}
.pl-ib {
background: #df6b75;
}
.pl-ii {
background: #e0c184;
color: #fff;
}
.pl-iu {
background: #e05151;
}
.pl-ms1 {
color: #aab1bf;
background: #373b41;
}
.pl-c1,
.pl-cn,
.pl-e,
.pl-eoa,
.pl-eoac,
.pl-eoac .pl-pde,
.pl-kou,
.pl-mm,
.pl-mp .pl-s3,
.pl-mq,
.pl-s3,
.pl-sok,
.pl-sv,
.pl-mb {
color: #d19965;
}
.pl-enc,
.pl-entc,
.pl-pse .pl-s2,
.pl-s2,
.pl-sc,
.pl-smp,
.pl-sr .pl-sre,
.pl-stj,
.pl-v,
.pl-pdb {
color: #e4bf7a;
}
.pl-ent,
.pl-entl,
.pl-entm,
.pl-mh,
.pl-pdv,
.pl-smi,
.pl-sol,
.pl-mdh,
.pl-mdi {
color: #df6b75;
}
}
}

View file

@ -78,7 +78,7 @@ $search-background-color-dark: #363636 !default;
// ========== Single Content ========== //
// Font size of the TOC
$toc-title-font-size: 1.2rem !default;
$toc-content-font-size: 1rem !default;
$toc-content-font-size: 0.875rem !default;
// Color of the single link
$single-link-color: #2d96bd !default;
@ -163,6 +163,7 @@ $code-type-list:
"language-perl" "Perl",
"language-powershell" "PowerShell",
"language-posh" "PowerShell",
"language-puppet" "Puppet",
"language-pwsh" "PowerShell",
"language-python" "Python",
"language-r" "R",

View file

@ -1,6 +1,6 @@
@charset "utf-8";
@import "../lib/normalize/normalize";
@import "../lib/modern-normalize/modern-normalize";
@import "_variables";
@import "_override";

View file

@ -1,18 +1,18 @@
prefix:
libFiles: https://cdnjs.cloudflare.com/ajax/libs/
# simple-icons@7.3.0 https://github.com/simple-icons/simple-icons
simpleIcons: https://cdnjs.cloudflare.com/ajax/libs/simple-icons/7.3.0/
# simple-icons@14.1.0 https://github.com/simple-icons/simple-icons
simpleIcons: https://cdnjs.cloudflare.com/ajax/libs/simple-icons/14.1.0/
libFiles:
# fontawesome-free@6.1.1 https://fontawesome.com/
fontawesomeFreeCSS: font-awesome/6.1.1/css/all.min.css
# fontawesome-free@6.7.2 https://fontawesome.com/
fontawesomeFreeCSS: font-awesome/6.7.2/css/all.min.css
# animate.css@4.1.1 https://github.com/daneden/animate.css
animateCSS: animate.css/4.1.1/animate.min.css
# autocomplete.js@0.38.1 https://github.com/algolia/autocomplete.js
autocompleteJS: autocomplete.js/0.38.1/autocomplete.min.js
# lunr.js@2.3.9 https://lunrjs.com/
lunrJS: lunr.js/2.3.9/lunr.min.js
# algoliasearch@4.13.1 https://github.com/algolia/algoliasearch-client-javascript
algoliasearchJS: algoliasearch/4.13.1/algoliasearch-lite.umd.min.js
# algoliasearch@5.19.0 https://github.com/algolia/algoliasearch-client-javascript
algoliasearchJS: algoliasearch/5.19.0/lite/builds/browser.umd.min.js
# lazysizes@5.3.2 https://github.com/aFarkas/lazysizes
lazysizesJS: lazysizes/5.3.2/lazysizes.min.js
# object-fit-images@3.2.4 https://github.com/fregante/object-fit-images
@ -24,31 +24,31 @@ libFiles:
lightgalleryZoomJS: lightgallery/2.5.0/plugins/zoom/lg-zoom.min.js
# clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
clipboardJS: clipboard.js/2.0.11/clipboard.min.js
# sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js
sharerJS: sharer.js/0.5.1/sharer.min.js
# sharer.js@0.5.2 https://github.com/ellisonleao/sharer.js
sharerJS: sharer.js/0.5.2/sharer.min.js
# typeit@8.6.0 https://github.com/alexmacarthur/typeit
typeitJS: typeit/8.6.0/index.umd.js
# katex@0.16.0 https://katex.org/
katexCSS: KaTeX/0.16.0/katex.min.css
katexJS: KaTeX/0.16.0/katex.min.js
katexAutoRenderJS: KaTeX/0.16.0/contrib/auto-render.min.js
katexCopyTexJS: KaTeX/0.16.0/contrib/copy-tex.min.js
katexMhchemJS: KaTeX/0.16.0/contrib/mhchem.min.js
# mermaid@9.1.3https://github.com/mermaid-js/mermaid
mermaidJS: mermaid/9.1.3/mermaid.min.js
# echarts@5.3.3 https://echarts.apache.org/
echartsJS: echarts/5.3.3/echarts.min.js
# katex@0.16.9 https://katex.org/
katexCSS: KaTeX/0.16.9/katex.min.css
katexJS: KaTeX/0.16.9/katex.min.js
katexAutoRenderJS: KaTeX/0.16.9/contrib/auto-render.min.js
katexCopyTexJS: KaTeX/0.16.9/contrib/copy-tex.min.js
katexMhchemJS: KaTeX/0.16.9/contrib/mhchem.min.js
# mermaid@11.4.0 https://github.com/mermaid-js/mermaid
mermaidJS: mermaid/11.4.0/mermaid.min.js
# echarts@5.6.0 https://echarts.apache.org/
echartsJS: echarts/5.6.0/echarts.min.js
# mapbox-gl@2.9.1 https://docs.mapbox.com/mapbox-gl-js
mapboxGLCSS: mapbox-gl/2.9.1/mapbox-gl.min.css
mapboxGLJS: mapbox-gl/2.9.1/mapbox-gl.min.js
# aplayer@1.10.1 https://github.com/MoePlayer/APlayer
aplayerCSS: aplayer/1.10.1/APlayer.min.css
aplayerJS: aplayer/1.10.1/APlayer.min.js
#aplayerJS: aplayer/1.10.1/APlayer.min.js
# gitalk@1.7.2 https://github.com/gitalk/gitalk
gitalkCSS: gitalk/1.7.2/gitalk.min.css
gitalkJS: gitalk/1.7.2/gitalk.min.js
# valine@1.5.0 https://valine.js.org/
valineJS: valine/1.5.0/Valine.min.js
# valine@1.5.3 https://valine.js.org/
valineJS: valine/1.5.3/Valine.min.js
# cookieconsent@3.1.1 https://github.com/osano/cookieconsent
cookieconsentCSS: cookieconsent/3.1.1/cookieconsent.min.css
cookieconsentJS: cookieconsent/3.1.1/cookieconsent.min.js

View file

@ -0,0 +1,58 @@
prefix:
libFiles: https://testingcf.jsdelivr.net/npm/
# simple-icons@14.9.0 https://github.com/simple-icons/simple-icons
simpleIcons: https://testingcf.jsdelivr.net/npm/simple-icons@14.9.0/icons/
libFiles:
# fontawesome-free@6.7.2 https://fontawesome.com/
fontawesomeFreeCSS: '@fortawesome/fontawesome-free@6.7.2/css/all.min.css'
# animate.css@4.1.1 https://github.com/daneden/animate.css
animateCSS: animate.css@4.1.1/animate.min.css
# autocomplete.js@0.38.1 https://github.com/algolia/autocomplete.js
autocompleteJS: autocomplete.js@0.38.1/dist/autocomplete.min.js
# lunr.js@2.3.9 https://lunrjs.com/
lunrJS: lunr@2.3.9/lunr.min.js
# algoliasearch@5.20.2 https://github.com/algolia/algoliasearch-client-javascript
algoliasearchJS: algoliasearch@5.20.2/dist/lite/builds/browser.umd.min.js
# lazysizes@5.3.2 https://github.com/aFarkas/lazysizes
lazysizesJS: lazysizes@5.3.2/lazysizes.min.js
# object-fit-images@3.2.4 https://github.com/fregante/object-fit-images
objectFitImagesJS: object-fit-images@3.2.4/dist/ofi.min.js
# twemoji@14.0.2 https://github.com/twitter/twemoji
twemojiJS: twemoji@14.0.2/dist/twemoji.min.js
# lightgallery@2.5.0 https://github.com/sachinchoolur/lightgallery
lightgalleryCSS: lightgallery@2.5.0/css/lightgallery-bundle.min.css
lightgalleryJS: lightgallery@2.5.0/lightgallery.min.js
lightgalleryThumbnailJS: lightgallery@2.5.0/plugins/thumbnail/lg-thumbnail.min.js
lightgalleryZoomJS: lightgallery@2.5.0/plugins/zoom/lg-zoom.min.js
# clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
clipboardJS: clipboard@2.0.11/dist/clipboard.min.js
# sharer.js@0.5.2 https://github.com/ellisonleao/sharer.js
sharerJS: sharer.js@0.5.2/sharer.min.js
# typeit@8.6.0 https://github.com/alexmacarthur/typeit
typeitJS: typeit@8.6.0/dist/index.umd.js
# katex@0.16.21 https://katex.org/
katexCSS: katex@0.16.21/dist/katex.min.css
katexJS: katex@0.16.21/dist/katex.min.js
katexAutoRenderJS: katex@0.16.21/dist/contrib/auto-render.min.js
katexCopyTexJS: katex@0.16.21/dist/contrib/copy-tex.min.js
katexMhchemJS: katex@0.16.21/dist/contrib/mhchem.min.js
# mermaid@11.5.0https://github.com/mermaid-js/mermaid
mermaidJS: mermaid@11.5.0/dist/mermaid.min.js
# echarts@5.6.0 https://echarts.apache.org/
echartsJS: echarts@5.6.0/dist/echarts.min.js
# mapbox-gl@2.9.1 https://docs.mapbox.com/mapbox-gl-js
mapboxGLCSS: mapbox-gl@2.9.1/dist/mapbox-gl.min.css
mapboxGLJS: mapbox-gl@2.9.1/dist/mapbox-gl.min.js
# aplayer@1.10.1 https://github.com/MoePlayer/APlayer
aplayerCSS: aplayer@1.10.1/dist/APlayer.min.css
#aplayerJS: aplayer@1.10.1/dist/APlayer.min.js
# meting@2.0.1 https://github.com/metowolf/MetingJS
metingJS: meting@2.0.1/dist/Meting.min.js
# gitalk@1.7.2 https://github.com/gitalk/gitalk
gitalkCSS: gitalk@1.7.2/dist/gitalk.min.css
gitalkJS: gitalk@1.7.2/dist/gitalk.min.js
# valine@1.5.3 https://valine.js.org/
valineJS: valine@1.5.3/dist/Valine.min.js
# cookieconsent@3.1.1 https://github.com/osano/cookieconsent
cookieconsentCSS: cookieconsent@3.1.1/build/cookieconsent.min.css
cookieconsentJS: cookieconsent@3.1.1/build/cookieconsent.min.js

View file

@ -0,0 +1,58 @@
prefix:
libFiles: https://fastly.jsdelivr.net/npm/
# simple-icons@14.9.0 https://github.com/simple-icons/simple-icons
simpleIcons: https://fastly.jsdelivr.net/npm/simple-icons@14.9.0/icons/
libFiles:
# fontawesome-free@6.7.2 https://fontawesome.com/
fontawesomeFreeCSS: '@fortawesome/fontawesome-free@6.7.2/css/all.min.css'
# animate.css@4.1.1 https://github.com/daneden/animate.css
animateCSS: animate.css@4.1.1/animate.min.css
# autocomplete.js@0.38.1 https://github.com/algolia/autocomplete.js
autocompleteJS: autocomplete.js@0.38.1/dist/autocomplete.min.js
# lunr.js@2.3.9 https://lunrjs.com/
lunrJS: lunr@2.3.9/lunr.min.js
# algoliasearch@5.20.2 https://github.com/algolia/algoliasearch-client-javascript
algoliasearchJS: algoliasearch@5.20.2/dist/lite/builds/browser.umd.min.js
# lazysizes@5.3.2 https://github.com/aFarkas/lazysizes
lazysizesJS: lazysizes@5.3.2/lazysizes.min.js
# object-fit-images@3.2.4 https://github.com/fregante/object-fit-images
objectFitImagesJS: object-fit-images@3.2.4/dist/ofi.min.js
# twemoji@14.0.2 https://github.com/twitter/twemoji
twemojiJS: twemoji@14.0.2/dist/twemoji.min.js
# lightgallery@2.5.0 https://github.com/sachinchoolur/lightgallery
lightgalleryCSS: lightgallery@2.5.0/css/lightgallery-bundle.min.css
lightgalleryJS: lightgallery@2.5.0/lightgallery.min.js
lightgalleryThumbnailJS: lightgallery@2.5.0/plugins/thumbnail/lg-thumbnail.min.js
lightgalleryZoomJS: lightgallery@2.5.0/plugins/zoom/lg-zoom.min.js
# clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
clipboardJS: clipboard@2.0.11/dist/clipboard.min.js
# sharer.js@0.5.2 https://github.com/ellisonleao/sharer.js
sharerJS: sharer.js@0.5.2/sharer.min.js
# typeit@8.6.0 https://github.com/alexmacarthur/typeit
typeitJS: typeit@8.6.0/dist/index.umd.js
# katex@0.16.21 https://katex.org/
katexCSS: katex@0.16.21/dist/katex.min.css
katexJS: katex@0.16.21/dist/katex.min.js
katexAutoRenderJS: katex@0.16.21/dist/contrib/auto-render.min.js
katexCopyTexJS: katex@0.16.21/dist/contrib/copy-tex.min.js
katexMhchemJS: katex@0.16.21/dist/contrib/mhchem.min.js
# mermaid@11.5.0https://github.com/mermaid-js/mermaid
mermaidJS: mermaid@11.5.0/dist/mermaid.min.js
# echarts@5.6.0 https://echarts.apache.org/
echartsJS: echarts@5.6.0/dist/echarts.min.js
# mapbox-gl@2.9.1 https://docs.mapbox.com/mapbox-gl-js
mapboxGLCSS: mapbox-gl@2.9.1/dist/mapbox-gl.min.css
mapboxGLJS: mapbox-gl@2.9.1/dist/mapbox-gl.min.js
# aplayer@1.10.1 https://github.com/MoePlayer/APlayer
aplayerCSS: aplayer@1.10.1/dist/APlayer.min.css
#aplayerJS: aplayer@1.10.1/dist/APlayer.min.js
# meting@2.0.1 https://github.com/metowolf/MetingJS
metingJS: meting@2.0.1/dist/Meting.min.js
# gitalk@1.7.2 https://github.com/gitalk/gitalk
gitalkCSS: gitalk@1.7.2/dist/gitalk.min.css
gitalkJS: gitalk@1.7.2/dist/gitalk.min.js
# valine@1.5.3 https://valine.js.org/
valineJS: valine@1.5.3/dist/Valine.min.js
# cookieconsent@3.1.1 https://github.com/osano/cookieconsent
cookieconsentCSS: cookieconsent@3.1.1/build/cookieconsent.min.css
cookieconsentJS: cookieconsent@3.1.1/build/cookieconsent.min.js

View file

@ -1,18 +1,18 @@
prefix:
libFiles: https://cdn.jsdelivr.net/npm/
# simple-icons@7.3.0 https://github.com/simple-icons/simple-icons
simpleIcons: https://cdn.jsdelivr.net/npm/simple-icons@7.3.0/icons/
# simple-icons@14.9.0 https://github.com/simple-icons/simple-icons
simpleIcons: https://cdn.jsdelivr.net/npm/simple-icons@14.9.0/icons/
libFiles:
# fontawesome-free@6.1.1 https://fontawesome.com/
fontawesomeFreeCSS: '@fortawesome/fontawesome-free@6.1.1/css/all.min.css'
# fontawesome-free@6.7.2 https://fontawesome.com/
fontawesomeFreeCSS: '@fortawesome/fontawesome-free@6.7.2/css/all.min.css'
# animate.css@4.1.1 https://github.com/daneden/animate.css
animateCSS: animate.css@4.1.1/animate.min.css
# autocomplete.js@0.38.1 https://github.com/algolia/autocomplete.js
autocompleteJS: autocomplete.js@0.38.1/dist/autocomplete.min.js
# lunr.js@2.3.9 https://lunrjs.com/
lunrJS: lunr@2.3.9/lunr.min.js
# algoliasearch@4.13.1 https://github.com/algolia/algoliasearch-client-javascript
algoliasearchJS: algoliasearch@4.13.1/dist/algoliasearch-lite.umd.min.js
# algoliasearch@5.20.2 https://github.com/algolia/algoliasearch-client-javascript
algoliasearchJS: algoliasearch@5.20.2/dist/lite/builds/browser.umd.min.js
# lazysizes@5.3.2 https://github.com/aFarkas/lazysizes
lazysizesJS: lazysizes@5.3.2/lazysizes.min.js
# object-fit-images@3.2.4 https://github.com/fregante/object-fit-images
@ -26,33 +26,33 @@ libFiles:
lightgalleryZoomJS: lightgallery@2.5.0/plugins/zoom/lg-zoom.min.js
# clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
clipboardJS: clipboard@2.0.11/dist/clipboard.min.js
# sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js
sharerJS: sharer.js@0.5.1/sharer.min.js
# sharer.js@0.5.2 https://github.com/ellisonleao/sharer.js
sharerJS: sharer.js@0.5.2/sharer.min.js
# typeit@8.6.0 https://github.com/alexmacarthur/typeit
typeitJS: typeit@8.6.0/dist/index.umd.js
# katex@0.16.0 https://katex.org/
katexCSS: katex@0.16.0/dist/katex.min.css
katexJS: katex@0.16.0/dist/katex.min.js
katexAutoRenderJS: katex@0.16.0/dist/contrib/auto-render.min.js
katexCopyTexJS: katex@0.16.0/dist/contrib/copy-tex.min.js
katexMhchemJS: katex@0.16.0/dist/contrib/mhchem.min.js
# mermaid@9.1.3https://github.com/mermaid-js/mermaid
mermaidJS: mermaid@9.1.3/dist/mermaid.min.js
# echarts@5.3.3 https://echarts.apache.org/
echartsJS: echarts@5.3.3/dist/echarts.min.js
# katex@0.16.21 https://katex.org/
katexCSS: katex@0.16.21/dist/katex.min.css
katexJS: katex@0.16.21/dist/katex.min.js
katexAutoRenderJS: katex@0.16.21/dist/contrib/auto-render.min.js
katexCopyTexJS: katex@0.16.21/dist/contrib/copy-tex.min.js
katexMhchemJS: katex@0.16.21/dist/contrib/mhchem.min.js
# mermaid@11.5.0https://github.com/mermaid-js/mermaid
mermaidJS: mermaid@11.5.0/dist/mermaid.min.js
# echarts@5.6.0 https://echarts.apache.org/
echartsJS: echarts@5.6.0/dist/echarts.min.js
# mapbox-gl@2.9.1 https://docs.mapbox.com/mapbox-gl-js
mapboxGLCSS: mapbox-gl@2.9.1/dist/mapbox-gl.min.css
mapboxGLJS: mapbox-gl@2.9.1/dist/mapbox-gl.min.js
# aplayer@1.10.1 https://github.com/MoePlayer/APlayer
aplayerCSS: aplayer@1.10.1/dist/APlayer.min.css
aplayerJS: aplayer@1.10.1/dist/APlayer.min.js
#aplayerJS: aplayer@1.10.1/dist/APlayer.min.js
# meting@2.0.1 https://github.com/metowolf/MetingJS
metingJS: meting@2.0.1/dist/Meting.min.js
# gitalk@1.7.2 https://github.com/gitalk/gitalk
gitalkCSS: gitalk@1.7.2/dist/gitalk.min.css
gitalkJS: gitalk@1.7.2/dist/gitalk.min.js
# valine@1.5.0 https://valine.js.org/
valineJS: valine@1.5.0/dist/Valine.min.js
# valine@1.5.3 https://valine.js.org/
valineJS: valine@1.5.3/dist/Valine.min.js
# cookieconsent@3.1.1 https://github.com/osano/cookieconsent
cookieconsentCSS: cookieconsent@3.1.1/build/cookieconsent.min.css
cookieconsentJS: cookieconsent@3.1.1/build/cookieconsent.min.js

58
assets/data/cdn/unpkg.yml Normal file
View file

@ -0,0 +1,58 @@
prefix:
libFiles: https://unpkg.com/
# simple-icons@14.9.0 https://github.com/simple-icons/simple-icons
simpleIcons: https://unpkg.com/simple-icons@14.9.0/icons/
libFiles:
# fontawesome-free@6.7.2 https://fontawesome.com/
fontawesomeFreeCSS: '@fortawesome/fontawesome-free@6.7.2/css/all.min.css'
# animate.css@4.1.1 https://github.com/daneden/animate.css
animateCSS: animate.css@4.1.1/animate.min.css
# autocomplete.js@0.38.1 https://github.com/algolia/autocomplete.js
autocompleteJS: autocomplete.js@0.38.1/dist/autocomplete.min.js
# lunr.js@2.3.9 https://lunrjs.com/
lunrJS: lunr@2.3.9/lunr.min.js
# algoliasearch@5.20.2 https://github.com/algolia/algoliasearch-client-javascript
algoliasearchJS: algoliasearch@5.20.2/dist/lite/builds/browser.umd.min.js
# lazysizes@5.3.2 https://github.com/aFarkas/lazysizes
lazysizesJS: lazysizes@5.3.2/lazysizes.min.js
# object-fit-images@3.2.4 https://github.com/fregante/object-fit-images
objectFitImagesJS: object-fit-images@3.2.4/dist/ofi.min.js
# twemoji@14.0.2 https://github.com/twitter/twemoji
twemojiJS: twemoji@14.0.2/dist/twemoji.min.js
# lightgallery@2.5.0 https://github.com/sachinchoolur/lightgallery
lightgalleryCSS: lightgallery@2.5.0/css/lightgallery-bundle.min.css
lightgalleryJS: lightgallery@2.5.0/lightgallery.min.js
lightgalleryThumbnailJS: lightgallery@2.5.0/plugins/thumbnail/lg-thumbnail.min.js
lightgalleryZoomJS: lightgallery@2.5.0/plugins/zoom/lg-zoom.min.js
# clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
clipboardJS: clipboard@2.0.11/dist/clipboard.min.js
# sharer.js@0.5.2 https://github.com/ellisonleao/sharer.js
sharerJS: sharer.js@0.5.2/sharer.min.js
# typeit@8.6.0 https://github.com/alexmacarthur/typeit
typeitJS: typeit@8.6.0/dist/index.umd.js
# katex@0.16.21 https://katex.org/
katexCSS: katex@0.16.21/dist/katex.min.css
katexJS: katex@0.16.21/dist/katex.min.js
katexAutoRenderJS: katex@0.16.21/dist/contrib/auto-render.min.js
katexCopyTexJS: katex@0.16.21/dist/contrib/copy-tex.min.js
katexMhchemJS: katex@0.16.21/dist/contrib/mhchem.min.js
# mermaid@11.5.0https://github.com/mermaid-js/mermaid
mermaidJS: mermaid@11.5.0/dist/mermaid.min.js
# echarts@5.6.0 https://echarts.apache.org/
echartsJS: echarts@5.6.0/dist/echarts.min.js
# mapbox-gl@2.9.1 https://docs.mapbox.com/mapbox-gl-js
mapboxGLCSS: mapbox-gl@2.9.1/dist/mapbox-gl.min.css
mapboxGLJS: mapbox-gl@2.9.1/dist/mapbox-gl.min.js
# aplayer@1.10.1 https://github.com/MoePlayer/APlayer
aplayerCSS: aplayer@1.10.1/dist/APlayer.min.css
#aplayerJS: aplayer@1.10.1/dist/APlayer.min.js
# meting@2.0.1 https://github.com/metowolf/MetingJS
metingJS: meting@2.0.1/dist/Meting.min.js
# gitalk@1.7.2 https://github.com/gitalk/gitalk
gitalkCSS: gitalk@1.7.2/dist/gitalk.min.css
gitalkJS: gitalk@1.7.2/dist/gitalk.min.js
# valine@1.5.3 https://valine.js.org/
valineJS: valine@1.5.3/dist/Valine.min.js
# cookieconsent@3.1.1 https://github.com/osano/cookieconsent
cookieconsentCSS: cookieconsent@3.1.1/build/cookieconsent.min.css
cookieconsentJS: cookieconsent@3.1.1/build/cookieconsent.min.js

View file

@ -1,4 +1,4 @@
# 001: Github
# 001: GitHub
github:
Weight: 1
Prefix: https://github.com/
@ -14,13 +14,16 @@ linkedin:
Icon:
Class: fab fa-linkedin fa-fw
# 003: Twitter
twitter:
# 003: X
x:
Weight: 3
Prefix: https://twitter.com/
Title: Twitter
Prefix: https://x.com/
Title: X
Icon:
Class: fab fa-twitter fa-fw
Class: fab fa-x-twitter fa-fw
twitter:
Alias: x
# 004: Instagram
instagram:
@ -30,7 +33,7 @@ instagram:
Icon:
Class: fab fa-instagram fa-fw
# 005: facebook
# 005: Facebook
facebook:
Weight: 5
Prefix: https://facebook.com/
@ -49,7 +52,7 @@ telegram:
# 007: Medium
medium:
Weight: 7
Prefix: https://medium.com/
Prefix: https://medium.com/@
Title: Medium
Icon:
Class: fab fa-medium fa-fw
@ -567,7 +570,55 @@ rootme:
Title: Root-Me
Prefix: https://www.root-me.org/
Icon:
Src: svg/icons/rootme.svg
Simpleicons: rootme
# 073: Malt
malt:
Weight: 73
Prefix: https://www.malt.fr/profile/
Title: Malt
Icon:
Src: svg/icons/malt.svg
# 074: TikTok
tiktok:
Weight: 74
Url: https://www.tiktok.com/
Title: TikTok
Icon:
Simpleicons: tiktok
# 075: TryHackMe
tryhackme:
Weight: 75
Title: TryHackMe
Prefix: https://tryhackme.com/p/
Icon:
Simpleicons: tryhackme
# 076: Codeberg
codeberg:
Weight: 76
Title: Codeberg
Prefix: https://codeberg.org/
Icon:
Simpleicons: codeberg
# 077: Hugging Face
huggingface:
Weight: 77
Title: Hugging Face
Prefix: https://huggingface.co/
Icon:
Simpleicons: huggingface
# 078: Threads
threads:
Weight: 78
Title: Threads
Prefix: https://www.threads.net/@
Icon:
Class: fab fa-threads fa-fw
# Phone
phone:

File diff suppressed because it is too large Load diff

View file

@ -1,25 +0,0 @@
normalize.css@8.0.1 https://github.com/necolas/normalize.css
fontawesome-free@6.1.1 https://fontawesome.com/
simple-icons@7.3.0 https://github.com/simple-icons/simple-icons
animate.css@4.1.1 https://github.com/daneden/animate.css
autocomplete@0.38.1 https://github.com/algolia/autocomplete
lunr.js@2.3.9 https://lunrjs.com/
algoliasearch@4.13.1 https://github.com/algolia/algoliasearch-client-javascript
lazysizes@5.3.2 https://github.com/aFarkas/lazysizes
object-fit-images@3.2.4 https://github.com/fregante/object-fit-images
twemoji@14.0.2 https://github.com/twitter/twemoji
emoji-data@14.0.0 https://github.com/iamcal/emoji-data
lightgallery@2.5.0 https://github.com/sachinchoolur/lightgallery
clipboard.js@2.0.11 https://github.com/zenorocha/clipboard.js
sharer.js@0.5.1 https://github.com/ellisonleao/sharer.js
typeit@8.6.0 https://github.com/alexmacarthur/typeit
katex@0.16.0 https://katex.org/
mermaid@9.1.3 https://github.com/mermaid-js/mermaid
echarts@5.3.3 https://echarts.apache.org/
mapbox-gl@2.9.1 https://github.com/mapbox/mapbox-gl-js
aplayer@1.10.1 https://github.com/MoePlayer/APlayer
meting@2.0.1 https://github.com/metowolf/MetingJS
gitalk@1.7.2 https://github.com/gitalk/gitalk
valine@1.5.0 https://valine.js.org/
cookieconsent@3.1.1 https://github.com/osano/cookieconsent
waline@2.6.1 https://waline.js.org/

28
assets/lib/VERSION.md Normal file
View file

@ -0,0 +1,28 @@
# Dependency Libraries Version
| Dependency Library | Directory | Version |
|:------------------------------------------------------------------------------------|:------------------|--------:|
| [Algolia Search Client](https://github.com/algolia/algoliasearch-client-javascript) | algoliasearch | 5.20.2 |
| [Animate.css](https://github.com/daneden/animate.css) | animate | 4.1.1 |
| [APlayer](https://github.com/MoePlayer/APlayer) | aplayer | 1.10.1 |
| [Autocomplete](https://github.com/algolia/autocomplete) | autocomplete | 0.38.1 |
| [clipboard.js](https://github.com/zenorocha/clipboard.js) | clipboard | 2.0.11 |
| [Cookie Consent](https://github.com/osano/cookieconsent) | cookieconsent | 3.1.1 |
| [Apache ECharts](https://github.com/apache/echarts) | echarts | 5.6.0 |
| [emoji-data](https://github.com/iamcal/emoji-data) | emoji-data | 15.1.2 |
| [Font Awesome Free](https://github.com/FortAwesome/Font-Awesome) | fontawesome-free | 6.7.2 |
| [Gitalk](https://github.com/gitalk/gitalk) | gitalk | 1.7.2 |
| [KaTeX](https://github.com/KaTeX/KaTeX) | katex | 0.16.21 |
| [lazysizes](https://github.com/aFarkas/lazysizes) | lazysizes | 5.3.2 |
| [lightGallery](https://github.com/sachinchoolur/lightgallery) | lightgallery | 2.5.0 |
| [Lunr.js](https://github.com/olivernn/lunr.js) | lunr | 2.3.9 |
| [Mapbox GL JS](https://github.com/mapbox/mapbox-gl-js) | mapbox-gl | 2.9.1 |
| [Mermaid](https://github.com/mermaid-js/mermaid) | mermaid | 11.5.0 |
| [MetingJS](https://github.com/metowolf/MetingJS) | meting | 2.0.1 |
| [modern-normalize](https://github.com/sindresorhus/modern-normalize) | modern-normalize | 3.0.1 |
| [object-fit-images](https://github.com/fregante/object-fit-images) | object-fit-images | 3.2.4 |
| [sharer.js](https://github.com/ellisonleao/sharer.js) | sharer | 0.5.2 |
| [Simple Icons](https://github.com/simple-icons/simple-icons) | simple-icons | 14.9.0 |
| [Twemoji](https://github.com/twitter/twemoji) | twemoji | 14.0.2 |
| [TypeIt](https://github.com/alexmacarthur/typeit) | typeit | 8.6.0 |
| [Valine](https://github.com/xCss/Valine) | valine | 1.5.3 |

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("katex")):"function"==typeof define&&define.amd?define(["katex"],t):"object"==typeof exports?exports.renderMathInElement=t(require("katex")):e.renderMathInElement=t(e.katex)}("undefined"!=typeof self?self:this,(function(e){return function(){"use strict";var t={771:function(t){t.exports=e}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var a={};return function(){n.d(a,{default:function(){return s}});var e=n(771),t=n.n(e),r=function(e,t,r){for(var n=r,a=0,i=e.length;n<t.length;){var o=t[n];if(a<=0&&t.slice(n,n+i)===e)return n;"\\"===o?n++:"{"===o?a++:"}"===o&&a--,n++}return-1},i=/^\\begin{/,o=function(e,t){for(var n,a=[],o=new RegExp("("+t.map((function(e){return e.left.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")})).join("|")+")");-1!==(n=e.search(o));){n>0&&(a.push({type:"text",data:e.slice(0,n)}),e=e.slice(n));var l=t.findIndex((function(t){return e.startsWith(t.left)}));if(-1===(n=r(t[l].right,e,t[l].left.length)))break;var d=e.slice(0,n+t[l].right.length),s=i.test(d)?d:e.slice(t[l].left.length,n);a.push({type:"math",data:s,rawData:d,display:t[l].display}),e=e.slice(n+t[l].right.length)}return""!==e&&a.push({type:"text",data:e}),a},l=function(e,r){var n=o(e,r.delimiters);if(1===n.length&&"text"===n[0].type)return null;for(var a=document.createDocumentFragment(),i=0;i<n.length;i++)if("text"===n[i].type)a.appendChild(document.createTextNode(n[i].data));else{var l=document.createElement("span"),d=n[i].data;r.displayMode=n[i].display;try{r.preProcess&&(d=r.preProcess(d)),t().render(d,l,r)}catch(e){if(!(e instanceof t().ParseError))throw e;r.errorCallback("KaTeX auto-render: Failed to parse `"+n[i].data+"` with ",e),a.appendChild(document.createTextNode(n[i].rawData));continue}a.appendChild(l)}return a},d=function e(t,r){for(var n=0;n<t.childNodes.length;n++){var a=t.childNodes[n];if(3===a.nodeType){var i=l(a.textContent,r);i&&(n+=i.childNodes.length-1,t.replaceChild(i,a))}else 1===a.nodeType&&function(){var t=" "+a.className+" ";-1===r.ignoredTags.indexOf(a.nodeName.toLowerCase())&&r.ignoredClasses.every((function(e){return-1===t.indexOf(" "+e+" ")}))&&e(a,r)}()}},s=function(e,t){if(!e)throw new Error("No element provided to render");var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);r.delimiters=r.delimiters||[{left:"$$",right:"$$",display:!0},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}],r.ignoredTags=r.ignoredTags||["script","noscript","style","textarea","pre","code","option"],r.ignoredClasses=r.ignoredClasses||[],r.errorCallback=r.errorCallback||console.error,r.macros=r.macros||{},d(e,r)}}(),a=a.default}()}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("katex")):"function"==typeof define&&define.amd?define(["katex"],t):"object"==typeof exports?exports.renderMathInElement=t(require("katex")):e.renderMathInElement=t(e.katex)}("undefined"!=typeof self?self:this,(function(e){return function(){"use strict";var t={757:function(t){t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var o={};r.d(o,{default:function(){return p}});var i=r(757),a=r.n(i);const l=function(e,t,n){let r=n,o=0;const i=e.length;for(;r<t.length;){const n=t[r];if(o<=0&&t.slice(r,r+i)===e)return r;"\\"===n?r++:"{"===n?o++:"}"===n&&o--,r++}return-1},s=/^\\begin{/;var d=function(e,t){let n;const r=[],o=new RegExp("("+t.map((e=>e.left.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"))).join("|")+")");for(;n=e.search(o),-1!==n;){n>0&&(r.push({type:"text",data:e.slice(0,n)}),e=e.slice(n));const o=t.findIndex((t=>e.startsWith(t.left)));if(n=l(t[o].right,e,t[o].left.length),-1===n)break;const i=e.slice(0,n+t[o].right.length),a=s.test(i)?i:e.slice(t[o].left.length,n);r.push({type:"math",data:a,rawData:i,display:t[o].display}),e=e.slice(n+t[o].right.length)}return""!==e&&r.push({type:"text",data:e}),r};const c=function(e,t){const n=d(e,t.delimiters);if(1===n.length&&"text"===n[0].type)return null;const r=document.createDocumentFragment();for(let e=0;e<n.length;e++)if("text"===n[e].type)r.appendChild(document.createTextNode(n[e].data));else{const o=document.createElement("span");let i=n[e].data;t.displayMode=n[e].display;try{t.preProcess&&(i=t.preProcess(i)),a().render(i,o,t)}catch(o){if(!(o instanceof a().ParseError))throw o;t.errorCallback("KaTeX auto-render: Failed to parse `"+n[e].data+"` with ",o),r.appendChild(document.createTextNode(n[e].rawData));continue}r.appendChild(o)}return r},f=function(e,t){for(let n=0;n<e.childNodes.length;n++){const r=e.childNodes[n];if(3===r.nodeType){let o=r.textContent,i=r.nextSibling,a=0;for(;i&&i.nodeType===Node.TEXT_NODE;)o+=i.textContent,i=i.nextSibling,a++;const l=c(o,t);if(l){for(let e=0;e<a;e++)r.nextSibling.remove();n+=l.childNodes.length-1,e.replaceChild(l,r)}else n+=a}else if(1===r.nodeType){const e=" "+r.className+" ";-1===t.ignoredTags.indexOf(r.nodeName.toLowerCase())&&t.ignoredClasses.every((t=>-1===e.indexOf(" "+t+" ")))&&f(r,t)}}};var p=function(e,t){if(!e)throw new Error("No element provided to render");const n={};for(const e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);n.delimiters=n.delimiters||[{left:"$$",right:"$$",display:!0},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}],n.ignoredTags=n.ignoredTags||["script","noscript","style","textarea","pre","code","option"],n.ignoredClasses=n.ignoredClasses||[],n.errorCallback=n.errorCallback||console.error,n.macros=n.macros||{},f(e,n)};return o=o.default}()}));

View file

@ -1 +1 @@
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"!=typeof self?self:this,(function(){return function(){"use strict";var e={},t={inline:["$","$"],display:["$$","$$"]};var n=function(e,n){void 0===n&&(n=t);for(var r=e.querySelectorAll(".katex-mathml + .katex-html"),a=0;a<r.length;a++){var o=r[a];o.remove?o.remove():o.parentNode&&o.parentNode.removeChild(o)}for(var i=e.querySelectorAll(".katex-mathml"),l=0;l<i.length;l++){var f=i[l],c=f.querySelector("annotation");c&&(f.replaceWith?f.replaceWith(c):f.parentNode&&f.parentNode.replaceChild(c,f),c.innerHTML=n.inline[0]+c.innerHTML+n.inline[1])}for(var d=e.querySelectorAll(".katex-display annotation"),s=0;s<d.length;s++){var p=d[s];p.innerHTML=n.display[0]+p.innerHTML.substr(n.inline[0].length,p.innerHTML.length-n.inline[0].length-n.inline[1].length)+n.display[1]}return e};function r(e){var t=e instanceof Element?e:e.parentElement;return t&&t.closest(".katex")}return document.addEventListener("copy",(function(e){var t=window.getSelection();if(!t.isCollapsed&&e.clipboardData){var a=e.clipboardData,o=t.getRangeAt(0),i=r(o.startContainer);i&&o.setStartBefore(i);var l=r(o.endContainer);l&&o.setEndAfter(l);var f=o.cloneContents();if(f.querySelector(".katex-mathml")){var c=Array.prototype.map.call(f.childNodes,(function(e){return e instanceof Text?e.textContent:e.outerHTML})).join("");a.setData("text/html",c),a.setData("text/plain",n(f).textContent),e.preventDefault()}}})),e=e.default}()}));
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}("undefined"!=typeof self?self:this,(function(){return function(){"use strict";var e={};const t={inline:["$","$"],display:["$$","$$"]};var n=function(e,n){void 0===n&&(n=t);const o=e.querySelectorAll(".katex-mathml + .katex-html");for(let e=0;e<o.length;e++){const t=o[e];t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)}const r=e.querySelectorAll(".katex-mathml");for(let e=0;e<r.length;e++){const t=r[e],o=t.querySelector("annotation");o&&(t.replaceWith?t.replaceWith(o):t.parentNode&&t.parentNode.replaceChild(o,t),o.innerHTML=n.inline[0]+o.innerHTML+n.inline[1])}const l=e.querySelectorAll(".katex-display annotation");for(let e=0;e<l.length;e++){const t=l[e];t.innerHTML=n.display[0]+t.innerHTML.substr(n.inline[0].length,t.innerHTML.length-n.inline[0].length-n.inline[1].length)+n.display[1]}return e};function o(e){const t=e instanceof Element?e:e.parentElement;return t&&t.closest(".katex")}return document.addEventListener("copy",(function(e){const t=window.getSelection();if(t.isCollapsed||!e.clipboardData)return;const r=e.clipboardData,l=t.getRangeAt(0),i=o(l.startContainer);i&&l.setStartBefore(i);const a=o(l.endContainer);a&&l.setEndAfter(a);const s=l.cloneContents();if(!s.querySelector(".katex-mathml"))return;const c=Array.prototype.map.call(s.childNodes,(e=>e instanceof Text?e.textContent:e.outerHTML)).join("");r.setData("text/html",c),r.setData("text/plain",n(s).textContent),e.preventDefault()})),e=e.default}()}));

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show more