This commit is contained in:
parent
f237551193
commit
0321812a29
57 changed files with 25676 additions and 4089 deletions
|
@ -312,9 +312,12 @@ Please open the code block below to view the complete sample configuration :(far
|
|||
gravatarEmail = ""
|
||||
# URL of avatar shown in home page
|
||||
avatarURL = "/images/avatar.png"
|
||||
# {{< version 0.1.1 >}} Alt text for avatar (default is the author name)
|
||||
avatarAlt = ""
|
||||
# title shown in home page (HTML format is supported)
|
||||
title = ""
|
||||
# subtitle shown in home page
|
||||
# {{< version 0.1.1 changed >}} (HTML format is supported)
|
||||
subtitle = "This is My New Hugo Site"
|
||||
# whether to use typeit animation for subtitle
|
||||
typeit = true
|
||||
|
@ -396,7 +399,9 @@ Please open the code block below to view the complete sample configuration :(far
|
|||
Matrix = ""
|
||||
Bilibili = ""
|
||||
Email = "xxxx@xxxx.com"
|
||||
RSS = true #
|
||||
RSS = true
|
||||
# {{< version 0.1.2 >}} Open Researcher and Contributor ID
|
||||
Orcid = ""
|
||||
|
||||
# Page config
|
||||
[params.page]
|
||||
|
@ -491,6 +496,8 @@ Please open the code block below to view the complete sample configuration :(far
|
|||
Skype = false
|
||||
Trello = false
|
||||
Mix = false
|
||||
# {{< version 0.1.2 >}}
|
||||
Telegram = false
|
||||
# Comment config
|
||||
[params.page.comment]
|
||||
enable = true
|
||||
|
@ -556,6 +563,17 @@ Please open the code block below to view the complete sample configuration :(far
|
|||
label = ""
|
||||
lightTheme = "github-light"
|
||||
darkTheme = "github-dark"
|
||||
# {{< version 0.2.0 >}} {{< link "https://waline.js.org/en/" "Waline" >}} comment config
|
||||
[params.page.comment.waline]
|
||||
enable = false
|
||||
serverURL = "https://xxx.vercel.com"
|
||||
visitor = true
|
||||
dark = 'auto'
|
||||
# {{< version 0.2.0 >}} {{< link "https://twikoo.js.org" "Twikoo" >}} comment config
|
||||
[params.page.comment.twikoo]
|
||||
enable = false
|
||||
evnId = "https://xxx.vercel.com"
|
||||
|
||||
# Third-party library config
|
||||
[params.page.library]
|
||||
[params.page.library.css]
|
||||
|
|
|
@ -317,9 +317,12 @@ Please open the code block below to view the complete sample configuration :(far
|
|||
gravatarEmail = ""
|
||||
# URL of avatar shown in home page
|
||||
avatarURL = "/images/avatar.png"
|
||||
# {{< version 0.1.1 >}} Alt text for avatar (default is the author name)
|
||||
avatarAlt = ""
|
||||
# title shown in home page (HTML format is supported)
|
||||
title = ""
|
||||
# subtitle shown in home page
|
||||
# {{< version 0.1.1 changed >}} (HTML format is supported)
|
||||
subtitle = "This is My New Hugo Site"
|
||||
# whether to use typeit animation for subtitle
|
||||
typeit = true
|
||||
|
@ -401,7 +404,9 @@ Please open the code block below to view the complete sample configuration :(far
|
|||
Matrix = ""
|
||||
Bilibili = ""
|
||||
Email = "xxxx@xxxx.com"
|
||||
RSS = true #
|
||||
RSS = true
|
||||
# {{< version 0.1.2 >}} Open Researcher and Contributor ID
|
||||
Orcid = ""
|
||||
|
||||
# Page config
|
||||
[params.page]
|
||||
|
@ -496,6 +501,8 @@ Please open the code block below to view the complete sample configuration :(far
|
|||
Skype = false
|
||||
Trello = false
|
||||
Mix = false
|
||||
# {{< version 0.1.2 >}}
|
||||
Telegram = false
|
||||
# Comment config
|
||||
[params.page.comment]
|
||||
enable = true
|
||||
|
@ -561,6 +568,16 @@ Please open the code block below to view the complete sample configuration :(far
|
|||
label = ""
|
||||
lightTheme = "github-light"
|
||||
darkTheme = "github-dark"
|
||||
# {{< version 0.2.0 >}} {{< link "https://waline.js.org/en/" "Waline" >}} comment config
|
||||
[params.page.comment.waline]
|
||||
enable = false
|
||||
serverURL = "https://xxx.vercel.com"
|
||||
visitor = true
|
||||
dark = 'auto'
|
||||
# {{< version 0.2.0 >}} {{< link "https://twikoo.js.org" "Twikoo" >}} comment config
|
||||
[params.page.comment.twikoo]
|
||||
enable = false
|
||||
evnId = "https://xxx.vercel.com"
|
||||
# Third-party library config
|
||||
[params.page.library]
|
||||
[params.page.library.css]
|
||||
|
|
|
@ -319,6 +319,7 @@ hugo
|
|||
title = ""
|
||||
# 主页显示的网站副标题
|
||||
subtitle = "这是我的全新 Hugo 网站"
|
||||
# {{< version 0.1.1 changed >}} (HTML format is supported)
|
||||
# 是否为副标题显示打字机动画
|
||||
typeit = true
|
||||
# 是否显示社交账号
|
||||
|
@ -399,7 +400,9 @@ hugo
|
|||
Matrix = ""
|
||||
Bilibili = ""
|
||||
Email = "xxxx@xxxx.com"
|
||||
RSS = true #
|
||||
RSS = true
|
||||
# {{< version 0.1.2 >}} Open Researcher and Contributor ID
|
||||
Orcid = ""
|
||||
|
||||
# 文章页面配置
|
||||
[params.page]
|
||||
|
@ -494,6 +497,8 @@ hugo
|
|||
Skype = false
|
||||
Trello = false
|
||||
Mix = false
|
||||
# {{< version 0.1.2 >}}
|
||||
Telegram = false
|
||||
# 评论系统设置
|
||||
[params.page.comment]
|
||||
enable = true
|
||||
|
@ -559,6 +564,17 @@ hugo
|
|||
label = ""
|
||||
lightTheme = "github-light"
|
||||
darkTheme = "github-dark"
|
||||
# {{< version 0.2.0 >}} {{< link "https://waline.js.org/" "Waline" >}} 评论系统设置
|
||||
[params.page.comment.waline]
|
||||
enable = false
|
||||
serverURL = "https://xxx.vercel.com"
|
||||
visitor = true
|
||||
dark = 'auto'
|
||||
# {{< version 0.2.0 >}} {{< link "https://twikoo.js.org" "Twikoo" >}} 评论系统设置
|
||||
[params.page.comment.twikoo]
|
||||
enable = false
|
||||
evnId = "https://xxx.vercel.com"
|
||||
|
||||
# 第三方库配置
|
||||
[params.page.library]
|
||||
[params.page.library.css]
|
||||
|
|
|
@ -959,6 +959,10 @@ The `mapbox` shortcode has the following named parameters to use Mapbox GL JS:
|
|||
|
||||
Height of the map, default value is `20rem`.
|
||||
|
||||
- **properties** _[optional]_
|
||||
|
||||
GeoJSON sources and the layers of the map.
|
||||
|
||||
Example simple `mapbox` input:
|
||||
|
||||
```markdown
|
||||
|
@ -983,6 +987,16 @@ The rendered output looks like this:
|
|||
|
||||
{{< mapbox -122.252 37.453 10 false "mapbox://styles/mapbox/navigation-preview-day-v4?optimize=true" "mapbox://styles/mapbox/navigation-preview-night-v4?optimize=true" >}}
|
||||
|
||||
Example `mapbox` input with the GetJSON data:
|
||||
|
||||
```markdown
|
||||
{{</* mapbox lng=28.836 lat=47.021 zoom=8 marked=false properties="/static/features-layers.json" */>}}
|
||||
```
|
||||
|
||||
The rendered output looks like this:
|
||||
|
||||
{{< mapbox lng=28.836 lat=47.021 zoom=8 marked=false properties="/static/features-layers.json" >}}
|
||||
|
||||
## 8 music
|
||||
|
||||
The `music` shortcode embeds a responsive music player based on [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS).
|
||||
|
|
|
@ -964,6 +964,10 @@ The `mapbox` shortcode has the following named parameters to use Mapbox GL JS:
|
|||
|
||||
Height of the map, default value is `20rem`.
|
||||
|
||||
- **properties** _[optional]_
|
||||
|
||||
GeoJSON sources and the layers of the map.
|
||||
|
||||
Example simple `mapbox` input:
|
||||
|
||||
```markdown
|
||||
|
@ -988,6 +992,16 @@ The rendered output looks like this:
|
|||
|
||||
{{< mapbox -122.252 37.453 10 false "mapbox://styles/mapbox/navigation-preview-day-v4?optimize=true" "mapbox://styles/mapbox/navigation-preview-night-v4?optimize=true" >}}
|
||||
|
||||
Example `mapbox` input with the GetJSON data:
|
||||
|
||||
```markdown
|
||||
{{</* mapbox lng=28.836 lat=47.021 zoom=8 marked=false properties="/static/features-layers.json" */>}}
|
||||
```
|
||||
|
||||
The rendered output looks like this:
|
||||
|
||||
{{< mapbox lng=28.836 lat=47.021 zoom=8 marked=false properties="/static/features-layers.json" >}}
|
||||
|
||||
## 8 music
|
||||
|
||||
The `music` shortcode embeds a responsive music player based on [APlayer](https://github.com/MoePlayer/APlayer) and [MetingJS](https://github.com/metowolf/MetingJS).
|
||||
|
|
|
@ -962,6 +962,10 @@ data = [
|
|||
|
||||
地图的高度, 默认值是 `20rem`.
|
||||
|
||||
- **properties** _[optional]_
|
||||
|
||||
GeoJSON sources and the layers of the map.
|
||||
|
||||
一个简单的 `mapbox` 示例:
|
||||
|
||||
```markdown
|
||||
|
@ -986,6 +990,16 @@ data = [
|
|||
|
||||
{{< mapbox -122.252 37.453 10 false "mapbox://styles/mapbox/streets-zh-v1?optimize=true" >}}
|
||||
|
||||
Example `mapbox` input with the GetJSON data:
|
||||
|
||||
```markdown
|
||||
{{</* mapbox lng=28.836 lat=47.021 zoom=8 marked=false properties="/static/features-layers.json" */>}}
|
||||
```
|
||||
|
||||
The rendered output looks like this:
|
||||
|
||||
{{< mapbox lng=28.836 lat=47.021 zoom=8 marked=false properties="/static/features-layers.json" >}}
|
||||
|
||||
## 8 music
|
||||
|
||||
`music` shortcode 基于 [APlayer](https://github.com/MoePlayer/APlayer) 和 [MetingJS](https://github.com/metowolf/MetingJS) 提供了一个内嵌的响应式音乐播放器.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue