chore(style): update code style

This commit is contained in:
Dillon
2020-01-31 22:53:04 +08:00
parent 344f0a9f41
commit 2a7611b5ae
36 changed files with 1204 additions and 970 deletions

View File

@@ -1,22 +1,22 @@
{{ .Page.Scratch.Set "music" "true" -}}
{{ if .IsNamedParams }}
{{- .Page.Scratch.Set "music" "true" -}}
{{- if .IsNamedParams -}}
<meting-js server={{ .Get "server" }} type={{ .Get "type" }} id={{ .Get "id" }}
{{ with .Get "autoplay" }}
{{- with .Get "autoplay" -}}
autoplay={{ . }}
{{ end }}
{{ with .Get "mini" }}
{{- end -}}
{{- with .Get "mini" -}}
mini={{ . }}
{{ end }}
{{ with .Get "fixed" }}
{{- end -}}
{{- with .Get "fixed" -}}
fixed={{ . }}
{{ end }}
{{ with .Get "list-folded" }}
{{- end -}}
{{- with .Get "list-folded" -}}
list-folded={{ . }}
{{ end }}
{{ with .Get "list-max-height" }}
{{- end -}}
{{- with .Get "list-max-height" -}}
list-max-height={{ . }}
{{ end }}
{{- end -}}
theme="#A9A9B3"></meting-js>
{{ else }}
{{- else -}}
<meting-js server={{ .Get 0 }} type={{ .Get 1 }} id={{ .Get 2 }} theme="#A9A9B3"></meting-js>></meting-js>
{{ end }}
{{- end }}