cupper-hugo-theme/themes/infusion/layouts/shortcodes/jsBin.html

6 lines
294 B
HTML
Raw Normal View History

2017-07-26 16:53:09 +02:00
{{ if .IsNamedParams }}
<iframe src="https://jsbin.com/{{ .Get "id" }}/embed?{{ .Get "show" }}" title="JS Bin demo" height="300" width="100%"></iframe>
{{ else }}
<iframe src="https://jsbin.com/{{ .Get "id" }}/embed?output" title="JS Bin demo" height="300" width="100%"></iframe>
{{ end }}