docs(archetypes): update markdown syntax and remove uncommon front matter in templates (#676)

This commit is contained in:
Cell
2026-01-04 11:22:38 +08:00
committed by GitHub
parent d637c8b22f
commit 5b8ea64d77
4 changed files with 12 additions and 23 deletions
+6 -8
View File
@@ -28,7 +28,7 @@ comment: false
Comment like this:
````markdown
````markdown {mode=mac}
```yaml
- nickname: <your nickname>
avatar: <your avatar>
@@ -37,10 +37,8 @@ Comment like this:
```
````
{{< admonition info "Notice" true >}}
1. If you want to exchange link, please leave a comment as the above format. (personal non-commercial blogs / websites only)
2. :(fa-solid fa-exclamation-triangle): Website failure, stop maintenance and improper content may be unlinked!
3. Those websites that do not respect other people's labor achievements, reprint without source, or malicious acts, please do not come to exchange.
{{< /admonition >}}
> [!NOTE]
>
> 1. If you want to exchange link, please leave a comment as the above format. (personal non-commercial blogs / websites only)
> 2. :(fa-solid fa-exclamation-triangle): Website failure, stop maintenance and improper content may be unlinked!
> 3. Those websites that do not respect other people's labor achievements, reprint without source, or malicious acts, please do not come to exchange.
+1 -5
View File
@@ -11,7 +11,6 @@ author:
avatar:
description:
keywords:
license:
comment: false
weight: 0
tags:
@@ -28,13 +27,10 @@ resources:
src: featured-image.jpg
- name: featured-image-preview
src: featured-image-preview.jpg
toc: true
math: false
lightgallery: false
password:
message:
repost:
enable: true
enable: false
url:
# See details front matter: https://fixit.lruihao.cn/documentation/content-management/introduction/#front-matter
+3 -10
View File
@@ -11,7 +11,6 @@ author:
avatar:
description:
keywords:
license:
comment: false
weight: 0
tags:
@@ -23,18 +22,12 @@ hiddenFromSearch: false
hiddenFromRelated: false
hiddenFromFeed: false
summary:
resources:
- name: featured-image
src: featured-image.jpg
- name: featured-image-preview
src: featured-image-preview.jpg
toc: true
math: false
lightgallery: false
featuredImagePreview:
featuredImage:
password:
message:
repost:
enable: true
enable: false
url:
# See details front matter: https://fixit.lruihao.cn/documentation/content-management/introduction/#front-matter
+2
View File
@@ -2,4 +2,6 @@
title: {{ T "assets.search" }}
layout: search
date: {{ .Date }}
description:
keywords:
---