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

fix some AMP errors

This commit is contained in:
Jake Jarvis 2021-03-17 08:25:36 -04:00
parent 1b1a6e3e1e
commit 6c3a2185ee
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
3 changed files with 5 additions and 7 deletions

View File

@ -4,7 +4,6 @@ date: 2020-04-22 10:50:04-0400
description: "An incredibly embarrassing and somewhat painful walkthrough of this site's long history..."
image: "images/2001_12.png"
layout: etc
amp: false
css: |
/*!
* Comic Neue typeface v2.5 - http://comicneue.com/
@ -35,7 +34,7 @@ css: |
div#content code {
font-size: 0.85em;
}
div#content iframe#y2k {
div#content iframe {
width: 100%;
height: 500px;
border: 2px solid #e3d18c;
@ -70,7 +69,7 @@ css: |
**🚨 Trigger warning:** marquees, Comic Sans MS, popup windows, <code>color: <span class="limegreen">limegreen</span></code>... [Click for the **_FULL_** experience anyway.](https://y2k.jarv.is/)
<figure>
<iframe id="y2k" src="https://jakejarvis.github.io/my-first-website/" title="My Terrible, Horrible, No Good, Very Bad First Website"></iframe>
{{< iframe src="https://jakejarvis.github.io/my-first-website/" width="850" height="500" title="My Terrible, Horrible, No Good, Very Bad First Website" >}}
<figcaption>
November 2001 (<a href="https://github.com/jakejarvis/my-first-website" target="_blank" rel="noopener">archived source</a>)
</figcaption>

View File

@ -5,7 +5,6 @@ url: /stats
layout: etc
sitemap:
changefreq: never
amp: false
css: |
div#content iframe {
display: block;
@ -21,4 +20,4 @@ This website uses [**Fathom Analytics**](https://usefathom.com/ref/ZEYG0O) to ta
In that case, why not share them? 😊 Pageviews for the past month are graphed below and more information (top pages, referrers, etc.) can be found [on a publicly-accessible dashboard](https://app.usefathom.com/share/ppsqzudy/jarv.is).
{{< iframe src="https://app.usefathom.com/share/ppsqzudy/jarv.is#/?range=last_7_days&site=49569" title="Fathom Analytics dashboard" width="100%" height="600" sandbox="allow-same-origin allow-scripts allow-popups" >}}
{{< iframe src="https://app.usefathom.com/share/ppsqzudy/jarv.is#/?range=last_7_days&site=49569" title="Fathom Analytics dashboard" width="850" height="600" sandbox="allow-same-origin allow-scripts allow-popups" >}}

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>