itsdrike.com/layouts/shortcodes/iframe.html
2022-05-23 18:54:15 +02:00

11 lines
308 B
HTML

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