1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-12-03 04:18:57 -05:00

fix some AMP errors

This commit is contained in:
2021-03-17 08:25:36 -04:00
parent 1b1a6e3e1e
commit 6c3a2185ee
3 changed files with 5 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
<amp-iframe
layout="responsive"
width="{{ .Get "width" }}"
height="{{ .Get "height" }}"
src="{{ .Get "src" }}"
{{ with .Get "width" }}width="{{ . }}"{{ end }}
{{ with .Get "height" }}height="{{ . }}"{{ end }}
{{ with .Get "title" }}title="{{ . }}"{{ end }}
{{ with .Get "sandbox" }}sandbox="{{ . }}"{{ end }}>
</amp-iframe>