feat: add social link for RSS and some configs (#250)

This commit is contained in:
Dillon
2020-04-22 23:58:40 +08:00
committed by GitHub
parent f5fb31ec43
commit 07b669c826
18 changed files with 199 additions and 67 deletions

View File

@@ -104,6 +104,8 @@ enableEmoji = true
searchKey = "b42948e51daaa93df92381c8e2ac0f93"
# Home page config
[languages.en.params.home]
# amount of RSS pages
rss = 10
# Home page profile
[languages.en.params.home.profile]
enable = true
@@ -190,6 +192,7 @@ enableEmoji = true
# XMPP = "xxxx"
# Matrix = "xxxx"
# Bilibili = "xxxx"
RSS = true
[languages.zh-cn]
weight = 2
@@ -269,6 +272,8 @@ enableEmoji = true
searchKey = "b42948e51daaa93df92381c8e2ac0f93"
# 主页信息设置
[languages.zh-cn.params.home]
# RSS 文章数目
rss = 10
# 主页个人信息
[languages.zh-cn.params.home.profile]
enable = true
@@ -355,6 +360,7 @@ enableEmoji = true
# XMPP = "xxxx@example.com"
# Matrix = "xxxx"
Bilibili = "xxxx"
RSS = true
[languages.fr]
weight = 3
@@ -434,6 +440,8 @@ enableEmoji = true
searchKey = "b42948e51daaa93df92381c8e2ac0f93"
# Home page config
[languages.fr.params.home]
# amount of RSS pages
rss = 10
# Home page profile
[languages.fr.params.home.profile]
enable = true
@@ -520,6 +528,7 @@ enableEmoji = true
# XMPP = "xxxx"
# Matrix = "xxxx"
# Bilibili = "xxxx"
RSS = true
[params]
# LoveIt theme version
@@ -583,6 +592,9 @@ enableEmoji = true
# date format (month and day)
# 日期格式 (月和日)
dateFormat = "01-02"
# amount of RSS pages
# RSS 文章数目
rss = 10
# List (category or tag) page config
# List (目录或标签) 页面配置
@@ -593,6 +605,9 @@ enableEmoji = true
# date format (month and day)
# 日期格式 (月和日)
dateFormat = "01-02"
# amount of RSS pages
# RSS 文章数目
rss = 10
# Page config
# 文章页面配置
@@ -903,6 +918,7 @@ enableEmoji = true
# 作者配置
[author]
name = "xxxx"
email = ""
link = ""
# Sitemap config

View File

@@ -46,7 +46,7 @@ It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt/) a
* :(far fa-user): **Gravatar** supported by [Gravatar](https://gravatar.com)
* :(fas fa-user-circle): Local **Avatar** supported
* :(far fa-id-card): Up to **61** social links supported
* :(far fa-id-card): Up to **62** social links supported
* :(fas fa-share-square): Up to **28** share sites supported
* :(far fa-comment): **Disqus** comment system supported by [Disqus](https://disqus.com)
* :(far fa-comment-dots): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)

View File

@@ -51,7 +51,7 @@ It is based on the original [LeaveIt Theme](https://github.com/liuzc/LeaveIt/) a
* :(far fa-user): **Gravatar** supported by [Gravatar](https://gravatar.com)
* :(fas fa-user-circle): Local **Avatar** supported
* :(far fa-id-card): Up to **61** social links supported
* :(far fa-id-card): Up to **62** social links supported
* :(fas fa-share-square): Up to **28** share sites supported
* :(far fa-comment): **Disqus** comment system supported by [Disqus](https://disqus.com)
* :(far fa-comment-dots): **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk)

View File

@@ -46,7 +46,7 @@ lightgallery: true
* :(far fa-user): 支持 **[Gravatar](https://gravatar.com)** 头像
* :(fas fa-user-circle): 支持本地**头像**
* :(far fa-id-card): 支持多达 **61** 种社交链接
* :(far fa-id-card): 支持多达 **62** 种社交链接
* :(fas fa-share-square): 支持多达 **28** 种网站分享
* :(far fa-comment): 支持 **[Disqus](https://disqus.com)** 评论系统
* :(far fa-comment-dots): 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统

View File

@@ -244,6 +244,8 @@ Note that some of these parameters are explained in details in other sections of
paginate = 20
# date format (month and day)
dateFormat = "01-02"
# amount of RSS pages
rss = 10
# {{< version 0.2.0 >}} List (category or tag) page config
[params.list]
@@ -251,9 +253,13 @@ Note that some of these parameters are explained in details in other sections of
paginate = 20
# date format (month and day)
dateFormat = "01-02"
# amount of RSS pages
rss = 10
# Home page config
[params.home]
# {{< version 0.2.0 >}} amount of RSS pages
rss = 10
# Home page profile
[params.home.profile]
enable = true
@@ -343,6 +349,7 @@ Note that some of these parameters are explained in details in other sections of
# XMPP = "xxxx"
# Matrix = "xxxx"
# Bilibili = "xxxx"
RSS = true # {{< version 0.2.0 >}}
# {{< version 0.2.0 changed >}} Page config
[params.page]
@@ -606,6 +613,7 @@ Note that some of these parameters are explained in details in other sections of
# Author config
[author]
name = "xxxx"
email = ""
link = ""
# Sitemap config

View File

@@ -249,6 +249,8 @@ Note that some of these parameters are explained in details in other sections of
paginate = 20
# date format (month and day)
dateFormat = "01-02"
# amount of RSS pages
rss = 10
# {{< version 0.2.0 >}} List (category or tag) page config
[params.list]
@@ -256,9 +258,13 @@ Note that some of these parameters are explained in details in other sections of
paginate = 20
# date format (month and day)
dateFormat = "01-02"
# amount of RSS pages
rss = 10
# Home page config
[params.home]
# {{< version 0.2.0 >}} amount of RSS pages
rss = 10
# Home page profile
[params.home.profile]
enable = true
@@ -348,6 +354,7 @@ Note that some of these parameters are explained in details in other sections of
# XMPP = "xxxx"
# Matrix = "xxxx"
# Bilibili = "xxxx"
RSS = true # {{< version 0.2.0 >}}
# {{< version 0.2.0 changed >}} Page config
[params.page]
@@ -611,6 +618,7 @@ Note that some of these parameters are explained in details in other sections of
# Author config
[author]
name = "xxxx"
email = ""
link = ""
# Sitemap config

View File

@@ -247,6 +247,8 @@ hugo
paginate = 20
# 日期格式 (月和日)
dateFormat = "01-02"
# RSS 文章数目
rss = 10
# {{< version 0.2.0 >}} List (目录或标签) 页面配置
[params.list]
@@ -254,9 +256,13 @@ hugo
paginate = 20
# 日期格式 (月和日)
dateFormat = "01-02"
# RSS 文章数目
rss = 10
# 主页配置
[params.home]
# {{< version 0.2.0 >}} RSS 文章数目
rss = 10
# 主页个人信息
[params.home.profile]
enable = true
@@ -346,6 +352,7 @@ hugo
# XMPP = "xxxx"
# Matrix = "xxxx"
Bilibili = "xxxx"
RSS = true # {{< version 0.2.0 >}}
# {{< version 0.2.0 changed >}} 文章页面配置
[params.page]
@@ -609,6 +616,7 @@ hugo
# 作者配置
[author]
name = "xxxx"
email = ""
link = ""
# 网站地图配置