Skip to content

Commit 82a0e6c

Browse files
NightVoyagerclaude
andcommitted
更新主题和内容优化
- 升级 LoveIt 主题及相关库文件 - 优化文章内容:更新图片链接为 HTTPS,数学公式改用 MathJax 渲染 - 配置 mermaid 和 goat 图表渲染支持 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2e6d588 commit 82a0e6c

1,870 files changed

Lines changed: 12960 additions & 7705 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

config.toml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ hasCJKLanguage = true
9696
# Permalinks config
9797
[Permalinks]
9898
# posts = ":year/:month/:filename"
99-
posts = ":filename"
99+
posts = ":contentbasename"
100100

101101
# Privacy config
102102
[privacy]
103103
# LoveIt DELETED | 0.2.0 privacy of the Google Analytics (replaced by params.analytics.google)
104104
[privacy.googleAnalytics]
105105
# ...
106-
[privacy.twitter]
106+
[privacy.x]
107107
enableDNT = true
108108
[privacy.youtube]
109109
privacyEnhanced = true
@@ -126,4 +126,13 @@ hasCJKLanguage = true
126126
page = ["HTML", "MarkDown"]
127127
section = ["HTML", "RSS"]
128128
taxonomy = ["HTML", "RSS"]
129-
taxonomyTerm = ["HTML"]
129+
130+
# 页面全局配置
131+
[params]
132+
[params.page]
133+
[params.page.code]
134+
[params.page.code.render]
135+
# 启用 mermaid 图表渲染
136+
mermaid = true
137+
# 启用 goat ASCII 图表渲染
138+
goat = true

content/posts/2017-07-25-What-Intelligence-Tests-Miss.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: 《超越智商》读书笔记
44
date: 2017-07-25
55
categories: [读书笔记]
66
tags: [认知心理学]
7+
mathjax: true
78
---
89

910
## 一、聪明人也会做傻事
@@ -18,7 +19,7 @@ tags: [认知心理学]
1819

1920
我把书中概念关系图结合到一张图里,并用例子简要得说明了各个心智过程。
2021

