feat: better demo site (#1241)

* demo: add image-gallery post

* demo: change language weight

* demo: add multilanguage about page

* demo: change title and url

* demo: add shortcode documentation with multi-language support

* demo: improve markdown guide post

* demo: improve Math Typesetting post

* demo: rename Markdown Syntax Guide post

* demo: remove emoji support post

* demo: remove placeholder text post

* demo: remove rich-content post

* demo: rename image gallery page bundle

* demo: add multilingual `Documentation` category

* demo: Increase pagination pager size from 3 to 5.

* demo: add multilingual links, search, and archives pages

* demo: remove `ar` from demosite
This commit is contained in:
Jimmy
2026-01-26 13:49:47 +01:00
committed by GitHub
parent 0542fed42e
commit 211bf65153
48 changed files with 1319 additions and 427 deletions
@@ -0,0 +1,36 @@
---
title: "鏈接"
links:
- title: GitHub
description: GitHub 是世界上最大的軟件開發平台。
website: https://github.com
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
- title: TypeScript
description: TypeScript 是 JavaScript 的一個超集,它可以編譯成純 JavaScript。
website: https://www.typescriptlang.org
image: ts-logo-128.jpg
menu:
main:
weight: -50
params:
icon: link
comments: false
---
要使用此功能,請在 frontmatter 中添加 `links` 部分。
此頁面的 frontmatter
```yaml
links:
- title: GitHub
description: GitHub 是世界上最大的軟件開發平台。
website: https://github.com
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
- title: TypeScript
description: TypeScript 是 JavaScript 的一個超集,它可以編譯成純 JavaScript。
website: https://www.typescriptlang.org
image: ts-logo-128.jpg
```
`image` 字段支持本地和外部圖像。