From 10694c4840ed34da0fb057bcee3face4f9ee86a8 Mon Sep 17 00:00:00 2001
From: t404notfound <57948380+t404notfound@users.noreply.github.com>
Date: Thu, 6 Feb 2020 05:57:38 +0000
Subject: [PATCH 1/5] Add Gitea, XMPP, Matrix icon to Social icons
---
layouts/partials/home/social.html | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/layouts/partials/home/social.html b/layouts/partials/home/social.html
index 16cc50f5..6fa03890 100644
--- a/layouts/partials/home/social.html
+++ b/layouts/partials/home/social.html
@@ -1,3 +1,4 @@
+
{{- with .Site.Params.Social.Github -}}
@@ -283,6 +284,20 @@
{{- end -}}
+{{- with .Site.Params.Social.Gitea}}
+
+
+
+{{- with .Site.Params.Social.XMPP}}
+
+
+
+{{- end -}}
+{{- with .Site.Params.Social.Matrix}}
+
+
+
+{{- end -}}
{{- with .Site.Params.Social.Custom}}
{{- . | safeHTML -}}
-{{- end -}}
\ No newline at end of file
+{{- end -}}
From b4b6ef9bfe1414110645e0c39b8f31d50c153ba8 Mon Sep 17 00:00:00 2001
From: t404notfound <57948380+t404notfound@users.noreply.github.com>
Date: Thu, 6 Feb 2020 05:59:15 +0000
Subject: [PATCH 2/5] Update social.html
From 8a74674d913558311347534c41c9cbc4c7822737 Mon Sep 17 00:00:00 2001
From: t404notfound <57948380+t404notfound@users.noreply.github.com>
Date: Thu, 6 Feb 2020 06:04:33 +0000
Subject: [PATCH 3/5] Add Gitea, Xmpp, matrix icons to social icons
---
exampleSite/config.toml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 91fcfcc9..2ab50b13 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -248,6 +248,9 @@ dateFormatToUse = "2006-01-02"
#Mastodon = "xxxx"
#Thingiverse = "xxxx"
#Devto = "xxxx"
+ #Gitea = "xxxx"
+ #XMPP = "xxxx"
+ #Matrix ="xxxx"
# Social Share Links in post page
[params.share]
From 6b3ae96dc5d6fabb14fcf794ceebc038a26795d0 Mon Sep 17 00:00:00 2001
From: t404notfound <57948380+t404notfound@users.noreply.github.com>
Date: Thu, 6 Feb 2020 06:05:30 +0000
Subject: [PATCH 4/5] Add Gitea, Xmpp, matrix icons to social icons
---
exampleSite/zh/config.toml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/exampleSite/zh/config.toml b/exampleSite/zh/config.toml
index 701b5027..9f12b820 100644
--- a/exampleSite/zh/config.toml
+++ b/exampleSite/zh/config.toml
@@ -248,6 +248,9 @@ dateFormatToUse = "2006-01-02"
#Mastodon = "xxxx"
#Thingiverse = "xxxx"
#Devto = "xxxx"
+ #Gitea = "xxxx"
+ #XMPP = "xxxx"
+ #Matrix ="xxxx"
# 文章页面的分享信息设置
[params.share]
From 6d7e6ea9eea7e45f7edfedfd8bbc3bac67a3344b Mon Sep 17 00:00:00 2001
From: Dillon
Date: Thu, 6 Feb 2020 21:47:10 +0800
Subject: [PATCH 5/5] Update social.html
---
layouts/partials/home/social.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/layouts/partials/home/social.html b/layouts/partials/home/social.html
index 6fa03890..712f3e91 100644
--- a/layouts/partials/home/social.html
+++ b/layouts/partials/home/social.html
@@ -288,6 +288,7 @@
+{{- end -}}
{{- with .Site.Params.Social.XMPP}}