mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-18 22:05:29 -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>
|
1
layouts/shortcodes/iframe.atom.html
Symbolic link
1
layouts/shortcodes/iframe.atom.html
Symbolic link
@@ -0,0 +1 @@
|
||||
iframe.html
|
3
layouts/shortcodes/iframe.html
Normal file
3
layouts/shortcodes/iframe.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="embed iframe">
|
||||
<iframe src="{{ .Get "src" }}"></iframe>
|
||||
</div>
|
1
layouts/shortcodes/iframe.rss.html
Symbolic link
1
layouts/shortcodes/iframe.rss.html
Symbolic link
@@ -0,0 +1 @@
|
||||
iframe.html
|
Reference in New Issue
Block a user