-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into production
- Loading branch information
Showing
18 changed files
with
149 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,17 +23,17 @@ bootstrap: | |
js: https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js | ||
|
||
toc: | ||
css: https://cdn.jsdelivr.net/npm/tocbot@4.21.3/dist/tocbot.min.css | ||
js: https://cdn.jsdelivr.net/npm/tocbot@4.21.3/dist/tocbot.min.js | ||
css: https://cdn.jsdelivr.net/npm/tocbot@4.25.0/dist/tocbot.min.css | ||
js: https://cdn.jsdelivr.net/npm/tocbot@4.25.0/dist/tocbot.min.js | ||
|
||
fontawesome: | ||
css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.4.2/css/all.min.css | ||
css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.1/css/all.min.css | ||
|
||
search: | ||
js: https://cdn.jsdelivr.net/npm/[email protected]/dest/simple-jekyll-search.min.js | ||
|
||
mermaid: | ||
js: https://cdn.jsdelivr.net/npm/[email protected].0/dist/mermaid.min.js | ||
js: https://cdn.jsdelivr.net/npm/[email protected].1/dist/mermaid.min.js | ||
|
||
dayjs: | ||
js: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<iframe | ||
class="embed-video bilibili" | ||
loading="lazy" | ||
src="https://player.bilibili.com/player.html?bvid={{ include.id }}" | ||
scrolling="no" | ||
border="0" | ||
frameborder="no" | ||
framespacing="0" | ||
allowfullscreen="true" | ||
></iframe> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{%- comment -%} | ||
Generate image final URL based on `site.img_cdn`, `page.img_path` | ||
|
||
Arguments: | ||
src - basic image path, required | ||
img_path - relative path of image, optional | ||
|
||
Return: | ||
image URL | ||
{%- endcomment -%} | ||
|
||
{% assign url = include.src %} | ||
|
||
{%- if url -%} | ||
{%- comment -%} CND URL {%- endcomment -%} | ||
{% assign prefix = site.img_cdn | default: '' | relative_url %} | ||
|
||
{%- comment -%} Add page image path prefix {%- endcomment -%} | ||
{% assign url = include.img_path | default: '' | append: '/' | append: url %} | ||
|
||
{% assign url = prefix | append: '/' | append: url | replace: '///', '/' | replace: '//', '/' | replace: ':', ':/' %} | ||
{%- endif -%} | ||
|
||
{{- url -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.