Add Devto to Social Media Icons

This commit is contained in:
Programazing 2020-01-02 07:47:18 -05:00
parent b556dfccc8
commit cd1e2ab427
3 changed files with 5 additions and 0 deletions

View file

@ -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

View file

@ -174,6 +174,7 @@ staticDir = ["../static", "../../assets/others"] # 静态文件目录
#Researchgate = "xxxx"
#Mastodon = "xxxx"
#Thingiverse = "xxxx"
#Devto = "xxxx"
[params.share] # 文章页面的分享信息设置
enable = true

View file

@ -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 }}