Skip to content

Commit 5cb0faf

Browse files
committed
Bump theme to latest version to fix compatibility with hugo version
1 parent 1c9fe84 commit 5cb0faf

File tree

86 files changed

+11061
-21
lines changed

Some content is hidden

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

86 files changed

+11061
-21
lines changed

.github/workflows/hugo.yaml

Lines changed: 64 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,74 @@
1-
name: github pages
1+
# Sample workflow for building and deploying a Hugo site to GitHub Pages
2+
name: Deploy Hugo site to Pages
23

34
on:
5+
# Runs on pushes targeting the default branch
46
push:
5-
branches:
6-
- main
7+
branches: ["main"]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
24+
# Default to bash
25+
defaults:
26+
run:
27+
shell: bash
728

829
jobs:
9-
deploy:
30+
# Build job
31+
build:
1032
runs-on: ubuntu-latest
33+
env:
34+
HUGO_VERSION: 0.128.0
1135
steps:
12-
- uses: actions/checkout@v4
36+
- name: Install Hugo CLI
37+
run: |
38+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
39+
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
40+
- name: Install Dart Sass
41+
run: sudo snap install dart-sass
42+
- name: Checkout
43+
uses: actions/checkout@v4
1344
with:
14-
submodules: true # Fetch Hugo themes (true or recursive)
15-
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
16-
17-
- name: Setup Hugo
18-
uses: peaceiris/actions-hugo@v3
45+
submodules: recursive
46+
- name: Setup Pages
47+
id: pages
48+
uses: actions/configure-pages@v5
49+
- name: Install Node.js dependencies
50+
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
51+
- name: Build with Hugo
52+
env:
53+
HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
54+
HUGO_ENVIRONMENT: production
55+
run: |
56+
hugo \
57+
--minify \
58+
--baseURL "${{ steps.pages.outputs.base_url }}/"
59+
- name: Upload artifact
60+
uses: actions/upload-pages-artifact@v3
1961
with:
20-
hugo-version: 'latest'
21-
extended: true
62+
path: ./public
2263

