refactor: move posts, data and configs to exampleSite
This commit is contained in:
30
exampleSite/config/_default/params.toml
Normal file
30
exampleSite/config/_default/params.toml
Normal file
@ -0,0 +1,30 @@
|
||||
toc = true
|
||||
avatar = "img/commons/avatar.jpg"
|
||||
author = "yifan"
|
||||
|
||||
[assets]
|
||||
self_host = false
|
||||
|
||||
[social]
|
||||
name = "Yifan"
|
||||
url = "https://github.com/geekifan"
|
||||
|
||||
[[social.links]]
|
||||
type = "github"
|
||||
id = "yourusername" # 或直接使用 url = "https://github.com/yourusername"
|
||||
icon = "fab fa-github"
|
||||
|
||||
[[social.links]]
|
||||
type = "twitter"
|
||||
id = "yourhandle"
|
||||
icon = "fab fa-twitter"
|
||||
|
||||
[[social.links]]
|
||||
type = "email"
|
||||
id = "your.email@example.com" # 会被自动分割处理
|
||||
icon = "fas fa-envelope"
|
||||
|
||||
[[social.links]]
|
||||
type = "rss"
|
||||
icon = "fas fa-rss"
|
||||
noblank = true # 不在新窗口打开
|
Reference in New Issue
Block a user