feat(countdown): add style para for countdown shortcode

This commit is contained in:
Dillon 2020-01-30 00:54:03 +08:00
parent 14045099f0
commit 6736670d10

View file

@ -8,5 +8,5 @@
{{ else -}}
{{ .Page.Scratch.Set "countdownMap" $new -}}
{{ end -}}
<div id="{{ $id }}"></div>
<div id="{{ $id }}" style={{ .Get "style" | safeCSS }}></div>
{{ end -}}