hugo/tpl/tplimpl/embedded/templates/shortcodes/speakerdeck.html

4 lines
243 B
HTML
Raw Normal View History

{{- $pc := .Page.Site.Config.Privacy.SpeakerDeck -}}
{{- if not $pc.Disable -}}
<script async class='speakerdeck-embed' data-id='{{ index .Params 0 }}' data-ratio='1.33333333333333' src='//speakerdeck.com/assets/embed.js'></script>
{{- end -}}