feat(social): add bilibili social config

This commit is contained in:
Dillon
2020-02-17 21:31:53 +08:00
parent 933e32c4e4
commit edc53d7cd1
11 changed files with 1141 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
{{- $type := index . "type" | default "fa" }}
{{- $classList := split (index . "class") " " }}
{{- $scratch := index . "scratch" }}
{{- $type := index . "type" | default "fa" -}}
{{- $classList := split (index . "class") " " -}}
{{- $scratch := index . "scratch" -}}
{{- /* Font Awesome */ -}}
{{- if eq $type "fa" -}}
<i class="{{ delimit $classList ` ` }}"></i>
@@ -18,6 +18,6 @@
{{- $scratch.Set "forkawesome" true -}}
{{- /* Others */ -}}
{{- else -}}
<span class="{{ delimit $classList ` ` }}"></span>
<i class="{{ delimit $classList ` ` }}"></i>
{{- $scratch.Set "iconfont" true -}}
{{- end -}}