feat(social): improve social links (#254)

* replace forkawesome and iconfont with simple icons
* add more configs for social
This commit is contained in:
Dillon
2020-04-24 19:04:37 +08:00
committed by GitHub
parent 87fbb05e86
commit c2197b7411
1337 changed files with 2369 additions and 6898 deletions

View File

@@ -33,7 +33,7 @@
{{- T "included" -}}
{{- range $index, $value := . -}}
{{- if gt $index 0 }} {{ end -}}
{{- $category := printf "/categories/%s" $value | $.Site.GetPage -}}
{{- $category := $value | anchorize | printf "/categories/%s" | $.Site.GetPage -}}
<a href="{{ $category.RelPermalink }}">
<i class="far fa-folder fa-fw"></i>{{ $category.Title }}
</a>
@@ -59,7 +59,7 @@
<i class="fas fa-tags fa-fw"></i>&nbsp;
{{- range $index, $value := . -}}
{{- if gt $index 0 }},&nbsp;{{ end -}}
{{- $tag := printf "/tags/%s" $value | $.Site.GetPage -}}
{{- $tag := $value | anchorize | printf "/tags/%s" | $.Site.GetPage -}}
<a href="{{ $tag.RelPermalink }}">{{ $tag.Title }}</a>
{{- end -}}
</div>