21-
![](http://xieting-img.oss-cn-hangzhou.aliyuncs.com/三重加工模型.png)
22+
![](https://xieting-img.oss-cn-hangzhou.aliyuncs.com/三重加工模型.png)
2223

2324
- A,类型二制止类型一加工即将触发个体反应,并以更优化的反应取而代之(例如:吃中药)
2425
- B,反省心智的倾向性认知功能(例如:自律)
@@ -32,7 +33,7 @@ tags: [认知心理学]
3233

3334
作者在书的第十二章总结了思维谬误的基本分类,我结合书中六至十二章的内容进行了简要的说明。
3435

35-
![](http://xieting-img.oss-cn-hangzhou.aliyuncs.com/思维谬误的基本分类_1.png)
36+
![](https://xieting-img.oss-cn-hangzhou.aliyuncs.com/思维谬误的基本分类_1.png)
3637

3738
我们都知道,大脑喜欢偷懒,能不思考就不思考,书中称这种惰性为“认知吝啬鬼”。认知吝啬鬼有三个层次,依据认知卷入排列前后顺序如下:
3839

@@ -50,11 +51,11 @@ tags: [认知心理学]
5051

5152
贝叶斯思维:
5253

53-
![P(B|A)=\frac{P(A|B)P(B)}{P(A)}](<https://chart.googleapis.com/chart?cht=tx&chl=P(B%7CA)%3D%5Cfrac%7BP(A%7CB)P(B)%7D%7BP(A)%7D>)
54+
$P(B|A)=\frac{P(A|B)P(B)}{P(A)}$
5455

5556
变形:焦点假设的后验概率=相似率\*先验概率
5657

57-
![\frac{P(H|D)}{P(\bar H|D)}=\frac{P(D|H)}{P(D|\bar H)}*\frac{P(H)}{P(\bar H)}](<https://chart.googleapis.com/chart?cht=tx&chl=%5Cfrac%7BP(H%7CD)%7D%7BP(%5Cbar%20H%7CD)%7D%3D%5Cfrac%7BP(D%7CH)%7D%7BP(D%7C%5Cbar%20H)%7D*%5Cfrac%7BP(H)%7D%7BP(%5Cbar%20H)%7D>)
58+
$\frac{P(H|D)}{P(\bar H|D)}=\frac{P(D|H)}{P(D|\bar H)}*\frac{P(H)}{P(\bar H)}$
5859

5960
- 不知备择假设的重要性
6061

content/posts/2025-08-01-big-understandings.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -212,19 +212,20 @@ tags: [学习,全局认识]
212212

213213
{{< mermaid >}}
214214
quadrantChart
215-
x-axis "具体事物" --> "抽象概念"
216-
y-axis "与人接触" --> "与物接触"
217-
"思想实验": [0.8, 0.6]
218-
"符号思考": [0.65, 0.8]
219-
"实验科学": [0.2, 0.6]
220-
"计算模拟": [0.35, 0.8]
221-
"田野调查": [0.5, 0.5]
222-
"幽默叙事": [0.2, 0.4]
223-
"故事叙事": [0.35, 0.2]
224-
"文采美感": [0.8, 0.4]
225-
"视觉美感": [0.65, 0.2]
215+
x-axis "具体事物" --> "抽象概念"
216+
y-axis "与人接触" --> "与物接触"
217+
"思想实验": [0.8, 0.6]
218+
"符号思考": [0.65, 0.8]
219+
"实验科学": [0.2, 0.6]
220+
"计算模拟": [0.35, 0.8]
221+
"田野调查": [0.5, 0.5]
222+
"幽默叙事": [0.2, 0.4]
223+
"故事叙事": [0.35, 0.2]
224+
"文采美感": [0.8, 0.4]
225+
"视觉美感": [0.65, 0.2]
226226
{{< /mermaid >}}
227227

228228
## ChangeLog
229229

230230
- 2025-08-01 初稿
231+
- 2025-08-02 润色,处理 mermaid 问题

public

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Subproject commit 7182187ba737f95f7e71c585f96366276db2129a
1+
Subproject commit 26062aead7d1050cecec3bbddb5727c587a4f4c0

resources/_gen/assets/css/style.scss_1a67ae4ed98f18e3ea7da02d2ccd80c9.content

Lines changed: 3 additions & 0 deletions
Large diffs are not rendered by default.

themes/LoveIt/resources/_gen/assets/scss/css/style.scss_d75fd08668b4bae707167bbce4d8ca46.json renamed to resources/_gen/assets/css/style.scss_1a67ae4ed98f18e3ea7da02d2ccd80c9.json

File renamed without changes.

themes/LoveIt/.babelrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"presets": [
3+
[
4+
"@babel/preset-env",
5+
{
6+
"targets": "> 0.01%"
7+
}
8+
]
9+
]
10+
}

themes/LoveIt/.circleci/config.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
version: 2.1
2+
3+
executors:
4+
hugo:
5+
parameters:
6+
version:
7+
description: "version tag"
8+
type: string
9+
docker:
10+
- image: cibuilds/hugo:<<parameters.version>>
11+
12+
jobs:
13+
build-check:
14+
parameters:
15+
version:
16+
description: "version tag"
17+
type: string
18+
environment:
19+
description: "hugo environment"
20+
type: string
21+
executor:
22+
name: hugo
23+
version: <<parameters.version>>
24+
working_directory: ~/LoveIt
25+
steps:
26+
- checkout
27+
- run: git submodule sync
28+
- run: git submodule update --init
29+
- run: hugo --source exampleSite --gc --minify --environment <<parameters.environment>>
30+
- run: cp -rf exampleSite/resources . && git diff --exit-code
31+
- run: htmlproofer exampleSite/public --disable-external true --ignore-missing-alt true
32+
33+
workflows:
34+
build-check:
35+
jobs:
36+
- build-check:
37+
matrix:
38+
parameters:
39+
version: [ "0.128.0", "0.145.0" ]
40+
environment: [ development, production ]

themes/LoveIt/.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: https://paypal.me/dillonzq
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: Bug Report 错误报告
3+
about: Create a bug report 创建一个错误报告
4+
title: "[BUG] Some problem..."
5+
labels: bug
6+
7+
---
8+
9+
### Describe the bug 描述你遇到的错误
10+
11+
A clear and concise description of what the bug is.
12+
一段简短的对于你遇到的错误的描述.
13+
14+
### Expected behavior 期待的行为
15+
16+
A clear and concise description of what you expected to happen.
17+
一段简短的对于你期待的行为的描述.
18+
19+
### Screenshots 屏幕截图
20+
21+
If applicable, add screenshots to help explain your problem.
22+
如果可以的话, 提供屏幕截图对解决问题很有帮助.
23+
24+
### Build Environment 构建环境
25+
26+
- OS: [e.g. Windows 11, macOS, Ubuntu]
27+
- Theme version/commit [e.g. 0.2.0, 2ccba79]
28+
- Hugo version [e.g. 0.69.0]
29+
30+
Please try to use Hugo **extended** version before opening the issue.
31+
请在创建 issue 之前先尝试使用 Hugo **extended** 版本构建.
32+
33+
### Preview Environment 预览环境
34+
35+
- OS: [e.g. Windows 11, macOS, Ubuntu, iOS, Android]
36+
- Browser type/version [e.g. Chrome 103.0.5060.53, Safari 15.5, Edge 103.0.1264.37, Firefox 102.0]
37+
38+
### Additional Information 补充信息
39+
40+
Configuration files or front matter code...
41+
配置文件或者前置参数的代码...

0 commit comments

Comments
 (0)