mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 19:43:31 +08:00
change about
This commit is contained in:
parent
d245ec0d77
commit
7c78a41264
@ -1,5 +1,5 @@
|
||||
---
|
||||
title: "My writings"
|
||||
title: "我的文章"
|
||||
date: 2023-11-01
|
||||
layout: "archives"
|
||||
slug: "archives"
|
||||
|
37
exampleSite/content/page/links/index.zh-cn.md
Normal file
37
exampleSite/content/page/links/index.zh-cn.md
Normal 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.
|
14
exampleSite/content/page/search/index.zh-cn.md
Normal file
14
exampleSite/content/page/search/index.zh-cn.md
Normal file
@ -0,0 +1,14 @@
|
||||
---
|
||||
title: "搜索文章"
|
||||
slug: "search"
|
||||
layout: "search"
|
||||
outputs:
|
||||
- html
|
||||
- json
|
||||
menu:
|
||||
main:
|
||||
weight: -60
|
||||
params:
|
||||
icon: search
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user