mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 03:53:30 +08:00
update theme
This commit is contained in:
parent
048a000f17
commit
32a25adfb7
Binary file not shown.
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 324 KiB |
BIN
assets/img/favicon.ico
Normal file
BIN
assets/img/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
@ -1,12 +1,10 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"*": [
|
"*": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
"lib": ["es2020", "dom"],
|
}
|
||||||
"jsx": "preserve"
|
|
||||||
}
|
|
||||||
}
|
}
|
103
config.yaml
103
config.yaml
@ -3,20 +3,83 @@ module:
|
|||||||
extended: true
|
extended: true
|
||||||
min: "0.87.0"
|
min: "0.87.0"
|
||||||
|
|
||||||
|
# GA Tracking ID
|
||||||
|
googleAnalytics: G-WPFE7HNMC5
|
||||||
|
|
||||||
|
cloudflareAnalytics: e008b4ed1119475183d684683841ba5e
|
||||||
|
|
||||||
|
# Theme i18n support
|
||||||
|
# Available values: ar, bn, ca, de, el, en, es, fr, hu, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw
|
||||||
|
DefaultContentLanguage: en
|
||||||
|
|
||||||
|
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
|
||||||
|
# This will make .Summary and .WordCount behave correctly for CJK languages.
|
||||||
|
hasCJKLanguage: [zh-cn zh-hk ja]
|
||||||
|
### Custom menu
|
||||||
|
### See https://docs.stack.jimmycai.com/configuration/custom-menu.html
|
||||||
|
### To remove about, archive and search page menu item, remove `menu` field from their FrontMatter
|
||||||
|
menu:
|
||||||
|
main: []
|
||||||
|
|
||||||
|
social:
|
||||||
|
- identifier: github
|
||||||
|
name: GitHub
|
||||||
|
url: https://github.com/ous50
|
||||||
|
params:
|
||||||
|
icon: brand-github
|
||||||
|
|
||||||
|
- identifier: twitter
|
||||||
|
name: Twitter
|
||||||
|
url: https://twitter.com/ousfifty
|
||||||
|
params:
|
||||||
|
icon: brand-twitter
|
||||||
|
|
||||||
|
|
||||||
|
related:
|
||||||
|
includeNewer: true
|
||||||
|
threshold: 60
|
||||||
|
toLower: false
|
||||||
|
indices:
|
||||||
|
- name: tags
|
||||||
|
weight: 100
|
||||||
|
|
||||||
|
- name: categories
|
||||||
|
weight: 200
|
||||||
|
|
||||||
|
markup:
|
||||||
|
goldmark:
|
||||||
|
renderer:
|
||||||
|
## Set to true if you have HTML content inside Markdown
|
||||||
|
unsafe: true
|
||||||
|
tableOfContents:
|
||||||
|
endLevel: 4
|
||||||
|
ordered: true
|
||||||
|
startLevel: 2
|
||||||
|
highlight:
|
||||||
|
noClasses: false
|
||||||
|
codeFences: true
|
||||||
|
guessSyntax: true
|
||||||
|
lineNoStart: 1
|
||||||
|
lineNos: true
|
||||||
|
lineNumbersInTable: true
|
||||||
|
tabWidth: 4
|
||||||
|
|
||||||
params:
|
params:
|
||||||
mainSections:
|
mainSections:
|
||||||
- post
|
- post
|
||||||
|
- search
|
||||||
|
- tags
|
||||||
featuredImageField: image
|
featuredImageField: image
|
||||||
rssFullContent: true
|
rssFullContent: false
|
||||||
favicon:
|
favicon: img/favicon.ico
|
||||||
|
|
||||||
footer:
|
footer:
|
||||||
since:
|
since: 2021
|
||||||
customText:
|
customText: OwO
|
||||||
|
|
||||||
dateFormat:
|
dateFormat:
|
||||||
published: Jan 02, 2006
|
published: Jan 02, 2006 15:04 HKT
|
||||||
lastUpdated: Jan 02, 2006 15:04 MST
|
lastUpdated: Jan 02, 2006 15:04 HKT
|
||||||
|
|
||||||
sidebar:
|
sidebar:
|
||||||
compact: false
|
compact: false
|
||||||
@ -28,24 +91,23 @@ params:
|
|||||||
src: img/avatar.png
|
src: img/avatar.png
|
||||||
|
|
||||||
article:
|
article:
|
||||||
headingAnchor: false
|
math: true
|
||||||
math: false
|
|
||||||
toc: true
|
toc: true
|
||||||
readingTime: true
|
readingTime: true
|
||||||
license:
|
license:
|
||||||
enabled: false
|
enabled: true
|
||||||
default: Licensed under CC BY-NC-SA 4.0
|
default: Licensed under CC BY-NC-SA 4.0
|
||||||
|
|
||||||
comments:
|
comments:
|
||||||
enabled: false
|
enabled: true
|
||||||
provider: disqus
|
provider: disqusjs
|
||||||
|
|
||||||
disqusjs:
|
disqusjs:
|
||||||
shortname:
|
shortname: ousfifty
|
||||||
apiUrl:
|
apiUrl: https://disqus.skk.moe/disqus/
|
||||||
apiKey:
|
apiKey: KCir2w9VCAOu1FenHGVqTZERzhy9zLTtFZIRxMCp8YQrD5sJiHGKg6CvWa27I1ta
|
||||||
admin:
|
admin: ousfifty
|
||||||
adminLabel:
|
adminLabel: Author
|
||||||
|
|
||||||
utterances:
|
utterances:
|
||||||
repo:
|
repo:
|
||||||
@ -123,7 +185,6 @@ params:
|
|||||||
|
|
||||||
opengraph:
|
opengraph:
|
||||||
twitter:
|
twitter:
|
||||||
# Your Twitter username
|
|
||||||
site:
|
site:
|
||||||
|
|
||||||
# Available values: summary, summary_large_image
|
# Available values: summary, summary_large_image
|
||||||
@ -147,3 +208,11 @@ params:
|
|||||||
enabled: true
|
enabled: true
|
||||||
content:
|
content:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
permalinks:
|
||||||
|
post: /p/:slug/
|
||||||
|
page: /:slug/
|
||||||
|
2
debug.sh
2
debug.sh
@ -1 +1 @@
|
|||||||
cd exampleSite && hugo server --gc --themesDir=../..
|
cd exampleSite && hugo server --gc --themesDir=../../..
|
||||||
|
@ -30,8 +30,8 @@ article:
|
|||||||
other: Last updated on
|
other: Last updated on
|
||||||
|
|
||||||
readingTime:
|
readingTime:
|
||||||
one: "{{ .Count }} minute read"
|
one: "{{ .Count }} minute reading time "
|
||||||
other: "{{ .Count }} minute read"
|
other: "{{ .Count }} minutes reading time"
|
||||||
|
|
||||||
notFound:
|
notFound:
|
||||||
title:
|
title:
|
||||||
|
@ -4,12 +4,17 @@ toggleMenu:
|
|||||||
darkMode:
|
darkMode:
|
||||||
other: 暗色模式
|
other: 暗色模式
|
||||||
|
|
||||||
|
|
||||||
list:
|
list:
|
||||||
page: "{{ .Count }} 个页面"
|
page:
|
||||||
|
other: "{{ .Count }} 页"
|
||||||
|
|
||||||
section: 章节
|
section:
|
||||||
|
other: 章节
|
||||||
|
|
||||||
subsection: 子章节
|
subsection:
|
||||||
|
one: 子章节
|
||||||
|
other: 子章节
|
||||||
|
|
||||||
article:
|
article:
|
||||||
back:
|
back:
|
||||||
|
BIN
images/avatar.png
Normal file
BIN
images/avatar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 324 KiB |
Loading…
Reference in New Issue
Block a user