+ th:attr="onclick='javascript:pjax.loadUrl(\''+ ${theme.config.top.todayRecommendContent.todayRecommendUrl} +'\')'">
From be3d15f36ac129a4d1e860554e1915b59b0ace6c Mon Sep 17 00:00:00 2001
From: "1152958806@qq.com" <17683872107czx>
Date: Fri, 7 Jul 2023 13:36:51 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E5=85=B3=E4=BA=8E=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E9=85=8D=E7=BD=AE=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
settings.yaml | 11 +-
templates/about.html | 801 +-----------------
templates/modules/about-widgets.html | 18 +
.../widgets/about-widgets/authorCareers.html | 320 +++++++
.../widgets/about-widgets/content-idea.html | 28 +
.../modules/widgets/about-widgets/game.html | 34 +
.../widgets/about-widgets/hello-about.html | 150 ++++
.../widgets/about-widgets/like-music.html | 42 +
.../about-widgets/personalities-photo.html | 208 +++++
.../widgets/about-widgets/statistics-map.html | 133 +++
.../widgets/about-widgets/textarea.html | 29 +
11 files changed, 1016 insertions(+), 758 deletions(-)
create mode 100644 templates/modules/about-widgets.html
create mode 100644 templates/modules/widgets/about-widgets/authorCareers.html
create mode 100644 templates/modules/widgets/about-widgets/content-idea.html
create mode 100644 templates/modules/widgets/about-widgets/game.html
create mode 100644 templates/modules/widgets/about-widgets/hello-about.html
create mode 100644 templates/modules/widgets/about-widgets/like-music.html
create mode 100644 templates/modules/widgets/about-widgets/personalities-photo.html
create mode 100644 templates/modules/widgets/about-widgets/statistics-map.html
create mode 100644 templates/modules/widgets/about-widgets/textarea.html
diff --git a/settings.yaml b/settings.yaml
index 132cacd1..6aad58e9 100644
--- a/settings.yaml
+++ b/settings.yaml
@@ -856,6 +856,11 @@ spec:
- $formkit: color
name: background
label: 背景色
+ - $formkit: textarea
+ name: widgets
+ label: 小部件
+ value: "content-idea,authorCareers,personalities-photo,textarea,game,like-music,statistics-map"
+ help: "content-idea(我的介绍&我的想法), authorCareers(技能&职业生涯), personalities-photo(性格&图片), textarea(座右铭), game(爱好), like-music(关注偏好&音乐偏好), statistics-map(数据统计&音乐偏好)。你可以随意组合或排序,以逗号隔开。"
- $formkit: repeater
name: authorInfoLeftTags
label: 个人标签-左
@@ -886,6 +891,10 @@ spec:
label: 我的想法
value:
一定
记得
修改这块代码
优秀的产品 出色的设计 高效的编程 人性化的用户体验
help: 支持 HTML 语法
+ - $formkit: text
+ name: helloAbout
+ label: hello 文字
+ value: Hello there!
- $formkit: group
name: authorCareers
label: 职业生涯
@@ -960,7 +969,7 @@ spec:
label: 文本块
min: 2
max: 2
- help: 左边的一行10字 右面一行19字
+ help: 左边的一行10字 右面一行19字(设置两条数据,不然出不来)
children:
- $formkit: text
name: tittle
diff --git a/templates/about.html b/templates/about.html
index 9ca4af3b..c42113a2 100644
--- a/templates/about.html
+++ b/templates/about.html
@@ -1,6 +1,6 @@
+ xmlns:th="http://www.thymeleaf.org">
@@ -18,743 +18,27 @@
+ th:if="${not #lists.isEmpty(theme.config.about.authorInfoLeftTags)}"
+ th:with="authorTags = ${theme.config.about.authorInfoLeftTags}">
+ th:text="${authorTag.tag}">
![]()
+ th:src="@{${#strings.isEmpty(site.logo) ? '/assets/images/hao-logo.jpg' : site.logo}}">
+ th:if="${not #lists.isEmpty(theme.config.about.authorInfoRightTags)}"
+ th:with="authorTags = ${theme.config.about.authorInfoRightTags}">
+ th:text="${authorTag.tag}">
关于本站
-
-
-
-
-
-
-
-
技能
-
开启创造力
-
-
-
-
-
-
-
-
-
![AfterEffect]()
-
-
AfterEffect
-
-
-
-
-
![Sketch]()
-
-
Sketch
-
-
-
-
-
![Docker]()
-
-
Docker
-
-
-
-
-
![Photoshop]()
-
-
Photoshop
-
-
-
-
-
![FinalCutPro]()
-
-
FinalCutPro
-
-
-
-
-
![Python]()
-
-
Python
-
-
-
-
-
![Swift]()
-
-
Swift
-
-
-
-
-
![Principle]()
-
-
Principle
-
-
-
-
-
![illustrator]()
-
-
illustrator
-
-
-
-
-
![CSS3]()
-
-
CSS3
-
-
-
-
-
![JS]()
-
-
JS
-
-
-
-
-
![HTML]()
-
-
HTML
-
-
-
-
-
![Git]()
-
-
Git
-
-
-
-
-
![Apifox]()
-
-
Apifox
-
-
-
...
-
-
-
-
-
-
![]()
-
-
-
-
-
-
-
-
-
-
-
-
生涯
-
无限进步
-
-
![生涯]()
-
-
-
-
-
-
-
-
性格
-
-
- 调停者
- INFP
-
-
-
-
-
- 建筑师
- INTJ
-
-
-
-
-
- 逻辑学家
- INTP
-
-
-
-
-
- 指挥官
- ENTJ
-
-
-
-
-
- 辩论家
- ENTP
-
-
-
-
-
- 主人公
- ENFJ
-
-
-
-
-
- 竞选者
- ENFP
-
-
-
-
-
- 总经理
- ESTJ
-
-
-
-
-
- 企业家
- ESTP
-
-
-
-
-
- 执政官
- ESFJ
-
-
-
-
-
- 表演者
- ESFP
-
-
-
-
-
- 提倡者
- INFJ
-
-
-
-
-
- 物流师
- ISTJ
-
-
-
-
-
- 鉴赏家
- ISTP
-
-
-
-
-
- 守卫者
- ISFJ
-
-
-
-
-
- 探险家
- ISFP
-
-
-
-
-
-
![自拍]()
-
-
-
-
-
-
-
座右铭
-
- 生活原本沉闷,
- 但跑起来就有风。
-
-
-
-
-
-
特长
-
- 玄学流电脑疑难问题解决
- 专家
-
- 软件学习能力
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
跟 [[${site.title}]] 一起欣赏更多音乐
-
-
-
-
-
-
-
-
-
-
-
-
- 我现在住在
- [[${theme.config.about.map.StrengthenTitle}]]
-
-
-
生于2000
-
-
太原理工大学计算机科学
-
-
现在职业BI工程师
-
-
-
-
-