change about

This commit is contained in:
1AoB 2023-11-01 23:52:18 +08:00
parent d245ec0d77
commit 7c78a41264
3 changed files with 52 additions and 1 deletions

View File

@ -1,5 +1,5 @@
---
title: "My writings"
title: "我的文章"
date: 2023-11-01
layout: "archives"
slug: "archives"

View File

@ -0,0 +1,37 @@
---
title: 一些链接
links:
- title: GitHub
description: GitHub is the world's largest software development platform.
website: https://github.com
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
- title: TypeScript
description: TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
website: https://www.typescriptlang.org
image: ts-logo-128.jpg
menu:
main:
weight: -50
params:
icon: link
comments: false
---
To use this feature, add `links` section to frontmatter.
This page's frontmatter:
```yaml
links:
- title: GitHub
description: GitHub is the world's largest software development platform.
website: https://github.com
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
- title: TypeScript
description: TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
website: https://www.typescriptlang.org
image: ts-logo-128.jpg
```
`image` field accepts both local and external images.

View File

@ -0,0 +1,14 @@
---
title: "搜索文章"
slug: "search"
layout: "search"
outputs:
- html
- json
menu:
main:
weight: -60
params:
icon: search
---