1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 23:35:31 -04:00

Google AMP support & switch to NPM builds (#14)

This commit is contained in:
2019-11-19 15:23:16 -05:00
committed by GitHub
parent d42a00247f
commit d6ad47c57b
30 changed files with 463 additions and 136 deletions

View File

@@ -0,0 +1,7 @@
<amp-iframe
layout="responsive"
width="1200"
height="{{ if .Get "height" }}{{ .Get "height" }}{{ else }}500{{ end }}"
scrolling="no"
src="https://codepen.io/{{ .Get "username" }}/embed/{{ .Get "id" }}/?height={{ if .Get "height" }}{{ .Get "height" }}{{ else }}500{{ end }}&amp;theme-id=light&amp;default-tab={{ .Get "left-tab" }}{{ if .Get "right-tab" }},{{ .Get "right-tab" }}{{ end }}">
</amp-iframe>