add format and music shortcode
This commit is contained in:
3
layouts/shortcodes/align-center.html
Normal file
3
layouts/shortcodes/align-center.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class='align-center'>
|
||||
{{ .Inner }}
|
||||
</div>
|
||||
3
layouts/shortcodes/align-left.html
Normal file
3
layouts/shortcodes/align-left.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class='align-left'>
|
||||
{{ .Inner }}
|
||||
</div>
|
||||
3
layouts/shortcodes/align-right.html
Normal file
3
layouts/shortcodes/align-right.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class='align-right'>
|
||||
{{ .Inner }}
|
||||
</div>
|
||||
3
layouts/shortcodes/float-right.html
Normal file
3
layouts/shortcodes/float-right.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class='float-right'>
|
||||
{{ .Inner }}
|
||||
</div>
|
||||
21
layouts/shortcodes/music.html
Normal file
21
layouts/shortcodes/music.html
Normal file
@@ -0,0 +1,21 @@
|
||||
{{ if .IsNamedParams }}
|
||||
<meting-js server={{ .Get "server" }} type={{ .Get "type" }} id={{ .Get "id" }}
|
||||
{{ 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 }}
|
||||
theme="#A9A9B3"></meting-js>
|
||||
{{ else }}
|
||||
<meting-js server={{ .Get 0 }} type={{ .Get 1 }} id={{ .Get 2 }} theme="#A9A9B3"></meting-js>></meting-js>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user