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

4 lines
No EOL
242 B
HTML
Executable file

{{- $pc := .Page.Site.PrivacyConfig.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 -}}