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

fix some CSP vs AMP errors

This commit is contained in:
2020-11-28 11:46:39 -05:00
parent aa2c1e60ea
commit 9f32e8ba3f
2 changed files with 5 additions and 4 deletions

View File

@@ -3,5 +3,6 @@
width="1200"
height="{{ with .Get "height" }}{{ . }}{{ else }}500{{ end }}"
scrolling="no"
src="https://codepen.io/{{ .Get "username" }}/embed/{{ .Get "id" }}/?theme-id=light&default-tab={{ .Get "left-tab" }}{{ with .Get "right-tab" }},{{ . }}{{ end }}">
src="https://codepen.io/{{ .Get "username" }}/embed/{{ .Get "id" }}/?theme-id=light&default-tab={{ .Get "left-tab" }}{{ with .Get "right-tab" }},{{ . }}{{ end }}"
sandbox="allow-scripts allow-same-origin allow-popups">
</amp-iframe>