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:
@@ -0,0 +1,46 @@
|
||||
---
|
||||
title: このサイトについて
|
||||
description: このサイトとその著者についてのすべて。
|
||||
date: 2026-01-26
|
||||
lastmod: 2026-01-26
|
||||
menu:
|
||||
main:
|
||||
weight: -90
|
||||
params:
|
||||
icon: user
|
||||
---
|
||||
|
||||
## 誰のためのページですか?
|
||||
|
||||
これは**サンプル詳細**ページです。あなた自身、あなたのブログ、またはあなたのプロジェクトを紹介するために使用できます。
|
||||
|
||||
## 著者について
|
||||
|
||||
こんにちは!私はブログとオープンソースに情熱を注いでいる愛好家です。新しい技術を探索し、その経験をコミュニティと共有することが大好きです。
|
||||
|
||||
### 私の歩み
|
||||
|
||||
10年以上前にWeb開発の旅を始めました。それ以来、個人のブログから大規模なエンタープライズアプリケーションまで、数多くのプロジェクトに携わってきました。
|
||||
|
||||
### スキル
|
||||
|
||||
- **フロントエンド**: HTML, CSS, JavaScript, React, Vue
|
||||
- **バックエンド**: Node.js, Python, Go
|
||||
- **ツール**: Git, Docker, Hugo, Neovim
|
||||
|
||||
## お問い合わせ
|
||||
|
||||
質問がある場合や、単にあいさつをしたい場合は、お気軽にご連絡ください!
|
||||
|
||||
- **メール**: [hello@example.com](mailto:hello@example.com)
|
||||
- **Twitter**: [@example](https://twitter.com/example)
|
||||
- **GitHub**: [example](https://github.com/example)
|
||||
|
||||
---
|
||||
|
||||
> "Logic will get you from A to B. Imagination will take you everywhere."
|
||||
> — *Albert Einstein*
|
||||
|
||||
---
|
||||
*このページは AI によって生成されました。*
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
---
|
||||
title: About
|
||||
description: Hugo, the world's fastest framework for building websites
|
||||
date: '2019-02-28'
|
||||
aliases:
|
||||
- about-us
|
||||
- about-hugo
|
||||
- contact
|
||||
license: CC BY-NC-ND
|
||||
lastmod: '2020-10-09'
|
||||
description: Everything you need to know about this site and its author.
|
||||
date: 2026-01-26
|
||||
lastmod: 2026-01-26
|
||||
menu:
|
||||
main:
|
||||
weight: -90
|
||||
@@ -15,20 +10,37 @@ menu:
|
||||
icon: user
|
||||
---
|
||||
|
||||
Written in Go, Hugo is an open source static site generator available under the [Apache License 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.
|
||||
## Who is this for?
|
||||
|
||||
Hugo makes use of a variety of open source projects including:
|
||||
This is a sample **About** page. You can use it to introduce yourself, your blog, or your project.
|
||||
|
||||
* https://github.com/yuin/goldmark
|
||||
* https://github.com/alecthomas/chroma
|
||||
* https://github.com/muesli/smartcrop
|
||||
* https://github.com/spf13/cobra
|
||||
* https://github.com/spf13/viper
|
||||
## About the Author
|
||||
|
||||
Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a website with thousands of pages.
|
||||
Hello! I'm a passionate blogger and open-source enthusiast. I love exploring new technologies and sharing my experiences with the community.
|
||||
|
||||
Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases.
|
||||
### My Journey
|
||||
|
||||
Websites built with Hugo are extremely fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.
|
||||
I started my journey in web development over 10 years ago. Since then, I've worked on numerous projects ranging from small personal blogs to large-scale enterprise applications.
|
||||
|
||||
### Skills
|
||||
|
||||
- **Front-end**: HTML, CSS, JavaScript, React, Vue
|
||||
- **Back-end**: Node.js, Python, Go
|
||||
- **Tools**: Git, Docker, Hugo, Neovim
|
||||
|
||||
## Contact Me
|
||||
|
||||
Feel free to reach out if you have any questions or just want to say hi!
|
||||
|
||||
- **Email**: [hello@example.com](mailto:hello@example.com)
|
||||
- **Twitter**: [@example](https://twitter.com/example)
|
||||
- **GitHub**: [example](https://github.com/example)
|
||||
|
||||
---
|
||||
|
||||
> "Logic will get you from A to B. Imagination will take you everywhere."
|
||||
> — *Albert Einstein*
|
||||
|
||||
---
|
||||
*This page was generated by AI.*
|
||||
|
||||
Learn more and contribute on [GitHub](https://github.com/gohugoio).
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
---
|
||||
title: 關於
|
||||
description: 關於本站及其作者的一切。
|
||||
date: 2026-01-26
|
||||
lastmod: 2026-01-26
|
||||
menu:
|
||||
main:
|
||||
weight: -90
|
||||
params:
|
||||
icon: user
|
||||
---
|
||||
|
||||
## 這是給誰看的?
|
||||
|
||||
這是一個示例**關於**頁面。你可以用它來介紹你自己、你的博客或你的項目。
|
||||
|
||||
## 關於作者
|
||||
|
||||
你好!我是一個熱衷於博客和開源的愛好者。我喜歡探索新技術並向社區分享我的經驗。
|
||||
|
||||
### 我的旅程
|
||||
|
||||
我在 10 多年前開始了我的 Web 開發之旅。自那以後,我參與了許多項目,從個人博客到大規模企業應用。
|
||||
|
||||
### 技能
|
||||
|
||||
- **前端**: HTML, CSS, JavaScript, React, Vue
|
||||
- **後端**: Node.js, Python, Go
|
||||
- **工具**: Git, Docker, Hugo, Neovim
|
||||
|
||||
## 聯繫我
|
||||
|
||||
如果你有任何問題或只是想打個招呼,請隨時聯繫我!
|
||||
|
||||
- **電子郵件**: [hello@example.com](mailto:hello@example.com)
|
||||
- **Twitter**: [@example](https://twitter.com/example)
|
||||
- **GitHub**: [example](https://github.com/example)
|
||||
|
||||
---
|
||||
|
||||
> "Logic will get you from A to B. Imagination will take you everywhere."
|
||||
> — *Albert Einstein*
|
||||
|
||||
---
|
||||
*此頁面由 AI 生成。*
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
---
|
||||
title: 关于
|
||||
description: 关于本站及其作者的一切。
|
||||
date: 2026-01-26
|
||||
lastmod: 2026-01-26
|
||||
menu:
|
||||
main:
|
||||
weight: -90
|
||||
@@ -7,4 +10,36 @@ menu:
|
||||
icon: user
|
||||
---
|
||||
|
||||
This is a test page for i18n support.
|
||||
## 这是给谁看的?
|
||||
|
||||
这是一个示例**关于**页面。你可以用它来介绍你自己、你的博客或你的项目。
|
||||
|
||||
## 关于作者
|
||||
|
||||
你好!我是一个热衷于博客和开源的爱好者。我喜欢探索新技术并向社区分享我的经验。
|
||||
|
||||
### 我的旅程
|
||||
|
||||
我在 10 多年前开始了我的 Web 开发之旅。自那以后,我参与了许多项目,从个人博客到大规模企业应用。
|
||||
|
||||
### 技能
|
||||
|
||||
- **前端**: HTML, CSS, JavaScript, React, Vue
|
||||
- **后端**: Node.js, Python, Go
|
||||
- **工具**: Git, Docker, Hugo, Neovim
|
||||
|
||||
## 联系我
|
||||
|
||||
如果你有任何问题或只是想打个招呼,请随时联系我!
|
||||
|
||||
- **电子邮件**: [hello@example.com](mailto:hello@example.com)
|
||||
- **Twitter**: [@example](https://twitter.com/example)
|
||||
- **GitHub**: [example](https://github.com/example)
|
||||
|
||||
---
|
||||
|
||||
> "Logic will get you from A to B. Imagination will take you everywhere."
|
||||
> — *Albert Einstein*
|
||||
|
||||
---
|
||||
*此页面由 AI 生成。*
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
title: "アーカイブ"
|
||||
date: 2019-05-28
|
||||
layout: "archives"
|
||||
slug: "archives"
|
||||
menu:
|
||||
main:
|
||||
weight: -70
|
||||
params:
|
||||
icon: archives
|
||||
---
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
title: "歸檔"
|
||||
date: 2019-05-28
|
||||
layout: "archives"
|
||||
slug: "archives"
|
||||
menu:
|
||||
main:
|
||||
weight: -70
|
||||
params:
|
||||
icon: archives
|
||||
---
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
title: "归档"
|
||||
date: 2019-05-28
|
||||
layout: "archives"
|
||||
slug: "archives"
|
||||
menu:
|
||||
main:
|
||||
weight: -70
|
||||
params:
|
||||
icon: archives
|
||||
---
|
||||
@@ -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
|
||||
---
|
||||
|
||||
この機能を使用するには、フロントマターに `links` セクションを追加します。
|
||||
|
||||
このページのフロントマター:
|
||||
|
||||
```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` フィールドは、ローカル画像と外部画像の両方を受け入れます。
|
||||
@@ -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` 字段支持本地和外部圖像。
|
||||
@@ -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` 字段支持本地和外部图像。
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
title: "検索"
|
||||
slug: "search"
|
||||
layout: "search"
|
||||
outputs:
|
||||
- html
|
||||
- json
|
||||
menu:
|
||||
main:
|
||||
weight: -60
|
||||
params:
|
||||
icon: search
|
||||
---
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
title: "搜索"
|
||||
slug: "search"
|
||||
layout: "search"
|
||||
outputs:
|
||||
- html
|
||||
- json
|
||||
menu:
|
||||
main:
|
||||
weight: -60
|
||||
params:
|
||||
icon: search
|
||||
---
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
title: "搜索"
|
||||
slug: "search"
|
||||
layout: "search"
|
||||
outputs:
|
||||
- html
|
||||
- json
|
||||
menu:
|
||||
main:
|
||||
weight: -60
|
||||
params:
|
||||
icon: search
|
||||
---
|
||||
Reference in New Issue
Block a user