update theme

This commit is contained in:
ous50 | ousfifty | 欧式fifty 2024-10-08 03:49:41 +01:00
parent 048a000f17
commit 32a25adfb7
8 changed files with 105 additions and 33 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 373 B

After

Width:  |  Height:  |  Size: 324 KiB

BIN
assets/img/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -5,8 +5,6 @@
"*": [
"*"
]
},
"lib": ["es2020", "dom"],
"jsx": "preserve"
}
}
}

View File

@ -3,20 +3,83 @@ module:
extended: true
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:
mainSections:
- post
- search
- tags
featuredImageField: image
rssFullContent: true
favicon:
rssFullContent: false
favicon: img/favicon.ico
footer:
since:
customText:
since: 2021
customText: OwO
dateFormat:
published: Jan 02, 2006
lastUpdated: Jan 02, 2006 15:04 MST
published: Jan 02, 2006 15:04 HKT
lastUpdated: Jan 02, 2006 15:04 HKT
sidebar:
compact: false
@ -28,24 +91,23 @@ params:
src: img/avatar.png
article:
headingAnchor: false
math: false
math: true
toc: true
readingTime: true
license:
enabled: false
enabled: true
default: Licensed under CC BY-NC-SA 4.0
comments:
enabled: false
provider: disqus
enabled: true
provider: disqusjs
disqusjs:
shortname:
apiUrl:
apiKey:
admin:
adminLabel:
shortname: ousfifty
apiUrl: https://disqus.skk.moe/disqus/
apiKey: KCir2w9VCAOu1FenHGVqTZERzhy9zLTtFZIRxMCp8YQrD5sJiHGKg6CvWa27I1ta
admin: ousfifty
adminLabel: Author
utterances:
repo:
@ -123,7 +185,6 @@ params:
opengraph:
twitter:
# Your Twitter username
site:
# Available values: summary, summary_large_image
@ -147,3 +208,11 @@ params:
enabled: true
content:
enabled: true
permalinks:
post: /p/:slug/
page: /:slug/

View File

@ -1 +1 @@
cd exampleSite && hugo server --gc --themesDir=../..
cd exampleSite && hugo server --gc --themesDir=../../..

View File

@ -30,8 +30,8 @@ article:
other: Last updated on
readingTime:
one: "{{ .Count }} minute read"
other: "{{ .Count }} minute read"
one: "{{ .Count }} minute reading time "
other: "{{ .Count }} minutes reading time"
notFound:
title:

View File

@ -4,12 +4,17 @@ toggleMenu:
darkMode:
other: 暗色模式
list:
page: "{{ .Count }} 个页面"
page:
other: "{{ .Count }} 页"
section: 章节
section:
other: 章节
subsection: 子章节
subsection:
one: 子章节
other: 子章节
article:
back:

BIN
images/avatar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB