1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 15:45:33 -04:00

bring AMP pages up to par with real layout

This commit is contained in:
2020-05-01 23:54:02 -04:00
parent 5e51b3a7ac
commit 29320aa86f
4 changed files with 58 additions and 33 deletions

View File

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