mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-12-03 04:18:57 -05:00
bring AMP pages up to par with real layout
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<amp-iframe
|
||||
sandbox="allow-scripts allow-same-origin"
|
||||
sandbox="allow-scripts allow-same-origin allow-popups"
|
||||
layout="responsive"
|
||||
width="{{ .Get "width" }}"
|
||||
height="{{ .Get "height" }}"
|
||||
src="{{ .Get "src" }}">
|
||||
src="{{ .Get "src" }}"
|
||||
{{ with .Get "title" }}title="{{ . }}"{{ end }}>
|
||||
</amp-iframe>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<div class="embed iframe">
|
||||
<iframe src="{{ .Get "src" }}"></iframe>
|
||||
<iframe src="{{ .Get "src" }}" {{ with .Get "title" }}title="{{ . }}"{{ end }}></iframe>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user