docs: update zh-CN docs and fix some bugs

This commit is contained in:
Dillon
2020-03-10 03:33:28 +08:00
parent 426e24598d
commit fb9a9e7324
27 changed files with 159 additions and 227 deletions

View File

@@ -22,4 +22,4 @@
{{- .Set "iconfont" true -}}
{{- end -}}
{{- end -}}
<i class="{{ delimit $classList ` ` }}"></i>
<i class="{{ delimit $classList ` ` }}"></i>

View File

@@ -1,4 +1,4 @@
<a href="{{ .href | safeURL }}"{{ with .title }} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .href "http" }} target="_blank"{{ end }} rel="noopener noreffer{{ with .rel }} {{ . }}{{ end }}">
<a href="{{ .href | safeURL }}"{{ with .title }} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .href "http" }} target="_blank"{{ end }} rel="noopener noreffer{{ with .rel }} {{ . }}{{ end }}"{{ with .class }} class="{{ . }}"{{ end }}>
{{- with .icon -}}
{{- partial "plugin/icon.html" . -}}
{{- end -}}