Skip to content

Commit 8a2d4f4

Browse files
2 parents eb97dce + 7f35d8e commit 8a2d4f4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+261
-219
lines changed

.github/workflows/codeql.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
paths: ["_javascript/**/*.js"]
7+
pull_request:
8+
paths: ["_javascript/**/*.js"]
9+
10+
jobs:
11+
analyze:
12+
name: Analyze
13+
runs-on: ubuntu-latest
14+
permissions:
15+
actions: read
16+
contents: read
17+
security-events: write
18+
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
language: ["javascript"]
23+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
24+
25+
steps:
26+
- name: Checkout repository
27+
uses: actions/checkout@v5
28+
29+
# Initializes the CodeQL tools for scanning.
30+
- name: Initialize CodeQL
31+
uses: github/codeql-action/init@v4
32+
with:
33+
languages: "${{ matrix.language }}"
34+
config-file: .github/codeql/codeql-config.yml
35+
36+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
37+
# If this step fails, then you should remove it and run the build manually (see below)
38+
- name: Autobuild
39+
uses: github/codeql-action/autobuild@v4
40+
41+
- name: Perform CodeQL Analysis
42+
uses: github/codeql-action/analyze@v4
43+
with:
44+
category: "/language:${{ matrix.language }}"

.github/workflows/commitlint.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Lint Commit Messages
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- "hotfix/*"
8+
pull_request:
9+
10+
jobs:
11+
commitlint:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v5
15+
- uses: wagoid/commitlint-github-action@v6

.github/workflows/lint-js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
lint-js:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4.2.2
19+
- uses: actions/checkout@v5
2020

2121
- name: Setup Node.js
22-
uses: actions/setup-node@v4.4.0
22+
uses: actions/setup-node@v6
2323
with:
2424
node-version: lts/*
2525

.github/workflows/lint-scss.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
lint-scss:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4.2.2
15+
- uses: actions/checkout@v5
1616

1717
- name: Setup Node.js
18-
uses: actions/setup-node@v4.4.0
18+
uses: actions/setup-node@v6
1919
with:
2020
node-version: lts/*
2121

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ theme: jekyll-theme-chirpy
88
# otherwise, the layout language will use the default value of 'en'.
99
lang: en
1010

11-
# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
11+
# Change to your timezone › https://zones.arilyn.cc
1212
timezone: America/New_York
1313

1414
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md

_data/origin/cors.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,24 @@ webfonts: https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Sour
2020
# Libraries
2121

2222
toc:
23-
css: https://cdn.jsdelivr.net/npm/tocbot@4.32.2/dist/tocbot.min.css
24-
js: https://cdn.jsdelivr.net/npm/tocbot@4.32.2/dist/tocbot.min.js
23+
css: https://cdn.jsdelivr.net/npm/tocbot@4.36.4/dist/tocbot.min.css
24+
js: https://cdn.jsdelivr.net/npm/tocbot@4.36.4/dist/tocbot.min.js
2525

2626
fontawesome:
27-
css: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.7.1/css/all.min.css
27+
css: https://cdn.jsdelivr.net/npm/@fortawesome/[email protected].0/css/all.min.css
2828

2929
search:
3030
js: https://cdn.jsdelivr.net/npm/[email protected]/dest/simple-jekyll-search.min.js
3131

3232
mermaid:
33-
js: https://cdn.jsdelivr.net/npm/mermaid@11.4.0/dist/mermaid.min.js
33+
js: https://cdn.jsdelivr.net/npm/mermaid@11.12.0/dist/mermaid.min.js
3434

3535
dayjs:
3636
js:
37-
common: https://cdn.jsdelivr.net/npm/[email protected].13/dayjs.min.js
38-
locale: https://cdn.jsdelivr.net/npm/[email protected].13/locale/:LOCALE.js
39-
relativeTime: https://cdn.jsdelivr.net/npm/[email protected].13/plugin/relativeTime.js
40-
localizedFormat: https://cdn.jsdelivr.net/npm/[email protected].13/plugin/localizedFormat.js
37+
common: https://cdn.jsdelivr.net/npm/[email protected].18/dayjs.min.js
38+
locale: https://cdn.jsdelivr.net/npm/[email protected].18/locale/:LOCALE.js
39+
relativeTime: https://cdn.jsdelivr.net/npm/[email protected].18/plugin/relativeTime.js
40+
localizedFormat: https://cdn.jsdelivr.net/npm/[email protected].18/plugin/localizedFormat.js
4141

4242
glightbox:
4343
css: https://cdn.jsdelivr.net/npm/[email protected]/dist/css/glightbox.min.css

_includes/embed/audio.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{% endunless %}
1010

1111
<p>
12-
<audio class="embed-audio" controls>
12+
<audio class="embed-audio file" controls>
1313
{% assign extension = src | split: '.' | last %}
1414
{% assign types = extension | concat: types %}
1515

_includes/embed/spotify.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{% assign size = 352 %}
2+
{% assign theme = '' %}
3+
4+
{% if include.compact %}
5+
{% assign size = 152 %}
6+
{% endif %}
7+
8+
{% if include.dark %}
9+
{% assign theme = '?theme=0' %}
10+
{% endif %}
11+
12+
<iframe
13+
class="embed-audio spotify"
14+
src="https://open.spotify.com/embed/track/{{ include.id | append: theme }}"
15+
height="{{ size }}"
16+
frameBorder="0"
17+
allowfullscreen=""
18+
allowtransparency="true"
19+
allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"
20+
loading="lazy"
21+
>
22+
</iframe>

_includes/favicons.html

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,10 @@
55

66
{% capture favicon_path %}{{ '/assets/img/favicons' | relative_url }}{% endcapture %}
77

8+
<link rel="icon" type="image/png" href="{{ favicon_path }}/favicon-96x96.png" sizes="96x96">
9+
<link rel="icon" type="image/svg+xml" href="{{ favicon_path }}/favicon.svg">
10+
<link rel="shortcut icon" href="{{ favicon_path }}/favicon.ico">
811
<link rel="apple-touch-icon" sizes="180x180" href="{{ favicon_path }}/apple-touch-icon.png">
9-
<link rel="icon" type="image/png" sizes="32x32" href="{{ favicon_path }}/favicon-32x32.png">
10-
<link rel="icon" type="image/png" sizes="16x16" href="{{ favicon_path }}/favicon-16x16.png">
1112
{% if site.pwa.enabled %}
1213
<link rel="manifest" href="{{ favicon_path }}/site.webmanifest">
1314
{% endif %}
14-
<link rel="shortcut icon" href="{{ favicon_path }}/favicon.ico">
15-
<meta name="apple-mobile-web-app-title" content="{{ site.title }}">
16-
<meta name="application-name" content="{{ site.title }}">
17-
<meta name="msapplication-TileColor" content="#da532c">
18-
<meta name="msapplication-config" content="{{ favicon_path }}/browserconfig.xml">
19-
<meta name="theme-color" content="#ffffff">

_includes/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
<!-- Bootstrap -->
7272
{% unless jekyll.environment == 'production' %}
73-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].6/dist/css/bootstrap.min.css">
73+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected].8/dist/css/bootstrap.min.css">
7474
{% endunless %}
7575

7676
<!-- Theme style -->

0 commit comments

Comments
 (0)