mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-03 15:16:40 -04:00
iframe shortcode for valid AMP
This commit is contained in:
7
layouts/shortcodes/iframe.amp.html
Normal file
7
layouts/shortcodes/iframe.amp.html
Normal file
@ -0,0 +1,7 @@
|
||||
<amp-iframe
|
||||
sandbox="allow-scripts allow-same-origin"
|
||||
layout="responsive"
|
||||
width="{{ .Get "width" }}"
|
||||
height="{{ .Get "height" }}"
|
||||
src="{{ .Get "src" }}">
|
||||
</amp-iframe>
|
Reference in New Issue
Block a user