cupper-hugo-theme/themes/cupper/layouts/shortcodes/jsBin.html
2017-11-02 15:39:45 +00:00

6 lines
294 B
HTML

{{ 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 }}