Skip to content

Commit 8a8c499

Browse files
committed
update
1 parent f080ef4 commit 8a8c499

File tree

25 files changed

+444
-240
lines changed

25 files changed

+444
-240
lines changed

assets/scss/common/_custom.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
// Put your custom SCSS code here
2+
.navbar {
3+
backdrop-filter: blur(4px);
4+
}

config/_default/hugo.toml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ disableAliases = true
44
disableHugoGeneratorInject = true
55
# disableKinds = ["taxonomy", "term"]
66
enableEmoji = true
7-
enableGitInfo = false
7+
enableGitInfo = true
88
enableRobotsTXT = true
99
languageCode = "en-US"
1010
rssLimit = 10
11-
summarylength = 20 # 70 (default)
11+
summarylength = 20 # 70 (default)
1212

1313
# Multilingual
1414
defaultContentLanguage = "en"
@@ -18,70 +18,70 @@ defaultContentLanguageInSubdir = false
1818
copyRight = "Copyright (c) 2020-2024 Thulite"
1919

2020
[build.buildStats]
21-
enable = true
21+
enable = true
2222

2323
[outputs]
24-
home = ["HTML", "RSS", "searchIndex"]
25-
section = ["HTML", "RSS", "SITEMAP"]
24+
home = ["HTML", "RSS", "searchIndex"]
25+
section = ["HTML", "RSS", "SITEMAP"]
2626

2727
[outputFormats.searchIndex]
28-
mediaType = "application/json"
29-
baseName = "search-index"
30-
isPlainText = true
31-
notAlternative = true
28+
mediaType = "application/json"
29+
baseName = "search-index"
30+
isPlainText = true
31+
notAlternative = true
3232

3333
# Add output format for section sitemap.xml
3434
[outputFormats.SITEMAP]
35-
mediaType = "application/xml"
36-
baseName = "sitemap"
37-
isHTML = false
38-
isPlainText = true
39-
noUgly = true
40-
rel = "sitemap"
35+
mediaType = "application/xml"
36+
baseName = "sitemap"
37+
isHTML = false
38+
isPlainText = true
39+
noUgly = true
40+
rel = "sitemap"
4141

4242
[sitemap]
43-
changefreq = "monthly"
44-
filename = "sitemap.xml"
45-
priority = 0.5
43+
changefreq = "monthly"
44+
filename = "sitemap.xml"
45+
priority = 0.5
4646

4747
[caches]
48-
[caches.getjson]
49-
dir = ":cacheDir/:project"
50-
maxAge = -1 # "30m"
48+
[caches.getjson]
49+
dir = ":cacheDir/:project"
50+
maxAge = -1 # "30m"
5151

5252
[taxonomies]
53-
contributor = "contributors"
54-
category = "categories"
55-
tag = "tags"
53+
contributor = "contributors"
54+
category = "categories"
55+
tag = "tags"
5656

5757
[permalinks]
58-
blog = "/blog/:slug/"
59-
docs = "/docs/:sections[1:]/:slug/"
58+
blog = "/blog/:slug/"
59+
docs = "/docs/:sections[1:]/:slug/"
6060
# docs = "/docs/1.0/:sections[1:]/:slug/"
6161

6262
[minify.tdewolff.html]
63-
keepWhitespace = false
63+
keepWhitespace = false
6464

6565
[pagination]
66-
pagerSize = 10
66+
pagerSize = 10
6767

6868
[related]
69-
threshold = 80
70-
includeNewer = true
71-
toLower = false
72-
[[related.indices]]
73-
name = "categories"
74-
weight = 100
75-
[[related.indices]]
76-
name = "tags"
77-
weight = 80
78-
[[related.indices]]
79-
name = "date"
80-
weight = 10
69+
threshold = 80
70+
includeNewer = true
71+
toLower = false
72+
[[related.indices]]
73+
name = "categories"
74+
weight = 100
75+
[[related.indices]]
76+
name = "tags"
77+
weight = 80
78+
[[related.indices]]
79+
name = "date"
80+
weight = 10
8181

