mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 02:46:16 +01:00
Add Devto to Social Media Icons
This commit is contained in:
parent
b556dfccc8
commit
cd1e2ab427
3 changed files with 5 additions and 0 deletions
|
@ -174,6 +174,7 @@ staticDir = ["static", "../assets/others"] # static directories
|
|||
#Researchgate = "xxxx"
|
||||
#Mastodon = "xxxx"
|
||||
#Thingiverse = "xxxx"
|
||||
#Devto = "xxxx"
|
||||
|
||||
[params.share] # Social Share Links in post page
|
||||
enable = true
|
||||
|
|
|
@ -174,6 +174,7 @@ staticDir = ["../static", "../../assets/others"] # 静态文件目录
|
|||
#Researchgate = "xxxx"
|
||||
#Mastodon = "xxxx"
|
||||
#Thingiverse = "xxxx"
|
||||
#Devto = "xxxx"
|
||||
|
||||
[params.share] # 文章页面的分享信息设置
|
||||
enable = true
|
||||
|
|
|
@ -160,6 +160,9 @@
|
|||
{{ with .Site.Params.Social.Mastodon}}
|
||||
<a href="https://mastodon.social/{{ . }}" rel="me noopener noreffer" target="_blank"><i class="fab fa-mastodon fa-fw"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.Social.Devto}}
|
||||
<a href="https://dev.to/{{ . }}" rel="me noopener noreffer" target="_blank"><i class="fab fa-dev fa-fw" title="Dev.To"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.Social.Email}}
|
||||
<a href="mailto:{{.}}" rel="me noopener noreffer"><i class="far fa-envelope" target="_blank fa-fw"></i></a>
|
||||
{{ end }}
|
Loading…
Reference in a new issue