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

6 lines
294 B
HTML
Raw Normal View History

2017-11-02 16:39:45 +01: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 }}