8282
[imaging]
83-
anchor = "Center"
84-
bgColor = "#ffffff"
85-
hint = "photo"
86-
quality = 85
87-
resampleFilter = "Lanczos"
83+
anchor = "Center"
84+
bgColor = "#ffffff"
85+
hint = "photo"
86+
quality = 85
87+
resampleFilter = "Lanczos"

config/_default/languages.toml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
[en]
2-
contentDir = "content/en"
3-
disabled = false
4-
languageCode = 'en-US'
5-
languageDirection = 'ltr'
6-
languageName = 'English'
7-
title = 'MikaShell'
8-
weight = 10
9-
[en.params]
10-
footer = 'Brought to you by <a class="text-muted" href="https://thulite.io/">Thulite</a>'
2+
contentDir = "content/en"
3+
disabled = false
4+
languageCode = 'en-US'
5+
languageDirection = 'ltr'
6+
languageName = 'English'
7+
title = 'MikaShell'
8+
weight = 10
9+
[en.params]
10+
footer = 'Brought to you by <a class="text-muted" href="https://thulite.io/">Thulite</a>'
1111

1212
[zh-cn]
13-
contentDir = "content/zh-cn"
14-
disabled = false
15-
languageCode = 'zh-CN'
16-
languageDirection = 'ltr'
17-
languageName = '简体中文'
18-
title = 'MikaShell'
19-
[zh-cn.params]
20-
footer = 'Brought to you by <a class="text-muted" href="https://thulite.io/">Thulite</a>'
13+
contentDir = "content/zh-cn"
14+
disabled = false
15+
languageCode = 'zh-CN'
16+
languageDirection = 'ltr'
17+
languageName = '简体中文'
18+
title = 'MikaShell'
19+
[zh-cn.params]
20+
alertText = "MikaShell 正在积极开发中,尚不稳定!"
21+
footer = 'Brought to you by <a class="text-muted" href="https://thulite.io/">Thulite</a>'

config/_default/menus/menus.en.toml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,27 @@
1717
# url = "/docs/lorem/"
1818

1919
[[guide]]
20-
name = "Lorem"
21-
weight = 10
22-
identifier = "lorem"
23-
url = "/guide/lorem/"
20+
name = "Lorem"
21+
weight = 10
22+
identifier = "lorem"
23+
url = "/guide/lorem/"
2424

2525
[[tutorial]]
26-
name = "Lorem"
27-
weight = 10
28-
identifier = "lorem"
29-
url = "/tutorial/lorem/"
26+
name = "Lorem"
27+
weight = 10
28+
identifier = "lorem"
29+
url = "/tutorial/lorem/"
3030

3131
[[main]]
32-
name = "Docs"
33-
url = "/docs/guides/example-guide/"
32+
name = "Docs"
33+
url = "/docs/guides/get-started/"
3434
# url = "/docs/1.0/prologue/introduction/"
35-
weight = 10
35+
weight = 10
3636

3737
[[main]]
38-
name = "Blog"
39-
url = "/blog/"
40-
weight = 30
38+
name = "Blog"
39+
url = "/blog/"
40+
weight = 30
4141

4242
# [[social]]
4343
# name = "Twitter"
@@ -52,11 +52,11 @@
5252
# weight = 20
5353

5454
[[social]]
55-
name = "GitHub"
56-
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-github" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"></path></svg>'
57-
url = "https://github.com/thuliteio/doks"
58-
post = "v0.1.0"
59-
weight = 30
55+
name = "GitHub"
56+
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-github" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"></path></svg>'
57+
url = "https://github.com/MikaShell/mika-shell"
58+
post = "v0.1.0"
59+
weight = 30
6060

6161
# [[social]]
6262
# name = "LinkedIn"
@@ -80,9 +80,9 @@
8080
# weight = 30
8181

