fix(music): fix music shortcode
This commit is contained in:
@@ -70,6 +70,17 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.copyright {
|
||||||
|
.copyright-line {
|
||||||
|
.icp-splitter {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.icp-br {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.dynamic-to-top {
|
.dynamic-to-top {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,10 @@
|
|||||||
|
|
||||||
.copyright-line {
|
.copyright-line {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
.icp-br {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,15 +21,16 @@
|
|||||||
<span class="author" itemprop="copyrightHolder"> <a href="{{ $.Site.Author.link | default $.Site.BaseURL }}" target="_blank">{{ . }}</a></span>
|
<span class="author" itemprop="copyrightHolder"> <a href="{{ $.Site.Author.link | default $.Site.BaseURL }}" target="_blank">{{ . }}</a></span>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- /* ICP */ -}}
|
|
||||||
{{- with .Site.Params.icp -}}
|
|
||||||
| <span class="icp">{{ . | safeHTML }}</span>
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- /* License */ -}}
|
{{- /* License */ -}}
|
||||||
{{- with .Site.Params.license -}}
|
{{- with .Site.Params.license -}}
|
||||||
| <span class="license">{{ . | safeHTML }}</span>
|
| <span class="license">{{ . | safeHTML }}</span>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- /* ICP */ -}}
|
||||||
|
{{- with .Site.Params.icp -}}
|
||||||
|
<span class="icp-splitter"> | </span><br class="icp-br"/>
|
||||||
|
<span class="icp">{{ . | safeHTML }}</span>
|
||||||
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
@@ -1,22 +1,12 @@
|
|||||||
{{- .Page.Scratch.Set "music" "true" -}}
|
{{- .Page.Scratch.Set "music" "true" -}}
|
||||||
{{- if .IsNamedParams -}}
|
{{- if .IsNamedParams -}}
|
||||||
<meting-js server={{ .Get "server" }} type={{ .Get "type" }} id={{ .Get "id" }}
|
<meting-js server="{{ .Get "server" }}" type="{{ .Get "type" }}" id="{{ .Get "id" }}" theme="#A9A9B3"
|
||||||
{{- with .Get "autoplay" -}}
|
{{- with .Get "autoplay" }} autoplay="{{ . }}"{{ end -}}
|
||||||
autoplay={{ . }}
|
{{- with .Get "mini" }} mini="{{ . }}"{{ end -}}
|
||||||
{{- end -}}
|
{{- with .Get "fixed" }} fixed="{{ . }}"{{ end -}}
|
||||||
{{- with .Get "mini" -}}
|
{{- with .Get "list-folded" }} list-folded="{{ . }}"{{ end -}}
|
||||||
mini={{ . }}
|
{{- with .Get "list-max-height" }} list-max-height="{{ . }}"{{ end -}}
|
||||||
{{- end -}}
|
></meting-js>
|
||||||
{{- with .Get "fixed" -}}
|
|
||||||
fixed={{ . }}
|
|
||||||
{{- end -}}
|
|
||||||
{{- with .Get "list-folded" -}}
|
|
||||||
list-folded={{ . }}
|
|
||||||
{{- end -}}
|
|
||||||
{{- with .Get "list-max-height" -}}
|
|
||||||
list-max-height={{ . }}
|
|
||||||
{{- end -}}
|
|
||||||
theme="#A9A9B3"></meting-js>
|
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
<meting-js server={{ .Get 0 }} type={{ .Get 1 }} id={{ .Get 2 }} theme="#A9A9B3"></meting-js>></meting-js>
|
<meting-js server="{{ .Get 0 }}" type="{{ .Get 1 }}" id="{{ .Get 2 }}" theme="#A9A9B3"></meting-js>
|
||||||
{{- end }}
|
{{- end -}}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user