Website: v1.3.7 screenshots, WebP delivery, social card, skip link, idle API lookups

- Screenshots retaken from the v1.3.7 demo build (the old set still showed the
  pre-1.3.3 workout screen with its button rows). The five phone images are now
  served through <picture> as WebP at 600/1170 px with the PNG as fallback; the
  hero image is preloaded. website/build-images.sh produces img/ from assets/.
- og:image on every page is a 1200×630 card (assets/social.jpg) with width,
  height and alt; robots meta with max-image-preview:large; preconnect to the
  analytics host; SoftwareApplication JSON-LD carries version, dates,
  screenshots and a feature list.
- Every page starts with a Skip-to-content link and the content sits in
  <main id="main">; scroll reveals are also disabled for print.
- The GitHub and Discord counters wait for requestIdleCallback instead of
  racing the hero image. Cache-bust ?v=18. llms.txt names GitHub as the home.
- robots.txt, sitemap.xml and llms.txt now live in website/ so the site is
  fully regenerable from the repo.
This commit is contained in:
Duarte Santos committed 2026-09-13 13:13:02 +02:00
1 parent d7f0f0dbdb
commit 975c9f440b
18 files changed
+164 -44

No files matched your search

+11 -5
View File
@@ -6,20 +6,25 @@
<title>Docs — openGym</title>
<meta name="description" content="The complete openGym reference: every feature, installing on Android and iPhone, self-hosting with Docker, every .env setting, the AI Coach, importing from FitNotes/Strong/Hevy, backups, the MCP server, and how it's built.">
<meta name="theme-color" content="#000000">
<meta name="robots" content="index,follow,max-image-preview:large">
<link rel="preconnect" href="https://stats.duarte-santos.ch">
<meta property="og:title" content="openGym Docs — the complete reference">
<meta property="og:description" content="The complete openGym reference: every feature, self-hosting with Docker, every setting, the AI Coach, imports, backups, MCP, troubleshooting.">
<meta property="og:image" content="https://opengym.duarte-santos.ch/img/banner.png">
<meta property="og:image" content="https://opengym.duarte-santos.ch/img/social.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="openGym — your training, your data, your server. Two phones showing the home and workout screens.">
<meta property="og:url" content="https://opengym.duarte-santos.ch/docs.html">
<meta property="og:type" content="website">
<meta property="og:site_name" content="openGym">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="openGym Docs — the complete reference">
<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/banner.png">
<meta name="twitter:image" content="https://opengym.duarte-santos.ch/img/social.jpg">
<link rel="canonical" href="https://opengym.duarte-santos.ch/docs.html">
<link rel="icon" type="image/png" sizes="512x512" href="icon-512.png">
<link rel="icon" type="image/png" sizes="180x180" href="icon-180.png">
<link rel="apple-touch-icon" href="icon-180.png">
<link rel="stylesheet" href="styles.css?v=17">
<link rel="stylesheet" href="styles.css?v=18">
<script>document.documentElement.className += ' js'</script>
<!-- Umami web analytics for opengym.duarte-santos.ch (self-hosted, cookieless). -->
<script defer src="https://stats.duarte-santos.ch/script.js" data-website-id="db36019e-50f4-453c-9c56-d0588aefe233"></script>
@@ -28,6 +33,7 @@
</script>
</head>
<body class="topnav">
<a class="skip" href="#main">Skip to content</a>
<nav><div class="wrap nav-in">
<a class="brand" href="/">
@@ -174,7 +180,7 @@
<a class="side-link" href="about.html"><b>About</b><span>The story and the milestones</span></a>
</aside>
<main class="wrap prose">
<main id="main" class="wrap prose">
<h1>Docs</h1>
<p class="lead">The complete reference — every feature, every setting, every way to run
openGym. The same documents live
@@ -953,6 +959,6 @@ Leg Day,Leg Press,2026-08-21,200,1</code></pre>
</div>
</div></footer>
<script src="site.js?v=17" defer></script>
<script src="site.js?v=18" defer></script>
</body>
</html>