Skip to content

Commit 4ecd7f8

Browse files
authored
Update _config.yml
1 parent 477254a commit 4ecd7f8

1 file changed

Lines changed: 141 additions & 31 deletions

File tree

_config.yml

Lines changed: 141 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,175 @@
1-
# 基础配置
1+
```yaml
2+
# -----------------------------------------------------------------------------
3+
# Site Settings
4+
# -----------------------------------------------------------------------------
5+
26
lang: en-US
7+
timezone: Asia/Shanghai
8+
39
title: "Die Casting & Precision Engineering Solutions"
4-
tagline: "Expert Insights into Aluminum, Magnesium, Semi-Solid Die Casting, and CNC Machining."
5-
description: "Professional technical resource for high-precision die casting, mold design, and CNC manufacturing processes."
10+
11+
tagline: >
12+
Expert Guides to Aluminum, Magnesium, Semi-Solid Die Casting,
13+
Mold Engineering and CNC Machining.
14+
15+
description: >
16+
Professional engineering articles covering aluminum die casting,
17+
magnesium die casting, semi-solid casting, high-pressure die casting,
18+
mold design, CNC machining, manufacturing quality control,
19+
and precision engineering solutions.
20+
621
url: "https://diecasting.github.io"
722
baseurl: ""
8-
timezone: Asia/Shanghai
923
10-
# 核心作者信息
24+
theme_mode:
25+
26+
# -----------------------------------------------------------------------------
27+
# Author
28+
# -----------------------------------------------------------------------------
29+
1130
author:
1231
name: Hank
32+
1333
social:
1434
name: Hank
1535
links:
1636
- https://github.com/diecasting
1737
18-
# 网站结构与分类
38+
# -----------------------------------------------------------------------------
39+
# Avatar (Optional)
40+
# -----------------------------------------------------------------------------
41+
42+
avatar: "/assets/img/avatar.png"
43+
44+
# -----------------------------------------------------------------------------
45+
# SEO
46+
# -----------------------------------------------------------------------------
47+
48+
social_preview_image: "/assets/img/cover.jpg"
49+
50+
# -----------------------------------------------------------------------------
51+
# Collections
52+
# -----------------------------------------------------------------------------
53+
1954
collections:
20-
posts:
21-
output: true
22-
permalink: /posts/:title/
2355
tabs:
2456
output: true
2557
sort_by: order
2658
27-
# 菜单栏配置
28-
header:
29-
nav:
30-
- { title: "Aluminum Casting", url: /categories/aluminum-die-casting/ }
31-
- { title: "Magnesium Casting", url: /categories/magnesium-die-casting/ }
32-
- { title: "Semi-Solid Casting", url: /categories/semi-solid-die-casting/ }
33-
- { title: "CNC & Mold Tech", url: /categories/cnc-mold-tech/ }
34-
- { title: "About", url: /about/ }
35-
36-
# 主题插件配置(必须保留,否则主题无法正常工作)
37-
kramdown:
38-
footnote_backlink: "↩︎"
39-
syntax_highlighter: rouge
40-
syntax_highlighter_opts:
41-
css_class: highlight
42-
span:
43-
line_numbers: false
44-
block:
45-
line_numbers: true
46-
start_line: 1
59+
# -----------------------------------------------------------------------------
60+
# Defaults
61+
# -----------------------------------------------------------------------------
4762
4863
defaults:
49-
- scope:
64+
-
65+
scope:
5066
path: ""
5167
type: posts
5268
values:
5369
layout: post
5470
comments: true
5571
toc: true
5672
permalink: /posts/:title/
57-
- scope:
73+
image: /assets/img/cover.jpg
74+
75+
-
76+
scope:
5877
path: ""
5978
type: tabs
6079
values:
6180
layout: page
6281
permalink: /:title/
6382
83+
# -----------------------------------------------------------------------------
84+
# Markdown
85+
# -----------------------------------------------------------------------------
86+
87+
kramdown:
88+
footnote_backlink: "↩︎"
89+
syntax_highlighter: rouge
90+
syntax_highlighter_opts:
91+
css_class: highlight
92+
span:
93+
line_numbers: false
94+
block:
95+
line_numbers: true
96+
start_line: 1
97+
98+
# -----------------------------------------------------------------------------
99+
# Sass
100+
# -----------------------------------------------------------------------------
101+
64102
sass:
65103
style: compressed
104+
105+
# -----------------------------------------------------------------------------
106+
# Exclude
107+
# -----------------------------------------------------------------------------
108+
109+
exclude:
110+
- README.md
111+
- LICENSE
112+
- Gemfile
113+
- Gemfile.lock
114+
- node_modules
115+
- vendor
116+
117+
# -----------------------------------------------------------------------------
118+
# Plugins
119+
# -----------------------------------------------------------------------------
120+
121+
plugins:
122+
- jekyll-feed
123+
- jekyll-sitemap
124+
- jekyll-seo-tag
125+
- jekyll-archives
126+
127+
# -----------------------------------------------------------------------------
128+
# Feed
129+
# -----------------------------------------------------------------------------
130+
131+
feed:
132+
path: feed.xml
133+
134+
# -----------------------------------------------------------------------------
135+
# Sitemap
136+
# -----------------------------------------------------------------------------
137+
138+
sitemap:
139+
filename: sitemap.xml
140+
141+
# -----------------------------------------------------------------------------
142+
# Google Analytics
143+
# 留空,等申请 GA4 后填写
144+
# -----------------------------------------------------------------------------
145+
146+
google_analytics:
147+
148+
# -----------------------------------------------------------------------------
149+
# Comments
150+
# 留空,后续可接 Giscus
151+
# -----------------------------------------------------------------------------
152+
153+
comments:
154+
155+
# -----------------------------------------------------------------------------
156+
# Webmaster Verification
157+
# -----------------------------------------------------------------------------
158+
159+
webmaster_verifications:
160+
google:
161+
bing:
162+
163+
# -----------------------------------------------------------------------------
164+
# CDN
165+
# -----------------------------------------------------------------------------
166+
167+
cdn:
168+
169+
# -----------------------------------------------------------------------------
170+
# PWA
171+
# -----------------------------------------------------------------------------
172+
173+
pwa:
174+
enabled: true
175+
```

0 commit comments

Comments
 (0)