From d8fe7b739c3c80ccf81723b0c5dd4909ef347cb0 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 15 May 2026 20:33:38 +0000 Subject: [PATCH 1/2] Footer: add subtle link to the GitHub repo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Footer now carries two text-links separated by an interpunct, the same separator the eyebrows use: adewale/pythonbyexample · Python 3.13 docs The owner/repo form is GitHub-native — readers who recognise the pattern know exactly where it goes — and the muted `.meta` colour + accent underline keeps it the same visual weight as the docs link beside it. No new chrome, no new CSS, no icons. The footer stays the conventional "about this site / external references" slot. 88 tests pass; SEO/cache lint clears 110 pages. --- src/asset_manifest.py | 2 +- src/templates/layout.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/asset_manifest.py b/src/asset_manifest.py index 8e4957e..5dd86db 100644 --- a/src/asset_manifest.py +++ b/src/asset_manifest.py @@ -1,3 +1,3 @@ # Generated by scripts/fingerprint_assets.py. Do not edit by hand. ASSET_PATHS = {'SITE_CSS': '/site.57a55415849b.css', 'SYNTAX_JS': '/syntax-highlight.3b6c7f730d46.js', 'EDITOR_JS': '/editor.a4a7766e1b9b.js'} -HTML_CACHE_VERSION = '3c5fd97f5b78' +HTML_CACHE_VERSION = '10cc24cb9cd8' diff --git a/src/templates/layout.html b/src/templates/layout.html index 883757a..15bfec8 100644 --- a/src/templates/layout.html +++ b/src/templates/layout.html @@ -23,6 +23,6 @@
__CONTENT__
- + From d1a498646d41ddf6b006300eba23bc03bb0f8253 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 15 May 2026 22:20:32 +0000 Subject: [PATCH 2/2] Footer: center the two text links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two left-aligned items felt visually unbalanced. Centering both keeps them equally weighted and reads as a single inline pair — the GitHub repo and Python docs cite each other rather than fighting for primacy. https://claude.ai/code/session_01MazwoRWAihW6dwso3fMCHE --- public/site.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/site.css b/public/site.css index ee3d941..1e24c4b 100644 --- a/public/site.css +++ b/public/site.css @@ -147,7 +147,7 @@ .example-top, .example-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; } .example-nav { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--hairline); } footer { margin-block: 2rem; color: var(--muted); } - .site-footer-note { font-size: .82rem; } + .site-footer-note { font-size: .82rem; text-align: center; } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 1ms !important; } } /* Cell banner: a figure attached to a cell renders in a banner row AFTER that cell, spanning the full content width. Cells always