8282
[[footer]]
83-
name = "Privacy Policy"
84-
url = "/privacy/"
85-
weight = 10
83+
name = "Privacy Policy"
84+
url = "/privacy/"
85+
weight = 10
8686

8787
# [[footer]]
8888
# name = "Terms of Service"

config/_default/menus/menus.zh-cn.toml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,27 @@
1717
# url = "/docs/lorem/"
1818

1919
[[guide]]
20-
name = "Lorem"
21-
weight = 10
22-
identifier = "lorem"
23-
url = "/guide/lorem/"
20+
name = "Lorem"
21+
weight = 10
22+
identifier = "lorem"
23+
url = "/guide/lorem/"
2424

2525
[[tutorial]]
26-
name = "Lorem"
27-
weight = 10
28-
identifier = "lorem"
29-
url = "/tutorial/lorem/"
26+
name = "Lorem"
27+
weight = 10
28+
identifier = "lorem"
29+
url = "/tutorial/lorem/"
3030

3131
[[main]]
32-
name = "Docs"
33-
url = "/docs/guides/example-guide/"
32+
name = "Docs"
33+
url = "/zh-cn/docs/guides/get-started/"
3434
# url = "/docs/1.0/prologue/introduction/"
35-
weight = 10
35+
weight = 10
3636

3737
[[main]]
38-
name = "Blog"
39-
url = "/blog/"
40-
weight = 30
38+
name = "Blog"
39+
url = "/blog/"
40+
weight = 30
4141

4242
# [[social]]
4343
# name = "Twitter"
@@ -52,11 +52,11 @@
5252
# weight = 20
5353

5454
[[social]]
55-
name = "GitHub"
56-
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-github" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"></path></svg>'
57-
url = "https://github.com/thuliteio/doks"
58-
post = "v0.1.0"
59-
weight = 30
55+
name = "GitHub"
56+
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-github" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5"></path></svg>'
57+
url = "https://github.com/MikaShell/mika-shell"
58+
post = "v0.1.0"
59+
weight = 30
6060

6161
# [[social]]
6262
# name = "LinkedIn"
@@ -80,9 +80,9 @@
8080
# weight = 30
8181

8282
[[footer]]
83-
name = "Privacy Policy"
84-
url = "/privacy/"
85-
weight = 10
83+
name = "Privacy Policy"
84+
url = "/privacy/"
85+
weight = 10
8686

8787
# [[footer]]
8888
# name = "Terms of Service"

config/_default/params.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ mainSections = ["docs"]
3737
searchLimit = 99 # 0 (no limit, default) or natural number
3838

3939
# Global alert
40-
alert = false # false (default) or true
40+
alert = true # false (default) or true
4141
alertDismissable = true # true (default) or false
4242

4343
# Bootstrap
@@ -72,9 +72,9 @@ mainSections = ["docs"]
7272

7373
# Repository
7474
editPage = false # false (default) or true
75-
lastMod = false # false (default) or true
75+
lastMod = true # false (default) or true
7676
repoHost = "GitHub" # GitHub (default), Gitea, GitLab, Bitbucket, or BitbucketServer
77-
docsRepo = "https://github.com/h-enk/doks"
77+
docsRepo = "https://github.com/MikaShell/website"
7878
docsRepoBranch = "main" # main (default), master, or <branch name>
7979
docsRepoSubPath = "" # "" (none, default) or <sub path>
8080

content/en/blog/_index.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

content/en/blog/example/index.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

content/en/docs/guides/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: "Guides"
2+
title: "指南"
33
description: ""
44
summary: ""
5-
date: 2023-09-07T16:06:50+02:00
6-
lastmod: 2023-09-07T16:06:50+02:00
5+
date: 2025-09-26T14:43:11+08:00
6+
lastmod: 2025-09-26T14:43:11+08:00
77
draft: false
88
weight: 800
99
toc: true

0 commit comments

Comments
 (0)