mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-12-12 09:51:15 +01:00
commit
1bf9b7dc2c
3 changed files with 23 additions and 1 deletions
|
@ -248,6 +248,9 @@ dateFormatToUse = "2006-01-02"
|
||||||
#Mastodon = "xxxx"
|
#Mastodon = "xxxx"
|
||||||
#Thingiverse = "xxxx"
|
#Thingiverse = "xxxx"
|
||||||
#Devto = "xxxx"
|
#Devto = "xxxx"
|
||||||
|
#Gitea = "xxxx"
|
||||||
|
#XMPP = "xxxx"
|
||||||
|
#Matrix ="xxxx"
|
||||||
|
|
||||||
# Social Share Links in post page
|
# Social Share Links in post page
|
||||||
[params.share]
|
[params.share]
|
||||||
|
|
|
@ -248,6 +248,9 @@ dateFormatToUse = "2006-01-02"
|
||||||
#Mastodon = "xxxx"
|
#Mastodon = "xxxx"
|
||||||
#Thingiverse = "xxxx"
|
#Thingiverse = "xxxx"
|
||||||
#Devto = "xxxx"
|
#Devto = "xxxx"
|
||||||
|
#Gitea = "xxxx"
|
||||||
|
#XMPP = "xxxx"
|
||||||
|
#Matrix ="xxxx"
|
||||||
|
|
||||||
# 文章页面的分享信息设置
|
# 文章页面的分享信息设置
|
||||||
[params.share]
|
[params.share]
|
||||||
|
|
|
@ -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 -}}
|
{{- with .Site.Params.Social.Github -}}
|
||||||
<a href="https://github.com/{{ . }}" rel="me noopener noreffer" target="_blank">
|
<a href="https://github.com/{{ . }}" rel="me noopener noreffer" target="_blank">
|
||||||
<i class="fab fa-github-alt fa-fw" title="Github"></i>
|
<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>
|
<i class="far fa-envelope fa-fw" target="_blank" title="Email"></i>
|
||||||
</a>
|
</a>
|
||||||
{{- end -}}
|
{{- 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}}
|
{{- with .Site.Params.Social.Custom}}
|
||||||
{{- . | safeHTML -}}
|
{{- . | safeHTML -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
Loading…
Reference in a new issue