Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax le Fou <maxlefou@users.noreply.github.com>2020-02-20 17:45:51 +0300
committerGitHub <noreply@github.com>2020-02-20 17:45:51 +0300
commit1bf9b7dc2c5acfd8b2065e64838cb9e9536f99f5 (patch)
tree308be58bec1c3fd9f94528131693a6e0fec8ce84
parentbe00d66a1727768ee1228b607e02f8231619b504 (diff)
parent44222e7d124367552273731b499ba2054720af48 (diff)
Merge pull request #2 from dillonzq/master
updated
-rw-r--r--exampleSite/config.toml3
-rw-r--r--exampleSite/zh/config.toml3
-rw-r--r--layouts/partials/home/social.html18
3 files changed, 23 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 91fcfcc..2ab50b1 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]
diff --git a/exampleSite/zh/config.toml b/exampleSite/zh/config.toml
index 701b502..9f12b82 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]
diff --git a/layouts/partials/home/social.html b/layouts/partials/home/social.html
index 16cc50f..712f3e9 100644
--- a/layouts/partials/home/social.html
+++ b/layouts/partials/home/social.html
@@ -1,3 +1,4 @@
+<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.7/css/fork-awesome.min.css" integrity="sha256-gsmEoJAws/Kd3CjuOQzLie5Q3yshhvmo7YNtBG7aaEY=" crossorigin="anonymous">
{{- with .Site.Params.Social.Github -}}
<a href="https://github.com/{{ . }}" rel="me noopener noreffer" target="_blank">
<i class="fab fa-github-alt fa-fw" title="Github"></i>
@@ -283,6 +284,21 @@
<i class="far fa-envelope fa-fw" target="_blank" title="Email"></i>
</a>
{{- end -}}
+{{- with .Site.Params.Social.Gitea}}
+ <a href="" rel="me noopener noreffer" target="_blank">
+ <i class="fab fa fa-gitea fa-fw" title="Gitea"></i>
+ </a>
+{{- end -}}
+{{- with .Site.Params.Social.XMPP}}
+ <a href="xmpp:{{ . }}" rel="me noopener noreffer" target="_blank">
+ <i class="fab fa fa-xmpp fa-fw" title="XMPP"></i>
+ </a>
+{{- end -}}
+{{- with .Site.Params.Social.Matrix}}
+ <a href="https://matrix.to/#/{{ . }}" rel="me noopener noreffer" target="_blank">
+ <i class="fab fa fa-matrix-org fa-fw" title="Matrix"></i>
+ </a>
+{{- end -}}
{{- with .Site.Params.Social.Custom}}
{{- . | safeHTML -}}
-{{- end -}} \ No newline at end of file
+{{- end -}}