1
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:
2020-04-30 07:53:08 -04:00
parent 6854129108
commit 35bfbb517c
5 changed files with 15 additions and 3 deletions

View 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>