itsdrike.com/layouts/shortcodes/iframe.html

11 lines
308 B
HTML
Raw Normal View History

2022-05-23 16:54:15 +00:00
{{ if .Inner }}
<figure>
<iframe src='{{ .Get "src" }}' class='{{ .Get "class" }}'></iframe>
<figcaption>
<small>{{ .Inner }} <a href='{{ .Get "src" }}'>View Full</a></small>
</figcaption>
</figure>
{{ else }}
<iframe src='{{ .Get "src" }}' class='{{ .Get "class" }}'></iframe>
{{ end }}