|
1 | | -# 基础配置 |
| 1 | +```yaml |
| 2 | +# ----------------------------------------------------------------------------- |
| 3 | +# Site Settings |
| 4 | +# ----------------------------------------------------------------------------- |
| 5 | +
|
2 | 6 | lang: en-US |
| 7 | +timezone: Asia/Shanghai |
| 8 | +
|
3 | 9 | 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 | +
|
6 | 21 | url: "https://diecasting.github.io" |
7 | 22 | baseurl: "" |
8 | | -timezone: Asia/Shanghai |
9 | 23 |
|
10 | | -# 核心作者信息 |
| 24 | +theme_mode: |
| 25 | +
|
| 26 | +# ----------------------------------------------------------------------------- |
| 27 | +# Author |
| 28 | +# ----------------------------------------------------------------------------- |
| 29 | +
|
11 | 30 | author: |
12 | 31 | name: Hank |
| 32 | +
|
13 | 33 | social: |
14 | 34 | name: Hank |
15 | 35 | links: |
16 | 36 | - https://github.com/diecasting |
17 | 37 |
|
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 | +
|
19 | 54 | collections: |
20 | | - posts: |
21 | | - output: true |
22 | | - permalink: /posts/:title/ |
23 | 55 | tabs: |
24 | 56 | output: true |
25 | 57 | sort_by: order |
26 | 58 |
|
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 | +# ----------------------------------------------------------------------------- |
47 | 62 |
|
48 | 63 | defaults: |
49 | | - - scope: |
| 64 | + - |
| 65 | + scope: |
50 | 66 | path: "" |
51 | 67 | type: posts |
52 | 68 | values: |
53 | 69 | layout: post |
54 | 70 | comments: true |
55 | 71 | toc: true |
56 | 72 | permalink: /posts/:title/ |
57 | | - - scope: |
| 73 | + image: /assets/img/cover.jpg |
| 74 | +
|
| 75 | + - |
| 76 | + scope: |
58 | 77 | path: "" |
59 | 78 | type: tabs |
60 | 79 | values: |
61 | 80 | layout: page |
62 | 81 | permalink: /:title/ |
63 | 82 |
|
| 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 | +
|
64 | 102 | sass: |
65 | 103 | 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