mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-12-01 20:50:34 +01:00
14 lines
673 B
HTML
14 lines
673 B
HTML
{{- $scratch := .Page.Scratch.Get "scratch" -}}
|
|
|
|
{{- if .IsNamedParams -}}
|
|
<meting-js server="{{ .Get "server" }}" type="{{ .Get "type" }}" id="{{ .Get "id" }}" theme="#A9A9B3"
|
|
{{- with .Get "autoplay" }} autoplay="{{ . }}"{{ end -}}
|
|
{{- with .Get "mini" }} mini="{{ . }}"{{ end -}}
|
|
{{- with .Get "fixed" }} fixed="{{ . }}"{{ end -}}
|
|
{{- with .Get "list-folded" }} list-folded="{{ . }}"{{ end -}}
|
|
{{- with .Get "list-max-height" }} list-max-height="{{ . }}"{{ end -}}
|
|
></meting-js>
|
|
{{- else -}}
|
|
<meting-js server="{{ .Get 0 }}" type="{{ .Get 1 }}" id="{{ .Get 2 }}" theme="#A9A9B3"></meting-js>
|
|
{{- end -}}
|
|
{{- $scratch.Set "music" true -}}
|