23-
- name: Build
24-
run: hugo --minify
25-
26-
- name: Deploy
27-
uses: peaceiris/actions-gh-pages@v4
28-
if: github.ref == 'refs/heads/main'
29-
with:
30-
github_token: ${{ secrets.GITHUB_TOKEN }}
31-
publish_dir: ./public
64+
# Deployment job
65+
deploy:
66+
environment:
67+
name: github-pages
68+
url: ${{ steps.deployment.outputs.page_url }}
69+
runs-on: ubuntu-latest
70+
needs: build
71+
steps:
72+
- name: Deploy to GitHub Pages
73+
id: deployment
74+
uses: actions/deploy-pages@v4
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
/* based on base16-snazzy */
2+
/* Background */ .bg { color: #e2e4e5; background-color: #282a36; }
3+
/* PreWrapper */ .chroma { color: #e2e4e5; background-color: #282a36; }
4+
/* Other */ .chroma .x { }
5+
/* Error */ .chroma .err { color: #ff5c57 }
6+
/* CodeLine */ .chroma .cl { }
7+
/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit }
8+
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
9+
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
10+
/* LineHighlight */ .chroma .hl { background-color: #505050 }
11+
/* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
12+
/* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
13+
/* Line */ .chroma .line { display: flex; }
14+
/* Keyword */ .chroma .k { color: #ff6ac1 }
15+
/* KeywordConstant */ .chroma .kc { color: #ff6ac1 }
16+
/* KeywordDeclaration */ .chroma .kd { color: #ff5c57 }
17+
/* KeywordNamespace */ .chroma .kn { color: #ff6ac1 }
18+
/* KeywordPseudo */ .chroma .kp { color: #ff6ac1 }
19+
/* KeywordReserved */ .chroma .kr { color: #ff6ac1 }
20+
/* KeywordType */ .chroma .kt { color: #9aedfe }
21+
/* Name */ .chroma .n { }
22+
/* NameAttribute */ .chroma .na { color: #57c7ff }
23+
/* NameBuiltin */ .chroma .nb { color: #ff5c57 }
24+
/* NameBuiltinPseudo */ .chroma .bp { }
25+
/* NameClass */ .chroma .nc { color: #f3f99d }
26+
/* NameConstant */ .chroma .no { color: #ff9f43 }
27+
/* NameDecorator */ .chroma .nd { color: #ff9f43 }
28+
/* NameEntity */ .chroma .ni { }
29+
/* NameException */ .chroma .ne { }
30+
/* NameFunction */ .chroma .nf { color: #57c7ff }
31+
/* NameFunctionMagic */ .chroma .fm { }
32+
/* NameLabel */ .chroma .nl { color: #ff5c57 }
33+
/* NameNamespace */ .chroma .nn { }
34+
/* NameOther */ .chroma .nx { }
35+
/* NameProperty */ .chroma .py { }
36+
/* NameTag */ .chroma .nt { color: #ff6ac1 }
37+
/* NameVariable */ .chroma .nv { color: #ff5c57 }
38+
/* NameVariableClass */ .chroma .vc { color: #ff5c57 }
39+
/* NameVariableGlobal */ .chroma .vg { color: #ff5c57 }
40+
/* NameVariableInstance */ .chroma .vi { color: #ff5c57 }
41+
/* NameVariableMagic */ .chroma .vm { }
42+
/* Literal */ .chroma .l { }
43+
/* LiteralDate */ .chroma .ld { }
44+
/* LiteralString */ .chroma .s { color: #5af78e }
45+
/* LiteralStringAffix */ .chroma .sa { color: #5af78e }
46+
/* LiteralStringBacktick */ .chroma .sb { color: #5af78e }
47+
/* LiteralStringChar */ .chroma .sc { color: #5af78e }
48+
/* LiteralStringDelimiter */ .chroma .dl { color: #5af78e }
49+
/* LiteralStringDoc */ .chroma .sd { color: #5af78e }
50+
/* LiteralStringDouble */ .chroma .s2 { color: #5af78e }
51+
/* LiteralStringEscape */ .chroma .se { color: #5af78e }
52+
/* LiteralStringHeredoc */ .chroma .sh { color: #5af78e }
53+
/* LiteralStringInterpol */ .chroma .si { color: #5af78e }
54+
/* LiteralStringOther */ .chroma .sx { color: #5af78e }
55+
/* LiteralStringRegex */ .chroma .sr { color: #5af78e }
56+
/* LiteralStringSingle */ .chroma .s1 { color: #5af78e }
57+
/* LiteralStringSymbol */ .chroma .ss { color: #5af78e }
58+
/* LiteralNumber */ .chroma .m { color: #ff9f43 }
59+
/* LiteralNumberBin */ .chroma .mb { color: #ff9f43 }
60+
/* LiteralNumberFloat */ .chroma .mf { color: #ff9f43 }
61+
/* LiteralNumberHex */ .chroma .mh { color: #ff9f43 }
62+
/* LiteralNumberInteger */ .chroma .mi { color: #ff9f43 }
63+
/* LiteralNumberIntegerLong */ .chroma .il { color: #ff9f43 }
64+
/* LiteralNumberOct */ .chroma .mo { color: #ff9f43 }
65+
/* Operator */ .chroma .o { color: #ff6ac1 }
66+
/* OperatorWord */ .chroma .ow { color: #ff6ac1 }
67+
/* Punctuation */ .chroma .p { }
68+
/* Comment */ .chroma .c { color: #78787e }
69+
/* CommentHashbang */ .chroma .ch { color: #78787e }
70+
/* CommentMultiline */ .chroma .cm { color: #78787e }
71+
/* CommentSingle */ .chroma .c1 { color: #78787e }
72+
/* CommentSpecial */ .chroma .cs { color: #78787e }
73+
/* CommentPreproc */ .chroma .cp { color: #78787e }
74+
/* CommentPreprocFile */ .chroma .cpf { color: #78787e }
75+
/* Generic */ .chroma .g { }
76+
/* GenericDeleted */ .chroma .gd { color: #ff5c57 }
77+
/* GenericEmph */ .chroma .ge { text-decoration: underline }
78+
/* GenericError */ .chroma .gr { color: #ff5c57 }
79+
/* GenericHeading */ .chroma .gh { font-weight: bold }
80+
/* GenericInserted */ .chroma .gi { font-weight: bold }
81+
/* GenericOutput */ .chroma .go { color: #43454f }
82+
/* GenericPrompt */ .chroma .gp { }
83+
/* GenericStrong */ .chroma .gs { font-style: italic }
84+
/* GenericSubheading */ .chroma .gu { font-weight: bold }
85+
/* GenericTraceback */ .chroma .gt { }
86+
/* GenericUnderline */ .chroma .gl { text-decoration: underline }
87+
/* TextWhitespace */ .chroma .w { }
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
/* based on monokailight */
2+
/* Background */ .bg { color: #272822; background-color: #fafafa; }
3+
/* PreWrapper */ .chroma { color: #272822; background-color: #fafafa; }
4+
/* Other */ .chroma .x { }
5+
/* Error */ .chroma .err { color: #960050; }
6+
/* CodeLine */ .chroma .cl { }
7+
/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit }
8+
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
9+
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
10+
/* LineHighlight */ .chroma .hl { background-color: #e1e1e1 }
11+
/* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
12+
/* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
13+
/* Line */ .chroma .line { display: flex; }
14+
/* Keyword */ .chroma .k { color: #00a8c8 }
15+
/* KeywordConstant */ .chroma .kc { color: #00a8c8 }
16+
/* KeywordDeclaration */ .chroma .kd { color: #00a8c8 }
17+
/* KeywordNamespace */ .chroma .kn { color: #f92672 }
18+
/* KeywordPseudo */ .chroma .kp { color: #00a8c8 }
19+
/* KeywordReserved */ .chroma .kr { color: #00a8c8 }
20+
/* KeywordType */ .chroma .kt { color: #00a8c8 }
21+
/* Name */ .chroma .n { color: #111111 }
22+
/* NameAttribute */ .chroma .na { color: #75af00 }
23+
/* NameBuiltin */ .chroma .nb { color: #111111 }
24+
/* NameBuiltinPseudo */ .chroma .bp { color: #111111 }
25+
/* NameClass */ .chroma .nc { color: #75af00 }
26+
/* NameConstant */ .chroma .no { color: #00a8c8 }
27+
/* NameDecorator */ .chroma .nd { color: #75af00 }
28+
/* NameEntity */ .chroma .ni { color: #111111 }
29+
/* NameException */ .chroma .ne { color: #75af00 }
30+
/* NameFunction */ .chroma .nf { color: #75af00 }
31+
/* NameFunctionMagic */ .chroma .fm { color: #111111 }
32+
/* NameLabel */ .chroma .nl { color: #111111 }
33+
/* NameNamespace */ .chroma .nn { color: #111111 }
34+
/* NameOther */ .chroma .nx { color: #75af00 }
35+
/* NameProperty */ .chroma .py { color: #111111 }
36+
/* NameTag */ .chroma .nt { color: #f92672 }
37+
/* NameVariable */ .chroma .nv { color: #111111 }
38+
/* NameVariableClass */ .chroma .vc { color: #111111 }
39+
/* NameVariableGlobal */ .chroma .vg { color: #111111 }
40+
/* NameVariableInstance */ .chroma .vi { color: #111111 }
41+
/* NameVariableMagic */ .chroma .vm { color: #111111 }
42+
/* Literal */ .chroma .l { color: #ae81ff }
43+
/* LiteralDate */ .chroma .ld { color: #d88200 }
44+
/* LiteralString */ .chroma .s { color: #d88200 }
45+
/* LiteralStringAffix */ .chroma .sa { color: #d88200 }
46+
/* LiteralStringBacktick */ .chroma .sb { color: #d88200 }
47+
/* LiteralStringChar */ .chroma .sc { color: #d88200 }
48+
/* LiteralStringDelimiter */ .chroma .dl { color: #d88200 }
49+
/* LiteralStringDoc */ .chroma .sd { color: #d88200 }
50+
/* LiteralStringDouble */ .chroma .s2 { color: #d88200 }
51+
/* LiteralStringEscape */ .chroma .se { color: #8045ff }
52+
/* LiteralStringHeredoc */ .chroma .sh { color: #d88200 }
53+
/* LiteralStringInterpol */ .chroma .si { color: #d88200 }
54+
/* LiteralStringOther */ .chroma .sx { color: #d88200 }
55+
/* LiteralStringRegex */ .chroma .sr { color: #d88200 }
56+
/* LiteralStringSingle */ .chroma .s1 { color: #d88200 }
57+
/* LiteralStringSymbol */ .chroma .ss { color: #d88200 }
58+
/* LiteralNumber */ .chroma .m { color: #ae81ff }
59+
/* LiteralNumberBin */ .chroma .mb { color: #ae81ff }
60+
/* LiteralNumberFloat */ .chroma .mf { color: #ae81ff }
61+
/* LiteralNumberHex */ .chroma .mh { color: #ae81ff }
62+
/* LiteralNumberInteger */ .chroma .mi { color: #ae81ff }
63+
/* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff }
64+
/* LiteralNumberOct */ .chroma .mo { color: #ae81ff }
65+
/* Operator */ .chroma .o { color: #f92672 }
66+
/* OperatorWord */ .chroma .ow { color: #f92672 }
67+
/* Punctuation */ .chroma .p { color: #111111 }
68+
/* Comment */ .chroma .c { color: #a7a187 }
69+
/* CommentHashbang */ .chroma .ch { color: #a7a187 }
70+
/* CommentMultiline */ .chroma .cm { color: #a7a187 }
71+
/* CommentSingle */ .chroma .c1 { color: #a7a187 }
72+
/* CommentSpecial */ .chroma .cs { color: #a7a187 }
73+
/* CommentPreproc */ .chroma .cp { color: #a7a187 }
74+
/* CommentPreprocFile */ .chroma .cpf { color: #a7a187 }
75+
/* Generic */ .chroma .g { }
76+
/* GenericDeleted */ .chroma .gd { }
77+
/* GenericEmph */ .chroma .ge { font-style: italic }
78+
/* GenericError */ .chroma .gr { }
79+
/* GenericHeading */ .chroma .gh { }
80+
/* GenericInserted */ .chroma .gi { }
81+
/* GenericOutput */ .chroma .go { }
82+
/* GenericPrompt */ .chroma .gp { }
83+
/* GenericStrong */ .chroma .gs { font-weight: bold }
84+
/* GenericSubheading */ .chroma .gu { }
85+
/* GenericTraceback */ .chroma .gt { }
86+
/* GenericUnderline */ .chroma .gl { }
87+
/* TextWhitespace */ .chroma .w { }

0 commit comments

Comments
 (0)