Skip to content

Commit ac3b4aa

Browse files
committed
主题新版本修改
1 parent b8310be commit ac3b4aa

2 files changed

Lines changed: 28 additions & 27 deletions

File tree

data/placeholder_images.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,11 @@ images:
1313
- "https://t.alcy.cc/moe?random=5"
1414
- "https://t.alcy.cc/moe?random=6"
1515
- "https://t.alcy.cc/moe?random=7"
16+
- "https://t.alcy.cc/moe?random=8"
17+
- "https://t.alcy.cc/moe?random=9"
18+
- "https://t.alcy.cc/moe?random=10"
19+
- "https://t.alcy.cc/moe?random=11"
20+
- "https://t.alcy.cc/moe?random=12"
21+
- "https://t.alcy.cc/moe?random=13"
22+
- "https://t.alcy.cc/moe?random=14"
23+
- "https://t.alcy.cc/moe?random=15"

hugo.yaml

Lines changed: 20 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ defaultContentLanguageInSubdir: false
66
title: 苹果派派
77
theme: "hugo-narrow"
88

9+
10+
hasCJKLanguage: true
11+
enableEmoji: true
12+
13+
permalinks:
14+
posts: /posts/:slug/
15+
pages: /:slug/
16+
917
# pagination
1018
pagination:
1119
pagerSize: 6
@@ -77,10 +85,14 @@ menus:
7785
icon: email
7886

7987
params:
88+
description: "苹果派派"
8089
keywords: ["IMZCC", "苹果派派", "Hugo", "Blog", "Theme", "Technology", "Programming"]
81-
site:
82-
description: "苹果派派"
83-
author: "苹果派派"
90+
defaultAuthor: "苹果派派" # Default author name, used in posts without an author set
91+
author: "苹果派派"
92+
language: "zh-cn"
93+
shortName: "苹果派派" # PWA
94+
images:
95+
- "/images/og-default.avif"
8496

8597
logo:
8698
image: "https://avatars-githubusercontent-webp.webp.se/u/25655983" # Logo path rel to static folder, leave empty use site title and primary color
@@ -160,7 +172,7 @@ params:
160172
url: "https://creativecommons.org/licenses/by-nc-sa/4.0/"
161173
displayName: "CC BY-NC-SA 4.0"
162174

163-
# GLightbox Configuration
175+
# GLightbox
164176
lightbox:
165177
enabled: true
166178
loop: true
@@ -172,7 +184,7 @@ params:
172184
preload: true
173185
descPosition: bottom
174186

175-
# Justified Gallery Configuration
187+
# Justified Gallery
176188
justified_gallery:
177189
enabled: true
178190
rowHeight: 300
@@ -217,41 +229,22 @@ params:
217229
waline:
218230
serverURL: ""
219231
lang: "zh-CN"
220-
meta: ["nick", "mail", "link"]
221-
requiredMeta: ["nick"]
222-
placeholder: ""
223-
avatar: "mp"
224-
pageSize: 10
225232

226233

227234
artalk:
228235
server: ""
229236
site: ""
230-
placeholder: ""
231-
noComment: ""
232-
sendBtn: ""
237+
locale: "zh-CN" # String|Object|"auto"
233238
darkMode: "auto"
234239
gravatar:
235240
mirror: "https://cravatar.cn/avatar/"
236-
pagination:
237-
pageSize: 20
238-
autoLoad: true
239-
heightLimit:
240-
content: 300
241-
children: 400
242-
imgUpload: false
243-
preview: true
244-
countEl: "#ArtalkCount"
245241

246242

247243
twikoo:
248244
envId: ""
249245
region: "ap-shanghai"
246+
path: ""
250247
lang: "zh-CN"
251-
placeholder: ""
252-
avatar: "mp"
253-
visitor: true
254-
highlight: true
255248

256249

257250
analytics:
@@ -308,7 +301,7 @@ markup:
308301
lineNumbersInTable: false # Set to false
309302
noClasses: false
310303
style: github # No need to change
311-
tabWidth: 4
304+
tabWidth: 2
312305

313306

314307
codeblock:

0 commit comments

Comments
 (0)