Init
This commit is contained in:
20
content/examples/landing/index.md
Normal file
20
content/examples/landing/index.md
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
title: "Landing Page Example"
|
||||
date: 2023-04-06T01:44:59+08:00
|
||||
draft: false
|
||||
layout: landing
|
||||
---
|
||||
|
||||
# Landing Page Example
|
||||
|
||||
This theme offers a simple landing page layout which consist of three parts: header, body and footer, the body is the content itself.
|
||||
|
||||
## How to Use it?
|
||||
|
||||
Specify the `layout` as `landing` on the front matter.
|
||||
|
||||
{{< bs/config-toggle >}}
|
||||
layout: landing
|
||||
{{< /bs/config-toggle >}}
|
||||
|
||||
And then writing the content with [Markdown](https://hbstack.dev/en/docs/content/markdown-syntax/) and [shortcodes](https://hbstack.dev/en/docs/content/shortcodes/).
|
20
content/examples/landing/index.zh-hans.md
Normal file
20
content/examples/landing/index.zh-hans.md
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
title: "落地页示例"
|
||||
date: 2023-04-06T01:44:59+08:00
|
||||
draft: false
|
||||
layout: landing
|
||||
---
|
||||
|
||||
# 落地页示例
|
||||
|
||||
本主题提供一个简单的落地页布局,其由三部分组成:头部,主体和尾部,主体为内容其本身。
|
||||
|
||||
## 怎么使用?
|
||||
|
||||
于内容前言中指定 `layout` 为 `landing`。
|
||||
|
||||
{{< bs/config-toggle >}}
|
||||
layout: landing
|
||||
{{< /bs/config-toggle >}}
|
||||
|
||||
然后以 [Markdown](https://hbstack.dev/zh-hans/docs/content/markdown-syntax/) 和[短代码](https://hbstack.dev/zh-hans/docs/content/shortcodes/)编写内容即可。
|
Reference in New Issue
Block a user