feat(social): improve social links (#254)
* replace forkawesome and iconfont with simple icons * add more configs for social
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{{- $params := .Scratch.Get "params" -}}
|
||||
{{- $modify_date := .Lastmod.Format (.Site.Params.dateformat | default "2006-01-02") -}}
|
||||
|
||||
<div class="post-footer" id="post-footer">
|
||||
<div class="post-info">
|
||||
<div class="post-info-line">
|
||||
@@ -48,7 +49,7 @@
|
||||
<i class="fas fa-tags fa-fw"></i>
|
||||
{{- range $index, $value := . -}}
|
||||
{{- if gt $index 0 }}, {{ end -}}
|
||||
{{- $tag := printf "/tags/%s" $value | $.Site.GetPage -}}
|
||||
{{- $tag := $value | anchorize | printf "/tags/%s" | $.Site.GetPage -}}
|
||||
<a href="{{ $tag.RelPermalink }}">{{ $tag.Title }}</a>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user